File Source: ParsedTabItem.java

         /* 
    P/P   *  Method: org.apache.roller.weblogger.ui.core.util.menu.ParsedTabItem__static_init
          */
     1  /*
     2   * Licensed to the Apache Software Foundation (ASF) under one or more
     3   *  contributor license agreements.  The ASF licenses this file to You
     4   * under the Apache License, Version 2.0 (the "License"); you may not
     5   * use this file except in compliance with the License.
     6   * You may obtain a copy of the License at
     7   *
     8   *     http://www.apache.org/licenses/LICENSE-2.0
     9   *
    10   * Unless required by applicable law or agreed to in writing, software
    11   * distributed under the License is distributed on an "AS IS" BASIS,
    12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13   * See the License for the specific language governing permissions and
    14   * limitations under the License.  For additional information regarding
    15   * copyright in this work, please see the NOTICE file in the top level
    16   * directory of this distribution.
    17   */
    18  
    19  package org.apache.roller.weblogger.ui.core.util.menu;
    20  
    21  
    22  /**
    23   * A parsed "tab-item" from an xml defined menu config.
    24   */
         /* 
    P/P   *  Method: void org.apache.roller.weblogger.ui.core.util.menu.ParsedTabItem()
          * 
          *  Postconditions:
          *    this.action == null
          *    this.disabledProperty == null
          *    this.enabledProperty == null
          *    this.name == null
          *    this.perm == null
          *    this.role == null
          *    this.subActions == null
          */
    25  public class ParsedTabItem {
    26      
    27      private String name = null;
    28      private String action = null;
    29      private String[] subActions = null;
    30      private String perm = null;
    31      private String role = null;
    32      private String enabledProperty = null;
    33      private String disabledProperty = null;
    34      
    35      
    36      public String getName() {
                 /* 
    P/P           *  Method: String getName()
                  * 
                  *  Preconditions:
                  *    init'ed(this.name)
                  * 
                  *  Postconditions:
                  *    return_value == this.name
                  *    init'ed(return_value)
                  */
    37          return name;
    38      }
    39  
    40      public void setName(String name) {
                 /* 
    P/P           *  Method: void setName(String)
                  * 
                  *  Postconditions:
                  *    this.name == name
                  *    init'ed(this.name)
                  */
    41          this.name = name;
    42      }
    43  
    44      public String getAction() {
                 /* 
    P/P           *  Method: String getAction()
                  * 
                  *  Preconditions:
                  *    init'ed(this.action)
                  * 
                  *  Postconditions:
                  *    return_value == this.action
                  *    init'ed(return_value)
                  */
    45          return action;
    46      }
    47  
    48      public void setAction(String action) {
                 /* 
    P/P           *  Method: void setAction(String)
                  * 
                  *  Postconditions:
                  *    this.action == action
                  *    init'ed(this.action)
                  */
    49          this.action = action;
    50      }
    51  
    52      public String[] getSubActions() {
                 /* 
    P/P           *  Method: String[] getSubActions()
                  * 
                  *  Preconditions:
                  *    init'ed(this.subActions)
                  * 
                  *  Postconditions:
                  *    return_value == this.subActions
                  *    init'ed(return_value)
                  */
    53          return subActions;
    54      }
    55  
    56      public void setSubActions(String[] subActions) {
                 /* 
    P/P           *  Method: void setSubActions(String[])
                  * 
                  *  Postconditions:
                  *    this.subActions == subActions
                  *    init'ed(this.subActions)
                  */
    57          this.subActions = subActions;
    58      }
    59  
    60      public String getPerm() {
                 /* 
    P/P           *  Method: String getPerm()
                  * 
                  *  Preconditions:
                  *    init'ed(this.perm)
                  * 
                  *  Postconditions:
                  *    return_value == this.perm
                  *    init'ed(return_value)
                  */
    61          return perm;
    62      }
    63  
    64      public void setPerm(String perm) {
                 /* 
    P/P           *  Method: void setPerm(String)
                  * 
                  *  Postconditions:
                  *    this.perm == perm
                  *    init'ed(this.perm)
                  */
    65          this.perm = perm;
    66      }
    67  
    68      public String getRole() {
                 /* 
    P/P           *  Method: String getRole()
                  * 
                  *  Preconditions:
                  *    init'ed(this.role)
                  * 
                  *  Postconditions:
                  *    return_value == this.role
                  *    init'ed(return_value)
                  */
    69          return role;
    70      }
    71  
    72      public void setRole(String role) {
                 /* 
    P/P           *  Method: void setRole(String)
                  * 
                  *  Postconditions:
                  *    this.role == role
                  *    init'ed(this.role)
                  */
    73          this.role = role;
    74      }
    75  
    76      public String getEnabledProperty() {
                 /* 
    P/P           *  Method: String getEnabledProperty()
                  * 
                  *  Preconditions:
                  *    init'ed(this.enabledProperty)
                  * 
                  *  Postconditions:
                  *    return_value == this.enabledProperty
                  *    init'ed(return_value)
                  */
    77          return enabledProperty;
    78      }
    79  
    80      public void setEnabledProperty(String enabledProperty) {
                 /* 
    P/P           *  Method: void setEnabledProperty(String)
                  * 
                  *  Postconditions:
                  *    this.enabledProperty == enabledProperty
                  *    init'ed(this.enabledProperty)
                  */
    81          this.enabledProperty = enabledProperty;
    82      }
    83  
    84      public String getDisabledProperty() {
                 /* 
    P/P           *  Method: String getDisabledProperty()
                  * 
                  *  Preconditions:
                  *    init'ed(this.disabledProperty)
                  * 
                  *  Postconditions:
                  *    return_value == this.disabledProperty
                  *    init'ed(return_value)
                  */
    85          return disabledProperty;
    86      }
    87  
    88      public void setDisabledProperty(String disabledProperty) {
                 /* 
    P/P           *  Method: void setDisabledProperty(String)
                  * 
                  *  Postconditions:
                  *    this.disabledProperty == disabledProperty
                  *    init'ed(this.disabledProperty)
                  */
    89          this.disabledProperty = disabledProperty;
    90      }
    91      
    92  }








SofCheck Inspector Build Version : 2.18479
ParsedTabItem.java 2009-Jan-02 14:25:42
ParsedTabItem.class 2009-Sep-04 03:12:44