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 | /** |
---|
6 | * Code generated by hbm2java |
---|
7 | */ |
---|
8 | public class Code implements java.io.Serializable { |
---|
9 | |
---|
10 | // Fields |
---|
11 | |
---|
12 | /** |
---|
13 | * |
---|
14 | */ |
---|
15 | private static final long serialVersionUID = 1L; |
---|
16 | |
---|
17 | private int idCode; |
---|
18 | |
---|
19 | private Codification codification; |
---|
20 | |
---|
21 | private int numCode; |
---|
22 | |
---|
23 | private String legendCode; |
---|
24 | |
---|
25 | // Constructors |
---|
26 | |
---|
27 | /** default constructor */ |
---|
28 | public Code() { |
---|
29 | } |
---|
30 | |
---|
31 | /** minimal constructor */ |
---|
32 | public Code(int idCode, int numCode) { |
---|
33 | this.idCode = idCode; |
---|
34 | this.numCode = numCode; |
---|
35 | } |
---|
36 | |
---|
37 | /** full constructor */ |
---|
38 | public Code(int idCode, Codification codification, int numCode, |
---|
39 | String legendCode) { |
---|
40 | this.idCode = idCode; |
---|
41 | this.codification = codification; |
---|
42 | this.numCode = numCode; |
---|
43 | this.legendCode = legendCode; |
---|
44 | } |
---|
45 | |
---|
46 | // Property accessors |
---|
47 | public int getIdCode() { |
---|
48 | return this.idCode; |
---|
49 | } |
---|
50 | |
---|
51 | public void setIdCode(int idCode) { |
---|
52 | this.idCode = idCode; |
---|
53 | } |
---|
54 | |
---|
55 | public Codification getCodification() { |
---|
56 | return this.codification; |
---|
57 | } |
---|
58 | |
---|
59 | public void setCodification(Codification codification) { |
---|
60 | this.codification = codification; |
---|
61 | } |
---|
62 | |
---|
63 | public int getNumCode() { |
---|
64 | return this.numCode; |
---|
65 | } |
---|
66 | |
---|
67 | public void setNumCode(int numCode) { |
---|
68 | this.numCode = numCode; |
---|
69 | } |
---|
70 | |
---|
71 | public String getLegendCode() { |
---|
72 | return this.legendCode; |
---|
73 | } |
---|
74 | |
---|
75 | public void setLegendCode(String legendCode) { |
---|
76 | this.legendCode = legendCode; |
---|
77 | } |
---|
78 | |
---|
79 | } |
---|