Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/fencedb/base/Club.java


1   
2   package org.fencedb.base;
3   
4   /**
5    *  Description of the Class
6    *
7    * @author  vico
8    * @created  June 5, 2003
9    */
10  public class Club extends BaseObject
11  {
12  
13      private String name;
14      private String shortName;
15  
16  
17      /**
18       *Constructor for the Club object
19       */
20      public Club()
21      {
22      }
23  
24  
25      /**
26       *Constructor for the Club object
27       *
28       * @param  name Description of the Parameter
29       */
30      public Club(String name)
31      {
32          this.setName(name);
33          this.setShortName(shortName);
34      }
35  
36  
37      /**
38       *  Sets the name attribute of the Club object
39       *
40       * @param  name The new name value
41       */
42      public void setName(String name)
43      {
44          this.name = name;
45      }
46  
47  
48      /**
49       *  Sets the shortName attribute of the Club object
50       *
51       * @param  shortName The new shortName value
52       */
53      public void setShortName(String shortName)
54      {
55          this.shortName = shortName;
56      }
57  
58  
59      /**
60       *  Gets the name attribute of the Club object
61       *
62       * @return  The name value
63       */
64      public String getName()
65      {
66          return name;
67      }
68  
69  
70      /**
71       *  Gets the shortName attribute of the Club object
72       *
73       * @return  The shortName value
74       */
75      public String getShortName()
76      {
77          return shortName;
78      }
79  
80  
81      /**
82       *  Description of the Method
83       *
84       * @return  Description of the Return Value
85       */
86      public String toString()
87      {
88          return "<" + Club.class.getName() + ">: name : " + getName() + ": baseId :" + getBaseId();
89      }
90  
91  }
92