KickJava   Java API By Example, From Geeks To Geeks.

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


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

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

13 public class Personne
14 {
15   private int id;
16   private String JavaDoc lastname;
17   private String JavaDoc firstname;
18   private String JavaDoc nation;
19   private Calendar JavaDoc birth;
20   private Vehicle vehicle;
21   /**
22    * @return Returns the birth.
23    */

24   public Calendar JavaDoc getBirth()
25   {
26     return birth;
27   }
28   /**
29    * @param birth The birth to set.
30    */

31   public void setBirth(Calendar JavaDoc birth)
32   {
33     this.birth = birth;
34   }
35   /**
36    * @return Returns the firstname.
37    */

38   public String JavaDoc getFirstname()
39   {
40     return firstname;
41   }
42   /**
43    * @param firstname The firstname to set.
44    */

45   public void setFirstname(String JavaDoc firstname)
46   {
47     this.firstname = firstname;
48   }
49   /**
50    * @return Returns the id.
51    */

52   public int getId()
53   {
54     return id;
55   }
56   /**
57    * @param id The id to set.
58    */

59   public void setId(int id)
60   {
61     this.id = id;
62   }
63   /**
64    * @return Returns the lastname.
65    */

66   public String JavaDoc getLastname()
67   {
68     return lastname;
69   }
70   /**
71    * @param lastname The lastname to set.
72    */

73   public void setLastname(String JavaDoc lastname)
74   {
75     this.lastname = lastname;
76   }
77   /**
78    * @return Returns the nation.
79    */

80   public String JavaDoc getNation()
81   {
82     return nation;
83   }
84   /**
85    * @param nation The nation to set.
86    */

87   public void setNation(String JavaDoc nation)
88   {
89     this.nation = nation;
90   }
91   /**
92    * @return Returns the vehicle.
93    */

94   public Vehicle getVehicle()
95   {
96     return vehicle;
97   }
98   /**
99    * @param vehicle The vehicle to set.
100    */

101   public void setVehicle(Vehicle vehicle)
102   {
103     this.vehicle = vehicle;
104   }
105 }
106
Popular Tags