01: /*
02: * Created on 17 nov. 2004
03: *
04: */
05: package org.objectweb.speedo.pobjects.unilog;
06:
07: import java.util.Collection;
08:
09: /**
10: * @author unilog31
11: */
12: public class Competition {
13: private int id;
14: private String name;
15: private int specialLength;
16: private long dateStart;
17: private int dateFinish;
18: private int liaison1Length;
19: private int liaison2Length;
20: private Collection checkpoints;
21: private Collection vehicules;
22:
23: /**
24: * @return Returns the liaison1Length.
25: */
26: public int getLiaison1Length() {
27: return liaison1Length;
28: }
29:
30: /**
31: * @param liaison1Length The liaison1Length to set.
32: */
33: public void setLiaison1Length(int liaison1Length) {
34: this .liaison1Length = liaison1Length;
35: }
36:
37: /**
38: * @return Returns the liaison2Length.
39: */
40: public int getLiaison2Length() {
41: return liaison2Length;
42: }
43:
44: /**
45: * @param liaison2Length The liaison2Length to set.
46: */
47: public void setLiaison2Length(int liaison2Length) {
48: this .liaison2Length = liaison2Length;
49: }
50:
51: /**
52: * @return Returns the name.
53: */
54: public String getName() {
55: return name;
56: }
57:
58: /**
59: * @param name The name to set.
60: */
61: public void setName(String name) {
62: this .name = name;
63: }
64:
65: /**
66: * @return Returns the specialLength.
67: */
68: public int getSpecialLength() {
69: return specialLength;
70: }
71:
72: /**
73: * @param specialLength The specialLength to set.
74: */
75: public void setSpecialLength(int specialLength) {
76: this .specialLength = specialLength;
77: }
78:
79: /**
80: * @return Returns the vehicules.
81: */
82: public Collection getVehicules() {
83: return vehicules;
84: }
85:
86: /**
87: * @param vehicules The vehicules to set.
88: */
89: public void setVehicules(Collection vehiculeCompetitions) {
90: this.vehicules = vehiculeCompetitions;
91: }
92: }
|