KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > speedo > pobjects > unilog > Competition


1 /*
2  * Created on 17 nov. 2004
3  *
4  */

5 package org.objectweb.speedo.pobjects.unilog;
6
7 import java.util.Collection JavaDoc;
8
9 /**
10  * @author unilog31
11  */

12 public class Competition
13 {
14   private int id;
15   private String JavaDoc name;
16   private int specialLength;
17   private long dateStart;
18   private int dateFinish;
19   private int liaison1Length;
20   private int liaison2Length;
21   private Collection JavaDoc checkpoints;
22   private Collection JavaDoc vehicules;
23   
24   /**
25    * @return Returns the liaison1Length.
26    */

27   public int getLiaison1Length()
28   {
29     return liaison1Length;
30   }
31   /**
32    * @param liaison1Length The liaison1Length to set.
33    */

34   public void setLiaison1Length(int liaison1Length)
35   {
36     this.liaison1Length = liaison1Length;
37   }
38   /**
39    * @return Returns the liaison2Length.
40    */

41   public int getLiaison2Length()
42   {
43     return liaison2Length;
44   }
45   /**
46    * @param liaison2Length The liaison2Length to set.
47    */

48   public void setLiaison2Length(int liaison2Length)
49   {
50     this.liaison2Length = liaison2Length;
51   }
52   /**
53    * @return Returns the name.
54    */

55   public String JavaDoc getName()
56   {
57     return name;
58   }
59   /**
60    * @param name The name to set.
61    */

62   public void setName(String JavaDoc name)
63   {
64     this.name = name;
65   }
66   /**
67    * @return Returns the specialLength.
68    */

69   public int getSpecialLength()
70   {
71     return specialLength;
72   }
73   /**
74    * @param specialLength The specialLength to set.
75    */

76   public void setSpecialLength(int specialLength)
77   {
78     this.specialLength = specialLength;
79   }
80   /**
81    * @return Returns the vehicules.
82    */

83   public Collection JavaDoc getVehicules()
84   {
85     return vehicules;
86   }
87   /**
88    * @param vehicules The vehicules to set.
89    */

90   public void setVehicules(Collection JavaDoc vehiculeCompetitions)
91   {
92     this.vehicules = vehiculeCompetitions;
93   }
94 }
95
Popular Tags