1 | package org.medias.eccad.persistance.hibernate.domaine; |
---|
2 | |
---|
3 | // Generated 1 Juin 2007 15:03:29 by Hibernate Tools 3.2.0.beta7 |
---|
4 | |
---|
5 | import java.util.HashSet; |
---|
6 | import java.util.Set; |
---|
7 | |
---|
8 | /** |
---|
9 | * Codification generated by hbm2java |
---|
10 | */ |
---|
11 | public class Codification implements java.io.Serializable { |
---|
12 | |
---|
13 | // Fields |
---|
14 | |
---|
15 | private int idCodification; |
---|
16 | |
---|
17 | private Typecodification typecodification; |
---|
18 | |
---|
19 | private String nomCodification; |
---|
20 | |
---|
21 | private String commentCodification; |
---|
22 | |
---|
23 | private Set<Grille> grilles = new HashSet<Grille>(0); |
---|
24 | |
---|
25 | private Set<Code> codes = new HashSet<Code>(0); |
---|
26 | |
---|
27 | // Constructors |
---|
28 | |
---|
29 | /** default constructor */ |
---|
30 | public Codification() { |
---|
31 | } |
---|
32 | |
---|
33 | /** minimal constructor */ |
---|
34 | public Codification(int idCodification, Typecodification typecodification, |
---|
35 | String nomCodification) { |
---|
36 | this.idCodification = idCodification; |
---|
37 | this.typecodification = typecodification; |
---|
38 | this.nomCodification = nomCodification; |
---|
39 | } |
---|
40 | |
---|
41 | /** full constructor */ |
---|
42 | public Codification(int idCodification, Typecodification typecodification, |
---|
43 | String nomCodification, String commentCodification, |
---|
44 | Set<Grille> grilles, Set<Code> codes) { |
---|
45 | this.idCodification = idCodification; |
---|
46 | this.typecodification = typecodification; |
---|
47 | this.nomCodification = nomCodification; |
---|
48 | this.commentCodification = commentCodification; |
---|
49 | this.grilles = grilles; |
---|
50 | this.codes = codes; |
---|
51 | } |
---|
52 | |
---|
53 | // Property accessors |
---|
54 | public int getIdCodification() { |
---|
55 | return this.idCodification; |
---|
56 | } |
---|
57 | |
---|
58 | public void setIdCodification(int idCodification) { |
---|
59 | this.idCodification = idCodification; |
---|
60 | } |
---|
61 | |
---|
62 | public Typecodification getTypecodification() { |
---|
63 | return this.typecodification; |
---|
64 | } |
---|
65 | |
---|
66 | public void setTypecodification(Typecodification typecodification) { |
---|
67 | this.typecodification = typecodification; |
---|
68 | } |
---|
69 | |
---|
70 | public String getNomCodification() { |
---|
71 | return this.nomCodification; |
---|
72 | } |
---|
73 | |
---|
74 | public void setNomCodification(String nomCodification) { |
---|
75 | this.nomCodification = nomCodification; |
---|
76 | } |
---|
77 | |
---|
78 | public String getCommentCodification() { |
---|
79 | return this.commentCodification; |
---|
80 | } |
---|
81 | |
---|
82 | public void setCommentCodification(String commentCodification) { |
---|
83 | this.commentCodification = commentCodification; |
---|
84 | } |
---|
85 | |
---|
86 | public Set<Grille> getGrilles() { |
---|
87 | return this.grilles; |
---|
88 | } |
---|
89 | |
---|
90 | public void setGrilles(Set<Grille> grilles) { |
---|
91 | this.grilles = grilles; |
---|
92 | } |
---|
93 | |
---|
94 | public Set<Code> getCodes() { |
---|
95 | return this.codes; |
---|
96 | } |
---|
97 | |
---|
98 | public void setCodes(Set<Code> codes) { |
---|
99 | this.codes = codes; |
---|
100 | } |
---|
101 | |
---|
102 | } |
---|