1 | package integration.hibernate; |
---|
2 | |
---|
3 | // Generated 5 févr. 2007 11:07:11 by Hibernate Tools 3.2.0.b9 |
---|
4 | |
---|
5 | import java.util.HashSet; |
---|
6 | import java.util.Set; |
---|
7 | |
---|
8 | /** |
---|
9 | * Unite generated by hbm2java |
---|
10 | */ |
---|
11 | public class Unite implements java.io.Serializable { |
---|
12 | |
---|
13 | /** |
---|
14 | * |
---|
15 | */ |
---|
16 | private static final long serialVersionUID = 1L; |
---|
17 | |
---|
18 | private int uniteId; |
---|
19 | |
---|
20 | private String uniteNom; |
---|
21 | |
---|
22 | private String uniteCode; |
---|
23 | |
---|
24 | private Set<Parametre> parametres = new HashSet<Parametre>(0); |
---|
25 | |
---|
26 | public Unite() { |
---|
27 | } |
---|
28 | |
---|
29 | public Unite(int uniteId, String uniteCode) { |
---|
30 | this.uniteId = uniteId; |
---|
31 | this.uniteCode = uniteCode; |
---|
32 | } |
---|
33 | |
---|
34 | public Unite(int uniteId, String uniteNom, String uniteCode, |
---|
35 | Set<Parametre> parametres) { |
---|
36 | this.uniteId = uniteId; |
---|
37 | this.uniteNom = uniteNom; |
---|
38 | this.uniteCode = uniteCode; |
---|
39 | this.parametres = parametres; |
---|
40 | } |
---|
41 | |
---|
42 | public int getUniteId() { |
---|
43 | return this.uniteId; |
---|
44 | } |
---|
45 | |
---|
46 | public void setUniteId(int uniteId) { |
---|
47 | this.uniteId = uniteId; |
---|
48 | } |
---|
49 | |
---|
50 | public String getUniteNom() { |
---|
51 | return this.uniteNom; |
---|
52 | } |
---|
53 | |
---|
54 | public void setUniteNom(String uniteNom) { |
---|
55 | this.uniteNom = uniteNom; |
---|
56 | } |
---|
57 | |
---|
58 | public String getUniteCode() { |
---|
59 | return this.uniteCode; |
---|
60 | } |
---|
61 | |
---|
62 | public void setUniteCode(String uniteCode) { |
---|
63 | this.uniteCode = uniteCode; |
---|
64 | } |
---|
65 | |
---|
66 | public Set<Parametre> getParametres() { |
---|
67 | return this.parametres; |
---|
68 | } |
---|
69 | |
---|
70 | public void setParametres(Set<Parametre> parametres) { |
---|
71 | this.parametres = parametres; |
---|
72 | } |
---|
73 | |
---|
74 | } |
---|