001: /**
002: * Speedo: an implementation of JDO compliant personality on top of JORM generic
003: * I/O sub-system.
004: * Copyright (C) 2001-2005 France Telecom R&D
005: *
006: * This library is free software; you can redistribute it and/or
007: * modify it under the terms of the GNU Lesser General Public
008: * License as published by the Free Software Foundation; either
009: * version 2 of the License, or (at your option) any later version.
010: *
011: * This library is distributed in the hope that it will be useful,
012: * but WITHOUT ANY WARRANTY; without even the implied warranty of
013: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
014: * Lesser General Public License for more details.
015: *
016: * You should have received a copy of the GNU Lesser General Public
017: * License along with this library; if not, write to the Free Software
018: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
019: *
020: *
021: *
022: * Contact: speedo@objectweb.org
023: *
024: * Authors: S. Chassande-Barrioz
025: *
026: */package org.objectweb.speedo.pobjects.unilog;
027:
028: import java.util.Collection;
029:
030: /**
031: * @author unilog31
032: */
033: public class Team {
034: int id;
035: String name;
036: String login;
037: String password;
038: Collection vehicles;
039:
040: /**
041: * @return Returns the id.
042: */
043: public int getId() {
044: return id;
045: }
046:
047: /**
048: * @param id The id to set.
049: */
050: public void setId(int id) {
051: this .id = id;
052: }
053:
054: /**
055: * @return Returns the login.
056: */
057: public String getLogin() {
058: return login;
059: }
060:
061: /**
062: * @param login The login to set.
063: */
064: public void setLogin(String login) {
065: this .login = login;
066: }
067:
068: /**
069: * @return Returns the name.
070: */
071: public String getName() {
072: return name;
073: }
074:
075: /**
076: * @param name The name to set.
077: */
078: public void setName(String name) {
079: this .name = name;
080: }
081:
082: /**
083: * @return Returns the password.
084: */
085: public String getPassword() {
086: return password;
087: }
088:
089: /**
090: * @param password The password to set.
091: */
092: public void setPassword(String password) {
093: this .password = password;
094: }
095:
096: /**
097: * @return Returns the vehicules.
098: */
099: public Collection getVehicles() {
100: return vehicles;
101: }
102:
103: /**
104: * @param vehicules The vehicules to set.
105: */
106: public void setVehicules(Collection vehicles) {
107: this.vehicles = vehicles;
108: }
109: }
|