KickJava   Java API By Example, From Geeks To Geeks.

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


1 /**
2  * Speedo: an implementation of JDO compliant personality on top of JORM generic
3  * I/O sub-system.
4  * Copyright (C) 2001-2005 France Telecom R&D
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  *
20  *
21  *
22  * Contact: speedo@objectweb.org
23  *
24  * Authors: S. Chassande-Barrioz
25  *
26  */

27 package org.objectweb.speedo.pobjects.unilog;
28
29 import java.util.Collection JavaDoc;
30
31 /**
32  * @author unilog31
33  */

34 public class Team
35 {
36   int id;
37   String JavaDoc name;
38   String JavaDoc login;
39   String JavaDoc password;
40   Collection JavaDoc vehicles;
41   /**
42    * @return Returns the id.
43    */

44   public int getId()
45   {
46     return id;
47   }
48   /**
49    * @param id The id to set.
50    */

51   public void setId(int id)
52   {
53     this.id = id;
54   }
55   /**
56    * @return Returns the login.
57    */

58   public String JavaDoc getLogin()
59   {
60     return login;
61   }
62   /**
63    * @param login The login to set.
64    */

65   public void setLogin(String JavaDoc login)
66   {
67     this.login = login;
68   }
69   /**
70    * @return Returns the name.
71    */

72   public String JavaDoc getName()
73   {
74     return name;
75   }
76   /**
77    * @param name The name to set.
78    */

79   public void setName(String JavaDoc name)
80   {
81     this.name = name;
82   }
83   /**
84    * @return Returns the password.
85    */

86   public String JavaDoc getPassword()
87   {
88     return password;
89   }
90   /**
91    * @param password The password to set.
92    */

93   public void setPassword(String JavaDoc password)
94   {
95     this.password = password;
96   }
97   /**
98    * @return Returns the vehicules.
99    */

100   public Collection JavaDoc getVehicles()
101   {
102     return vehicles;
103   }
104   /**
105    * @param vehicules The vehicules to set.
106    */

107   public void setVehicules(Collection JavaDoc vehicles)
108   {
109     this.vehicles = vehicles;
110   }
111 }
112
Popular Tags