1 package ch.ledcom.hephaistos.dao;
2
3 import java.awt.Image;
4 import java.util.Collections;
5 import java.util.Date;
6 import java.util.Set;
7 /***
8 *
9 * @author gehel
10 * @hibernate.class
11 */
12
13 public class Product {
14
15
16
17
18 private Long id;
19
20 private String no;
21
22 private String designationF;
23
24 private String designationD;
25
26 private Date dateBegin;
27
28 private Date dateEnd;
29
30 private Boolean controled;
31
32 private String decisionF;
33
34 private String decisionD;
35
36 /***
37 * @return Returns the certificationNumber.
38 */
39 public String getCertificationNumber() {
40 return certificationNumber;
41 }
42 /***
43 * @param certificationNumber The certificationNumber to set.
44 */
45 public void setCertificationNumber(String certificationNumber) {
46 this.certificationNumber = certificationNumber;
47 }
48 /***
49 * @return Returns the certified.
50 */
51 public Boolean getCertified() {
52 return certified;
53 }
54 /***
55 * @param certified The certified to set.
56 */
57 public void setCertified(Boolean certified) {
58 this.certified = certified;
59 }
60 /***
61 * @return Returns the certifiedFSSP.
62 */
63 public Boolean getCertifiedFSSP() {
64 return certifiedFSSP;
65 }
66 /***
67 * @param certifiedFSSP The certifiedFSSP to set.
68 */
69 public void setCertifiedFSSP(Boolean certifiedFSSP) {
70 this.certifiedFSSP = certifiedFSSP;
71 }
72 /***
73 * @return Returns the controled.
74 */
75 public Boolean getControled() {
76 return controled;
77 }
78 /***
79 * @param controled The controled to set.
80 */
81 public void setControled(Boolean controled) {
82 this.controled = controled;
83 }
84 /***
85 * @return Returns the dateBegin.
86 */
87 public Date getDateBegin() {
88 return dateBegin;
89 }
90 /***
91 * @param dateBegin The dateBegin to set.
92 */
93 public void setDateBegin(Date dateBegin) {
94 this.dateBegin = dateBegin;
95 }
96 /***
97 * @return Returns the dateEnd.
98 */
99 public Date getDateEnd() {
100 return dateEnd;
101 }
102 /***
103 * @param dateEnd The dateEnd to set.
104 */
105 public void setDateEnd(Date dateEnd) {
106 this.dateEnd = dateEnd;
107 }
108 /***
109 * @return Returns the decisionD.
110 */
111 public String getDecisionD() {
112 return decisionD;
113 }
114 /***
115 * @param decisionD The decisionD to set.
116 */
117 public void setDecisionD(String decisionD) {
118 this.decisionD = decisionD;
119 }
120 /***
121 * @return Returns the decisionF.
122 */
123 public String getDecisionF() {
124 return decisionF;
125 }
126 /***
127 * @param decisionF The decisionF to set.
128 */
129 public void setDecisionF(String decisionF) {
130 this.decisionF = decisionF;
131 }
132 /***
133 * @return Returns the description.
134 */
135 public Set getDescription() {
136 return description;
137 }
138 /***
139 * @param description The description to set.
140 */
141 public void setDescription(Set description) {
142 this.description = description;
143 }
144 /***
145 * @return Returns the designationD.
146 */
147 public String getDesignationD() {
148 return designationD;
149 }
150 /***
151 * @param designationD The designationD to set.
152 */
153 public void setDesignationD(String designationD) {
154 this.designationD = designationD;
155 }
156 /***
157 * @return Returns the designationF.
158 */
159 public String getDesignationF() {
160 return designationF;
161 }
162 /***
163 * @param designationF The designationF to set.
164 */
165 public void setDesignationF(String designationF) {
166 this.designationF = designationF;
167 }
168 /***
169 * @return Returns the documentsD.
170 */
171 public String getDocumentsD() {
172 return documentsD;
173 }
174 /***
175 * @param documentsD The documentsD to set.
176 */
177 public void setDocumentsD(String documentsD) {
178 this.documentsD = documentsD;
179 }
180 /***
181 * @return Returns the documentsF.
182 */
183 public String getDocumentsF() {
184 return documentsF;
185 }
186 /***
187 * @param documentsF The documentsF to set.
188 */
189 public void setDocumentsF(String documentsF) {
190 this.documentsF = documentsF;
191 }
192 /***
193 * @hibernate.id generator-class="native"
194 * @return Returns the id.
195 */
196 public Long getId() {
197 return id;
198 }
199 /***
200 * @param id The id to set.
201 */
202 protected void setId(Long id) {
203 this.id = id;
204 }
205 /***
206 * @return Returns the manfacturer.
207 */
208 public Enterprise getManfacturer() {
209 return manfacturer;
210 }
211 /***
212 * @param manfacturer The manfacturer to set.
213 */
214 public void setManfacturer(Enterprise manfacturer) {
215 this.manfacturer = manfacturer;
216 }
217 /***
218 * @return Returns the no.
219 */
220 public String getNo() {
221 return no;
222 }
223 /***
224 * @param no The no to set.
225 */
226 public void setNo(String no) {
227 this.no = no;
228 }
229 /***
230 * @return Returns the photo.
231 */
232 public Image getPhoto() {
233 return photo;
234 }
235 /***
236 * @param photo The photo to set.
237 */
238 public void setPhoto(Image photo) {
239 this.photo = photo;
240 }
241 /***
242 * @return Returns the productGroup.
243 */
244 public ProductGroup getProductGroup() {
245 return productGroup;
246 }
247 /***
248 * @param productGroup The productGroup to set.
249 */
250 public void setProductGroup(ProductGroup productGroup) {
251 this.productGroup = productGroup;
252 }
253 /***
254 * @return Returns the recognized.
255 */
256 public Boolean getRecognized() {
257 return recognized;
258 }
259 /***
260 * @param recognized The recognized to set.
261 */
262 public void setRecognized(Boolean recognized) {
263 this.recognized = recognized;
264 }
265 /***
266 * @return Returns the remarqueD.
267 */
268 public String getRemarqueD() {
269 return remarqueD;
270 }
271 /***
272 * @param remarqueD The remarqueD to set.
273 */
274 public void setRemarqueD(String remarqueD) {
275 this.remarqueD = remarqueD;
276 }
277 /***
278 * @return Returns the remarquesF.
279 */
280 public String getRemarquesF() {
281 return remarquesF;
282 }
283 /***
284 * @param remarquesF The remarquesF to set.
285 */
286 public void setRemarquesF(String remarquesF) {
287 this.remarquesF = remarquesF;
288 }
289 /***
290 * @return Returns the supplier.
291 */
292 public Enterprise getSupplier() {
293 return supplier;
294 }
295 /***
296 * @param supplier The supplier to set.
297 */
298 public void setSupplier(Enterprise supplier) {
299 this.supplier = supplier;
300 }
301 private Image photo;
302
303 private String documentsF;
304
305 private String documentsD;
306
307 private String remarquesF;
308
309 private String remarqueD;
310
311 private Boolean certified;
312
313 private Boolean certifiedFSSP;
314
315 private Boolean recognized;
316
317 private String certificationNumber;
318
319
320
321
322 private ProductGroup productGroup;
323
324 private Enterprise supplier;
325
326 private Enterprise manfacturer;
327
328 private Set description = Collections.EMPTY_SET;
329
330 }