1
2 package hoplugins.teamAnalyzer.vo;
3
4 import plugins.IMatchLineupPlayer;
5
6
7 /***
8 * This is a wrapper around IMatchLineupPlayer
9 *
10 * @author <a href=mailto:draghetto@users.sourceforge.net>Massimiliano Amato</a>
11 */
12 public class PlayerPerformance {
13
14
15 /*** Wrapped object */
16 private IMatchLineupPlayer mlp;
17
18 /*** Status of the player on the team. injured, sold etc */
19 private int status;
20
21
22
23 /***
24 * Creates a new PlayerPerformance object around the loaded from HO
25 *
26 * @param _mlp The IMatchLineupPlayer object to be wrapped
27 */
28 public PlayerPerformance(IMatchLineupPlayer _mlp) {
29 mlp = _mlp;
30 }
31
32
33
34 /***
35 * Document Me!
36 *
37 * @return
38 */
39 public int getId() {
40 return mlp.getId();
41 }
42
43 /***
44 * Document Me!
45 *
46 * @return
47 */
48 public String getNickName() {
49 return mlp.getNickName();
50 }
51
52 /***
53 * Document Me!
54 *
55 * @return
56 */
57 public byte getPosition() {
58 return mlp.getPosition();
59 }
60
61 /***
62 * Document Me!
63 *
64 * @return
65 */
66 public int getPositionCode() {
67 return mlp.getPositionCode();
68 }
69
70 /***
71 * Document Me!
72 *
73 * @return
74 */
75 public double getRating() {
76 return mlp.getRating();
77 }
78
79 /***
80 * Document Me!
81 *
82 * @return
83 */
84 public int getSortId() {
85 return mlp.getSortId();
86 }
87
88 /***
89 * Document Me!
90 *
91 * @return
92 */
93 public int getSpielerId() {
94 return mlp.getSpielerId();
95 }
96
97 /***
98 * Document Me!
99 *
100 * @return
101 */
102 public String getSpielerName() {
103 return mlp.getSpielerName();
104 }
105
106 /***
107 * Document Me!
108 *
109 * @return
110 */
111 public String getSpielerVName() {
112 return mlp.getSpielerVName();
113 }
114
115 /***
116 * TODO Missing Method Documentation
117 *
118 * @param i TODO Missing Method Parameter Documentation
119 */
120 public void setStatus(int i) {
121 status = i;
122 }
123
124 /***
125 * DOCUMENT ME!
126 *
127 * @return TODO Missing Return Method Documentation
128 */
129 public int getStatus() {
130 return status;
131 }
132
133 /***
134 * Document Me!
135 *
136 * @return
137 */
138 public byte getTaktik() {
139 return mlp.getTaktik();
140 }
141 }