File Source: PlanetGroupsBean.java

         /* 
    P/P   *  Method: org.apache.roller.weblogger.planet.ui.PlanetGroupsBean__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.planet.ui;
    20  
    21  import org.apache.roller.planet.pojos.PlanetGroup;
    22  
    23  
    24  /**
    25   * A simple bean for managing the form data used by the PlanetGroups.
    26   */
         /* 
    P/P   *  Method: void org.apache.roller.weblogger.planet.ui.PlanetGroupsBean()
          * 
          *  Postconditions:
          *    this.handle == null
          *    this.id == null
          *    this.title == null
          */
    27  public class PlanetGroupsBean {
    28      
    29      private String id = null;
    30      private String title = null;
    31      private String handle = null;
    32      
    33      
    34      public String getId() {
                 /* 
    P/P           *  Method: String getId()
                  * 
                  *  Preconditions:
                  *    init'ed(this.id)
                  * 
                  *  Postconditions:
                  *    return_value == this.id
                  *    init'ed(return_value)
                  */
    35          return id;
    36      }
    37  
    38      public void setId(String id) {
                 /* 
    P/P           *  Method: void setId(String)
                  * 
                  *  Postconditions:
                  *    this.id == id
                  *    init'ed(this.id)
                  */
    39          this.id = id;
    40      }
    41  
    42      public String getTitle() {
                 /* 
    P/P           *  Method: String getTitle()
                  * 
                  *  Preconditions:
                  *    init'ed(this.title)
                  * 
                  *  Postconditions:
                  *    return_value == this.title
                  *    init'ed(return_value)
                  */
    43          return title;
    44      }
    45  
    46      public void setTitle(String title) {
                 /* 
    P/P           *  Method: void setTitle(String)
                  * 
                  *  Postconditions:
                  *    this.title == title
                  *    init'ed(this.title)
                  */
    47          this.title = title;
    48      }
    49  
    50      public String getHandle() {
                 /* 
    P/P           *  Method: String getHandle()
                  * 
                  *  Preconditions:
                  *    init'ed(this.handle)
                  * 
                  *  Postconditions:
                  *    return_value == this.handle
                  *    init'ed(return_value)
                  */
    51          return handle;
    52      }
    53  
    54      public void setHandle(String handle) {
                 /* 
    P/P           *  Method: void setHandle(String)
                  * 
                  *  Postconditions:
                  *    this.handle == handle
                  *    init'ed(this.handle)
                  */
    55          this.handle = handle;
    56      }
    57      
    58      
    59      public void copyTo(PlanetGroup dataHolder) {
    60          
                 /* 
    P/P           *  Method: void copyTo(PlanetGroup)
                  * 
                  *  Preconditions:
                  *    dataHolder != null
                  *    init'ed(this.handle)
                  *    init'ed(this.title)
                  */
    61          dataHolder.setTitle(getTitle());
    62          dataHolder.setHandle(getHandle());
    63      }
    64      
    65      
    66      public void copyFrom(PlanetGroup dataHolder) {
    67          
                 /* 
    P/P           *  Method: void copyFrom(PlanetGroup)
                  * 
                  *  Preconditions:
                  *    dataHolder != null
                  * 
                  *  Postconditions:
                  *    init'ed(this.handle)
                  *    init'ed(this.id)
                  *    init'ed(this.title)
                  */
    68          setId(dataHolder.getId());
    69          setTitle(dataHolder.getTitle());
    70          setHandle(dataHolder.getHandle());
    71      }
    72      
    73  }








SofCheck Inspector Build Version : 2.18479
PlanetGroupsBean.java 2009-Jan-02 14:24:56
PlanetGroupsBean.class 2009-Sep-04 03:12:44