View Javadoc

1   // %2690198073:hoplugins.teamAnalyzer.vo%
2   package hoplugins.teamAnalyzer.vo;
3   
4   import hoplugins.teamAnalyzer.manager.PlayerDataManager;
5   
6   
7   /***
8    * TODO Missing Class Documentation
9    *
10   * @author TODO Author Name
11   */
12  public class PlayerInfo {
13      //~ Instance fields ----------------------------------------------------------------------------
14  
15      /*** TODO Missing Parameter Documentation */
16      String name = "";
17  
18      /*** TODO Missing Parameter Documentation */
19      int age;
20  
21      /*** TODO Missing Parameter Documentation */
22      int experience;
23  
24      /*** TODO Missing Parameter Documentation */
25      int form;
26  
27      /*** TODO Missing Parameter Documentation */
28      int playerId;
29  
30      /*** TODO Missing Parameter Documentation */
31      int specialEvent;
32  
33      /*** TODO Missing Parameter Documentation */
34      int status = PlayerDataManager.SOLD;
35  
36      /*** TODO Missing Parameter Documentation */
37      int tSI;
38  
39      /*** TODO Missing Parameter Documentation */
40      int teamId;
41  
42      //~ Methods ------------------------------------------------------------------------------------
43  
44      /***
45       * TODO Missing Method Documentation
46       *
47       * @param i TODO Missing Method Parameter Documentation
48       */
49      public void setAge(int i) {
50          age = i;
51      }
52  
53      /***
54       * TODO Missing Method Documentation
55       *
56       * @return TODO Missing Return Method Documentation
57       */
58      public int getAge() {
59          return age;
60      }
61  
62      /***
63       * TODO Missing Method Documentation
64       *
65       * @param i TODO Missing Method Parameter Documentation
66       */
67      public void setExperience(int i) {
68          experience = i;
69      }
70  
71      /***
72       * TODO Missing Method Documentation
73       *
74       * @return TODO Missing Return Method Documentation
75       */
76      public int getExperience() {
77          return experience;
78      }
79  
80      /***
81       * TODO Missing Method Documentation
82       *
83       * @param i TODO Missing Method Parameter Documentation
84       */
85      public void setForm(int i) {
86          form = i;
87      }
88  
89      /***
90       * TODO Missing Method Documentation
91       *
92       * @return TODO Missing Return Method Documentation
93       */
94      public int getForm() {
95          return form;
96      }
97  
98      /***
99       * TODO Missing Method Documentation
100      *
101      * @param string TODO Missing Method Parameter Documentation
102      */
103     public void setName(String string) {
104         name = string;
105     }
106 
107     /***
108      * TODO Missing Method Documentation
109      *
110      * @return TODO Missing Return Method Documentation
111      */
112     public String getName() {
113         return name;
114     }
115 
116     /***
117      * TODO Missing Method Documentation
118      *
119      * @param i TODO Missing Method Parameter Documentation
120      */
121     public void setPlayerId(int i) {
122         playerId = i;
123     }
124 
125     /***
126      * TODO Missing Method Documentation
127      *
128      * @return TODO Missing Return Method Documentation
129      */
130     public int getPlayerId() {
131         return playerId;
132     }
133 
134     /***
135      * TODO Missing Method Documentation
136      *
137      * @param i TODO Missing Method Parameter Documentation
138      */
139     public void setSpecialEvent(int i) {
140         specialEvent = i;
141     }
142 
143     /***
144      * TODO Missing Method Documentation
145      *
146      * @return TODO Missing Return Method Documentation
147      */
148     public int getSpecialEvent() {
149         return specialEvent;
150     }
151 
152     /***
153      * TODO Missing Method Documentation
154      *
155      * @param i TODO Missing Method Parameter Documentation
156      */
157     public void setStatus(int i) {
158         status = i;
159     }
160 
161     /***
162      * TODO Missing Method Documentation
163      *
164      * @return TODO Missing Return Method Documentation
165      */
166     public int getStatus() {
167         return status;
168     }
169 
170     /***
171      * TODO Missing Method Documentation
172      *
173      * @param i TODO Missing Method Parameter Documentation
174      */
175     public void setTSI(int i) {
176         tSI = i;
177     }
178 
179     /***
180      * TODO Missing Method Documentation
181      *
182      * @return TODO Missing Return Method Documentation
183      */
184     public int getTSI() {
185         return tSI;
186     }
187 
188     /***
189      * TODO Missing Method Documentation
190      *
191      * @param i TODO Missing Method Parameter Documentation
192      */
193     public void setTeamId(int i) {
194         teamId = i;
195     }
196 
197     /***
198      * TODO Missing Method Documentation
199      *
200      * @return TODO Missing Return Method Documentation
201      */
202     public int getTeamId() {
203         return teamId;
204     }
205 
206     /***
207      * toString methode: creates a String representation of the object
208      *
209      * @return the String representation
210      */
211     public String toString() {
212         StringBuffer buffer = new StringBuffer();
213         buffer.append("PlayerInfo[");
214         buffer.append("name = " + name);
215         buffer.append(", age = " + age);
216         buffer.append(", experience = " + experience);
217         buffer.append(", form = " + form);
218         buffer.append(", playerId = " + playerId);
219         buffer.append(", specialEvent = " + specialEvent);
220         buffer.append(", status = " + status);
221         buffer.append(", tSI = " + tSI);
222         buffer.append(", teamId = " + teamId);
223         buffer.append("]");
224         return buffer.toString();
225     }
226 }