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 | * Colormap generated by hbm2java |
---|
10 | */ |
---|
11 | public class Colormap implements java.io.Serializable { |
---|
12 | |
---|
13 | // Fields |
---|
14 | |
---|
15 | /** |
---|
16 | * |
---|
17 | */ |
---|
18 | private static final long serialVersionUID = 1L; |
---|
19 | |
---|
20 | private int cmId; |
---|
21 | |
---|
22 | private String cmName; |
---|
23 | |
---|
24 | private Set<ParamColor> paramColors = new HashSet<ParamColor>(0); |
---|
25 | |
---|
26 | private Set<ColorIndex> colorIndexes = new HashSet<ColorIndex>(0); |
---|
27 | |
---|
28 | // Constructors |
---|
29 | |
---|
30 | /** default constructor */ |
---|
31 | public Colormap() { |
---|
32 | } |
---|
33 | |
---|
34 | /** minimal constructor */ |
---|
35 | public Colormap(int cmId) { |
---|
36 | this.cmId = cmId; |
---|
37 | } |
---|
38 | |
---|
39 | /** full constructor */ |
---|
40 | public Colormap(int cmId, String cmName, Set<ParamColor> paramColors, |
---|
41 | Set<ColorIndex> colorIndexes) { |
---|
42 | this.cmId = cmId; |
---|
43 | this.cmName = cmName; |
---|
44 | this.paramColors = paramColors; |
---|
45 | this.colorIndexes = colorIndexes; |
---|
46 | } |
---|
47 | |
---|
48 | // Property accessors |
---|
49 | public int getCmId() { |
---|
50 | return this.cmId; |
---|
51 | } |
---|
52 | |
---|
53 | public void setCmId(int cmId) { |
---|
54 | this.cmId = cmId; |
---|
55 | } |
---|
56 | |
---|
57 | public String getCmName() { |
---|
58 | return this.cmName; |
---|
59 | } |
---|
60 | |
---|
61 | public void setCmName(String cmName) { |
---|
62 | this.cmName = cmName; |
---|
63 | } |
---|
64 | |
---|
65 | public Set<ParamColor> getParamColors() { |
---|
66 | return this.paramColors; |
---|
67 | } |
---|
68 | |
---|
69 | public void setParamColors(Set<ParamColor> paramColors) { |
---|
70 | this.paramColors = paramColors; |
---|
71 | } |
---|
72 | |
---|
73 | public Set<ColorIndex> getColorIndexes() { |
---|
74 | return this.colorIndexes; |
---|
75 | } |
---|
76 | |
---|
77 | public void setColorIndexes(Set<ColorIndex> colorIndexes) { |
---|
78 | this.colorIndexes = colorIndexes; |
---|
79 | } |
---|
80 | |
---|
81 | } |
---|