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