View Javadoc

1   /*Copyright (C) 2004-... Stephane Gauchet for Hyphonem
2   
3    This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
4   
5    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
6   
7    You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
8    
9    Written by St�phane Gauchet
10   mail me at : sgauchet@free.fr
11   */
12  package fr.hyphonem.conges.data;
13  
14  import java.io.Serializable;
15  
16  /**
17   * @author Stephane Gauchet pour Hyphonem
18   */
19  public class EmployeeData implements Serializable {
20  	/**
21  	 * 
22  	 */
23  	private static final long serialVersionUID = 1L;
24  
25  	private String nom;
26  
27  	private String prenom;
28  
29  	private String pays;
30  
31  	private String team;
32  
33  	private String entryDate;
34  
35  	private boolean dayoff1;
36  
37  	private boolean dayoff2;
38  
39  	private boolean dayoff3;
40  
41  	private boolean dayoff4;
42  
43  	private boolean dayoff5;
44  
45  	private boolean dayoff6;
46  
47  	private boolean dayoff7;
48  
49  	/**
50  	 * @return nom
51  	 */
52  	public String getNom() {
53  		return nom;
54  	}
55  
56  	/**
57  	 * @return prenom
58  	 */
59  	public String getPrenom() {
60  		return prenom;
61  	}
62  
63  	/**
64  	 * @param string
65  	 */
66  	public void setNom(String string) {
67  		nom = string;
68  	}
69  
70  	/**
71  	 * @param string
72  	 */
73  	public void setPrenom(String string) {
74  		prenom = string;
75  	}
76  
77  	/**
78  	 * return nom + prenom
79  	 */
80  	public String toString() {
81  		
82  		return nom + " " + prenom;
83  	}
84  
85  
86  	/**
87  	 * @return pays
88  	 */
89  	public String getPays() {
90  		return pays;
91  	}
92  
93  	/**
94  	 * @param string
95  	 */
96  	public void setPays(String string) {
97  		pays = string;
98  	}
99  
100 	/**
101 	 * @return team
102 	 */
103 	public String getTeam() {
104 		return team;
105 	}
106 
107 	/**
108 	 * @param string
109 	 */
110 	public void setTeam(String string) {
111 		team = string;
112 	}
113 
114 	/**
115 	 * @return Returns the entryDate.
116 	 */
117 	public String getEntryDate() {
118 		return entryDate;
119 	}
120 
121 	/**
122 	 * @param entryDate
123 	 *            The entryDate to set.
124 	 */
125 	public void setEntryDate(String entryDate) {
126 		this.entryDate = entryDate;
127 	}
128 
129 	public boolean isDayoff1() {
130 		return dayoff1;
131 	}
132 
133 	public void setDayoff1(boolean dayoff1) {
134 		this.dayoff1 = dayoff1;
135 	}
136 
137 	public boolean isDayoff2() {
138 		return dayoff2;
139 	}
140 
141 	public void setDayoff2(boolean dayoff2) {
142 		this.dayoff2 = dayoff2;
143 	}
144 
145 	public boolean isDayoff3() {
146 		return dayoff3;
147 	}
148 
149 	public void setDayoff3(boolean dayoff3) {
150 		this.dayoff3 = dayoff3;
151 	}
152 
153 	public boolean isDayoff4() {
154 		return dayoff4;
155 	}
156 
157 	public void setDayoff4(boolean dayoff4) {
158 		this.dayoff4 = dayoff4;
159 	}
160 
161 	public boolean isDayoff5() {
162 		return dayoff5;
163 	}
164 
165 	public void setDayoff5(boolean dayoff5) {
166 		this.dayoff5 = dayoff5;
167 	}
168 
169 	public boolean isDayoff6() {
170 		return dayoff6;
171 	}
172 
173 	public void setDayoff6(boolean dayoff6) {
174 		this.dayoff6 = dayoff6;
175 	}
176 
177 	public boolean isDayoff7() {
178 		return dayoff7;
179 	}
180 
181 	public void setDayoff7(boolean dayoff7) {
182 		this.dayoff7 = dayoff7;
183 	}
184 }