Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/seddb/model/Gsiebsatz.java @ 3689:c938e568c4a2 2.9
merged flys-backend/2.9
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:44 +0200 |
parents | 2ae732e2c65c |
children | 18619c1e7c2a |
comparison
equal
deleted
inserted
replaced
3651:06a65baae494 | 3689:c938e568c4a2 |
---|---|
1 package de.intevation.seddb.model; | |
2 // Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1 | |
3 | |
4 | |
5 import java.math.BigDecimal; | |
6 import java.util.HashSet; | |
7 import java.util.Set; | |
8 import javax.persistence.Column; | |
9 import javax.persistence.Entity; | |
10 import javax.persistence.FetchType; | |
11 import javax.persistence.Id; | |
12 import javax.persistence.OneToMany; | |
13 import javax.persistence.Table; | |
14 import javax.persistence.UniqueConstraint; | |
15 | |
16 /** | |
17 * Gsiebsatz generated by hbm2java | |
18 */ | |
19 @Entity | |
20 @Table(name="GSIEBSATZ" | |
21 ,schema="SEDDB" | |
22 , uniqueConstraints = @UniqueConstraint(columnNames="NAME") | |
23 ) | |
24 public class Gsiebsatz implements java.io.Serializable { | |
25 | |
26 | |
27 private long gsiebsatzid; | |
28 private String name; | |
29 private boolean istaktiv; | |
30 private BigDecimal sieb01; | |
31 private BigDecimal sieb02; | |
32 private BigDecimal sieb03; | |
33 private BigDecimal sieb04; | |
34 private BigDecimal sieb05; | |
35 private BigDecimal sieb06; | |
36 private BigDecimal sieb07; | |
37 private BigDecimal sieb08; | |
38 private BigDecimal sieb09; | |
39 private BigDecimal sieb10; | |
40 private BigDecimal sieb11; | |
41 private BigDecimal sieb12; | |
42 private BigDecimal sieb13; | |
43 private BigDecimal sieb14; | |
44 private BigDecimal sieb15; | |
45 private BigDecimal sieb16; | |
46 private BigDecimal sieb17; | |
47 private BigDecimal sieb18; | |
48 private BigDecimal sieb19; | |
49 private BigDecimal sieb20; | |
50 private BigDecimal sieb21; | |
51 private String bemerkung; | |
52 private Set<Ssiebung> ssiebungs = new HashSet<Ssiebung>(0); | |
53 private Set<Messung> messungs = new HashSet<Messung>(0); | |
54 | |
55 public Gsiebsatz() { | |
56 } | |
57 | |
58 | |
59 public Gsiebsatz(long gsiebsatzid, String name, boolean istaktiv) { | |
60 this.gsiebsatzid = gsiebsatzid; | |
61 this.name = name; | |
62 this.istaktiv = istaktiv; | |
63 } | |
64 public Gsiebsatz(long gsiebsatzid, String name, boolean istaktiv, BigDecimal sieb01, BigDecimal sieb02, BigDecimal sieb03, BigDecimal sieb04, BigDecimal sieb05, BigDecimal sieb06, BigDecimal sieb07, BigDecimal sieb08, BigDecimal sieb09, BigDecimal sieb10, BigDecimal sieb11, BigDecimal sieb12, BigDecimal sieb13, BigDecimal sieb14, BigDecimal sieb15, BigDecimal sieb16, BigDecimal sieb17, BigDecimal sieb18, BigDecimal sieb19, BigDecimal sieb20, BigDecimal sieb21, String bemerkung, Set<Ssiebung> ssiebungs, Set<Messung> messungs) { | |
65 this.gsiebsatzid = gsiebsatzid; | |
66 this.name = name; | |
67 this.istaktiv = istaktiv; | |
68 this.sieb01 = sieb01; | |
69 this.sieb02 = sieb02; | |
70 this.sieb03 = sieb03; | |
71 this.sieb04 = sieb04; | |
72 this.sieb05 = sieb05; | |
73 this.sieb06 = sieb06; | |
74 this.sieb07 = sieb07; | |
75 this.sieb08 = sieb08; | |
76 this.sieb09 = sieb09; | |
77 this.sieb10 = sieb10; | |
78 this.sieb11 = sieb11; | |
79 this.sieb12 = sieb12; | |
80 this.sieb13 = sieb13; | |
81 this.sieb14 = sieb14; | |
82 this.sieb15 = sieb15; | |
83 this.sieb16 = sieb16; | |
84 this.sieb17 = sieb17; | |
85 this.sieb18 = sieb18; | |
86 this.sieb19 = sieb19; | |
87 this.sieb20 = sieb20; | |
88 this.sieb21 = sieb21; | |
89 this.bemerkung = bemerkung; | |
90 this.ssiebungs = ssiebungs; | |
91 this.messungs = messungs; | |
92 } | |
93 | |
94 @Id | |
95 | |
96 | |
97 @Column(name="GSIEBSATZID", unique=true, nullable=false, precision=11, scale=0) | |
98 public long getGsiebsatzid() { | |
99 return this.gsiebsatzid; | |
100 } | |
101 | |
102 public void setGsiebsatzid(long gsiebsatzid) { | |
103 this.gsiebsatzid = gsiebsatzid; | |
104 } | |
105 | |
106 | |
107 @Column(name="NAME", unique=true, nullable=false, length=20) | |
108 public String getName() { | |
109 return this.name; | |
110 } | |
111 | |
112 public void setName(String name) { | |
113 this.name = name; | |
114 } | |
115 | |
116 | |
117 @Column(name="ISTAKTIV", nullable=false, precision=1, scale=0) | |
118 public boolean isIstaktiv() { | |
119 return this.istaktiv; | |
120 } | |
121 | |
122 public void setIstaktiv(boolean istaktiv) { | |
123 this.istaktiv = istaktiv; | |
124 } | |
125 | |
126 | |
127 @Column(name="SIEB01", precision=7, scale=4) | |
128 public BigDecimal getSieb01() { | |
129 return this.sieb01; | |
130 } | |
131 | |
132 public void setSieb01(BigDecimal sieb01) { | |
133 this.sieb01 = sieb01; | |
134 } | |
135 | |
136 | |
137 @Column(name="SIEB02", precision=7, scale=4) | |
138 public BigDecimal getSieb02() { | |
139 return this.sieb02; | |
140 } | |
141 | |
142 public void setSieb02(BigDecimal sieb02) { | |
143 this.sieb02 = sieb02; | |
144 } | |
145 | |
146 | |
147 @Column(name="SIEB03", precision=7, scale=4) | |
148 public BigDecimal getSieb03() { | |
149 return this.sieb03; | |
150 } | |
151 | |
152 public void setSieb03(BigDecimal sieb03) { | |
153 this.sieb03 = sieb03; | |
154 } | |
155 | |
156 | |
157 @Column(name="SIEB04", precision=7, scale=4) | |
158 public BigDecimal getSieb04() { | |
159 return this.sieb04; | |
160 } | |
161 | |
162 public void setSieb04(BigDecimal sieb04) { | |
163 this.sieb04 = sieb04; | |
164 } | |
165 | |
166 | |
167 @Column(name="SIEB05", precision=7, scale=4) | |
168 public BigDecimal getSieb05() { | |
169 return this.sieb05; | |
170 } | |
171 | |
172 public void setSieb05(BigDecimal sieb05) { | |
173 this.sieb05 = sieb05; | |
174 } | |
175 | |
176 | |
177 @Column(name="SIEB06", precision=7, scale=4) | |
178 public BigDecimal getSieb06() { | |
179 return this.sieb06; | |
180 } | |
181 | |
182 public void setSieb06(BigDecimal sieb06) { | |
183 this.sieb06 = sieb06; | |
184 } | |
185 | |
186 | |
187 @Column(name="SIEB07", precision=7, scale=4) | |
188 public BigDecimal getSieb07() { | |
189 return this.sieb07; | |
190 } | |
191 | |
192 public void setSieb07(BigDecimal sieb07) { | |
193 this.sieb07 = sieb07; | |
194 } | |
195 | |
196 | |
197 @Column(name="SIEB08", precision=7, scale=4) | |
198 public BigDecimal getSieb08() { | |
199 return this.sieb08; | |
200 } | |
201 | |
202 public void setSieb08(BigDecimal sieb08) { | |
203 this.sieb08 = sieb08; | |
204 } | |
205 | |
206 | |
207 @Column(name="SIEB09", precision=7, scale=4) | |
208 public BigDecimal getSieb09() { | |
209 return this.sieb09; | |
210 } | |
211 | |
212 public void setSieb09(BigDecimal sieb09) { | |
213 this.sieb09 = sieb09; | |
214 } | |
215 | |
216 | |
217 @Column(name="SIEB10", precision=7, scale=4) | |
218 public BigDecimal getSieb10() { | |
219 return this.sieb10; | |
220 } | |
221 | |
222 public void setSieb10(BigDecimal sieb10) { | |
223 this.sieb10 = sieb10; | |
224 } | |
225 | |
226 | |
227 @Column(name="SIEB11", precision=7, scale=4) | |
228 public BigDecimal getSieb11() { | |
229 return this.sieb11; | |
230 } | |
231 | |
232 public void setSieb11(BigDecimal sieb11) { | |
233 this.sieb11 = sieb11; | |
234 } | |
235 | |
236 | |
237 @Column(name="SIEB12", precision=7, scale=4) | |
238 public BigDecimal getSieb12() { | |
239 return this.sieb12; | |
240 } | |
241 | |
242 public void setSieb12(BigDecimal sieb12) { | |
243 this.sieb12 = sieb12; | |
244 } | |
245 | |
246 | |
247 @Column(name="SIEB13", precision=7, scale=4) | |
248 public BigDecimal getSieb13() { | |
249 return this.sieb13; | |
250 } | |
251 | |
252 public void setSieb13(BigDecimal sieb13) { | |
253 this.sieb13 = sieb13; | |
254 } | |
255 | |
256 | |
257 @Column(name="SIEB14", precision=7, scale=4) | |
258 public BigDecimal getSieb14() { | |
259 return this.sieb14; | |
260 } | |
261 | |
262 public void setSieb14(BigDecimal sieb14) { | |
263 this.sieb14 = sieb14; | |
264 } | |
265 | |
266 | |
267 @Column(name="SIEB15", precision=7, scale=4) | |
268 public BigDecimal getSieb15() { | |
269 return this.sieb15; | |
270 } | |
271 | |
272 public void setSieb15(BigDecimal sieb15) { | |
273 this.sieb15 = sieb15; | |
274 } | |
275 | |
276 | |
277 @Column(name="SIEB16", precision=7, scale=4) | |
278 public BigDecimal getSieb16() { | |
279 return this.sieb16; | |
280 } | |
281 | |
282 public void setSieb16(BigDecimal sieb16) { | |
283 this.sieb16 = sieb16; | |
284 } | |
285 | |
286 | |
287 @Column(name="SIEB17", precision=7, scale=4) | |
288 public BigDecimal getSieb17() { | |
289 return this.sieb17; | |
290 } | |
291 | |
292 public void setSieb17(BigDecimal sieb17) { | |
293 this.sieb17 = sieb17; | |
294 } | |
295 | |
296 | |
297 @Column(name="SIEB18", precision=7, scale=4) | |
298 public BigDecimal getSieb18() { | |
299 return this.sieb18; | |
300 } | |
301 | |
302 public void setSieb18(BigDecimal sieb18) { | |
303 this.sieb18 = sieb18; | |
304 } | |
305 | |
306 | |
307 @Column(name="SIEB19", precision=7, scale=4) | |
308 public BigDecimal getSieb19() { | |
309 return this.sieb19; | |
310 } | |
311 | |
312 public void setSieb19(BigDecimal sieb19) { | |
313 this.sieb19 = sieb19; | |
314 } | |
315 | |
316 | |
317 @Column(name="SIEB20", precision=7, scale=4) | |
318 public BigDecimal getSieb20() { | |
319 return this.sieb20; | |
320 } | |
321 | |
322 public void setSieb20(BigDecimal sieb20) { | |
323 this.sieb20 = sieb20; | |
324 } | |
325 | |
326 | |
327 @Column(name="SIEB21", precision=7, scale=4) | |
328 public BigDecimal getSieb21() { | |
329 return this.sieb21; | |
330 } | |
331 | |
332 public void setSieb21(BigDecimal sieb21) { | |
333 this.sieb21 = sieb21; | |
334 } | |
335 | |
336 | |
337 @Column(name="BEMERKUNG", length=240) | |
338 public String getBemerkung() { | |
339 return this.bemerkung; | |
340 } | |
341 | |
342 public void setBemerkung(String bemerkung) { | |
343 this.bemerkung = bemerkung; | |
344 } | |
345 | |
346 @OneToMany(fetch=FetchType.LAZY, mappedBy="gsiebsatz") | |
347 public Set<Ssiebung> getSsiebungs() { | |
348 return this.ssiebungs; | |
349 } | |
350 | |
351 public void setSsiebungs(Set<Ssiebung> ssiebungs) { | |
352 this.ssiebungs = ssiebungs; | |
353 } | |
354 | |
355 @OneToMany(fetch=FetchType.LAZY, mappedBy="gsiebsatz") | |
356 public Set<Messung> getMessungs() { | |
357 return this.messungs; | |
358 } | |
359 | |
360 public void setMessungs(Set<Messung> messungs) { | |
361 this.messungs = messungs; | |
362 } | |
363 } |