source: ether_eccad/trunk/ECCAD_INTERFACE/WEB-INF/src/org/medias/eccad/persistance/hibernate/domaine/Colormap.java

Last change on this file was 70, checked in by cbipsl, 14 years ago

maj eccad V3.2

  • Property svn:executable set to *
File size: 1.5 KB
Line 
1package org.medias.eccad.persistance.hibernate.domaine;
2
3// Generated 1 Juin 2007 15:03:29 by Hibernate Tools 3.2.0.beta7
4
5import java.util.HashSet;
6import java.util.Set;
7
8/**
9 * Colormap generated by hbm2java
10 */
11public 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}
Note: See TracBrowser for help on using the repository browser.