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

Last change on this file since 848 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 * Color generated by hbm2java
10 */
11public class Color implements java.io.Serializable {
12
13        // Fields   
14
15        /**
16         *
17         */
18        private static final long serialVersionUID = 1L;
19
20        private int colId;
21
22        private Integer colR;
23
24        private Integer colG;
25
26        private Integer colB;
27
28        private Set<ColorIndex> colorIndexes = new HashSet<ColorIndex>(0);
29
30        // Constructors
31
32        /** default constructor */
33        public Color() {
34        }
35
36        /** minimal constructor */
37        public Color(int colId) {
38                this.colId = colId;
39        }
40
41        /** full constructor */
42        public Color(int colId, Integer colR, Integer colG, Integer colB,
43                        Set<ColorIndex> colorIndexes) {
44                this.colId = colId;
45                this.colR = colR;
46                this.colG = colG;
47                this.colB = colB;
48                this.colorIndexes = colorIndexes;
49        }
50
51        // Property accessors
52        public int getColId() {
53                return this.colId;
54        }
55
56        public void setColId(int colId) {
57                this.colId = colId;
58        }
59
60        public Integer getColR() {
61                return this.colR;
62        }
63
64        public void setColR(Integer colR) {
65                this.colR = colR;
66        }
67
68        public Integer getColG() {
69                return this.colG;
70        }
71
72        public void setColG(Integer colG) {
73                this.colG = colG;
74        }
75
76        public Integer getColB() {
77                return this.colB;
78        }
79
80        public void setColB(Integer colB) {
81                this.colB = colB;
82        }
83
84        public Set<ColorIndex> getColorIndexes() {
85                return this.colorIndexes;
86        }
87
88        public void setColorIndexes(Set<ColorIndex> colorIndexes) {
89                this.colorIndexes = colorIndexes;
90        }
91
92}
Note: See TracBrowser for help on using the repository browser.