comparison backend/src/main/java/org/dive4elements/river/seddb/model/Glotrechte.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/Glotrechte.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.JoinColumn;
21 import javax.persistence.ManyToOne;
22 import javax.persistence.OneToMany;
23 import javax.persistence.OneToOne;
24 import javax.persistence.Table;
25
26 /**
27 * Glotrechte generated by hbm2java
28 */
29 @Entity
30 @Table(name="GLOTRECHTE"
31 ,schema="SEDDB"
32 )
33 public class Glotrechte implements java.io.Serializable {
34
35
36 private long glotrechteid;
37 private Messung messung;
38 private BigDecimal uferabst;
39 private BigDecimal tgeschiebe;
40 private BigDecimal dm;
41 private BigDecimal sk;
42 private BigDecimal so;
43 private BigDecimal u;
44 private BigDecimal d90;
45 private BigDecimal d84;
46 private BigDecimal d80;
47 private BigDecimal d75;
48 private BigDecimal d70;
49 private BigDecimal d60;
50 private BigDecimal d50;
51 private BigDecimal d40;
52 private BigDecimal d30;
53 private BigDecimal d25;
54 private BigDecimal d20;
55 private BigDecimal d16;
56 private BigDecimal d10;
57 private BigDecimal dmin;
58 private BigDecimal durchdmin;
59 private BigDecimal dmax;
60 private BigDecimal durchdmax;
61 private BigDecimal stdabw;
62 private BigDecimal stdfehler;
63 private String bemerkung;
64 private BigDecimal uferablinks;
65 private Gsiebung gsiebung;
66 private Set<Gprobe> gprobes = new HashSet<Gprobe>(0);
67
68 public Glotrechte() {
69 }
70
71
72 public Glotrechte(long glotrechteid, Messung messung, BigDecimal uferabst) {
73 this.glotrechteid = glotrechteid;
74 this.messung = messung;
75 this.uferabst = uferabst;
76 }
77 public Glotrechte(long glotrechteid, Messung messung, BigDecimal uferabst, BigDecimal tgeschiebe, BigDecimal dm, BigDecimal sk, BigDecimal so, BigDecimal u, BigDecimal d90, BigDecimal d84, BigDecimal d80, BigDecimal d75, BigDecimal d70, BigDecimal d60, BigDecimal d50, BigDecimal d40, BigDecimal d30, BigDecimal d25, BigDecimal d20, BigDecimal d16, BigDecimal d10, BigDecimal dmin, BigDecimal durchdmin, BigDecimal dmax, BigDecimal durchdmax, BigDecimal stdabw, BigDecimal stdfehler, String bemerkung, BigDecimal uferablinks, Gsiebung gsiebung, Set<Gprobe> gprobes) {
78 this.glotrechteid = glotrechteid;
79 this.messung = messung;
80 this.uferabst = uferabst;
81 this.tgeschiebe = tgeschiebe;
82 this.dm = dm;
83 this.sk = sk;
84 this.so = so;
85 this.u = u;
86 this.d90 = d90;
87 this.d84 = d84;
88 this.d80 = d80;
89 this.d75 = d75;
90 this.d70 = d70;
91 this.d60 = d60;
92 this.d50 = d50;
93 this.d40 = d40;
94 this.d30 = d30;
95 this.d25 = d25;
96 this.d20 = d20;
97 this.d16 = d16;
98 this.d10 = d10;
99 this.dmin = dmin;
100 this.durchdmin = durchdmin;
101 this.dmax = dmax;
102 this.durchdmax = durchdmax;
103 this.stdabw = stdabw;
104 this.stdfehler = stdfehler;
105 this.bemerkung = bemerkung;
106 this.uferablinks = uferablinks;
107 this.gsiebung = gsiebung;
108 this.gprobes = gprobes;
109 }
110
111 @Id
112
113
114 @Column(name="GLOTRECHTEID", unique=true, nullable=false, precision=11, scale=0)
115 public long getGlotrechteid() {
116 return this.glotrechteid;
117 }
118
119 public void setGlotrechteid(long glotrechteid) {
120 this.glotrechteid = glotrechteid;
121 }
122
123 @ManyToOne(fetch=FetchType.LAZY)
124 @JoinColumn(name="MESSUNGID", nullable=false)
125 public Messung getMessung() {
126 return this.messung;
127 }
128
129 public void setMessung(Messung messung) {
130 this.messung = messung;
131 }
132
133
134 @Column(name="UFERABST", nullable=false, precision=8, scale=3)
135 public BigDecimal getUferabst() {
136 return this.uferabst;
137 }
138
139 public void setUferabst(BigDecimal uferabst) {
140 this.uferabst = uferabst;
141 }
142
143
144 @Column(name="TGESCHIEBE", precision=8, scale=3)
145 public BigDecimal getTgeschiebe() {
146 return this.tgeschiebe;
147 }
148
149 public void setTgeschiebe(BigDecimal tgeschiebe) {
150 this.tgeschiebe = tgeschiebe;
151 }
152
153
154 @Column(name="DM", precision=7, scale=4)
155 public BigDecimal getDm() {
156 return this.dm;
157 }
158
159 public void setDm(BigDecimal dm) {
160 this.dm = dm;
161 }
162
163
164 @Column(name="SK", precision=8, scale=3)
165 public BigDecimal getSk() {
166 return this.sk;
167 }
168
169 public void setSk(BigDecimal sk) {
170 this.sk = sk;
171 }
172
173
174 @Column(name="SO", precision=8, scale=3)
175 public BigDecimal getSo() {
176 return this.so;
177 }
178
179 public void setSo(BigDecimal so) {
180 this.so = so;
181 }
182
183
184 @Column(name="U", precision=8, scale=3)
185 public BigDecimal getU() {
186 return this.u;
187 }
188
189 public void setU(BigDecimal u) {
190 this.u = u;
191 }
192
193
194 @Column(name="D90", precision=7, scale=4)
195 public BigDecimal getD90() {
196 return this.d90;
197 }
198
199 public void setD90(BigDecimal d90) {
200 this.d90 = d90;
201 }
202
203
204 @Column(name="D84", precision=7, scale=4)
205 public BigDecimal getD84() {
206 return this.d84;
207 }
208
209 public void setD84(BigDecimal d84) {
210 this.d84 = d84;
211 }
212
213
214 @Column(name="D80", precision=7, scale=4)
215 public BigDecimal getD80() {
216 return this.d80;
217 }
218
219 public void setD80(BigDecimal d80) {
220 this.d80 = d80;
221 }
222
223
224 @Column(name="D75", precision=7, scale=4)
225 public BigDecimal getD75() {
226 return this.d75;
227 }
228
229 public void setD75(BigDecimal d75) {
230 this.d75 = d75;
231 }
232
233
234 @Column(name="D70", precision=7, scale=4)
235 public BigDecimal getD70() {
236 return this.d70;
237 }
238
239 public void setD70(BigDecimal d70) {
240 this.d70 = d70;
241 }
242
243
244 @Column(name="D60", precision=7, scale=4)
245 public BigDecimal getD60() {
246 return this.d60;
247 }
248
249 public void setD60(BigDecimal d60) {
250 this.d60 = d60;
251 }
252
253
254 @Column(name="D50", precision=7, scale=4)
255 public BigDecimal getD50() {
256 return this.d50;
257 }
258
259 public void setD50(BigDecimal d50) {
260 this.d50 = d50;
261 }
262
263
264 @Column(name="D40", precision=7, scale=4)
265 public BigDecimal getD40() {
266 return this.d40;
267 }
268
269 public void setD40(BigDecimal d40) {
270 this.d40 = d40;
271 }
272
273
274 @Column(name="D30", precision=7, scale=4)
275 public BigDecimal getD30() {
276 return this.d30;
277 }
278
279 public void setD30(BigDecimal d30) {
280 this.d30 = d30;
281 }
282
283
284 @Column(name="D25", precision=7, scale=4)
285 public BigDecimal getD25() {
286 return this.d25;
287 }
288
289 public void setD25(BigDecimal d25) {
290 this.d25 = d25;
291 }
292
293
294 @Column(name="D20", precision=7, scale=4)
295 public BigDecimal getD20() {
296 return this.d20;
297 }
298
299 public void setD20(BigDecimal d20) {
300 this.d20 = d20;
301 }
302
303
304 @Column(name="D16", precision=7, scale=4)
305 public BigDecimal getD16() {
306 return this.d16;
307 }
308
309 public void setD16(BigDecimal d16) {
310 this.d16 = d16;
311 }
312
313
314 @Column(name="D10", precision=7, scale=4)
315 public BigDecimal getD10() {
316 return this.d10;
317 }
318
319 public void setD10(BigDecimal d10) {
320 this.d10 = d10;
321 }
322
323
324 @Column(name="DMIN", precision=7, scale=4)
325 public BigDecimal getDmin() {
326 return this.dmin;
327 }
328
329 public void setDmin(BigDecimal dmin) {
330 this.dmin = dmin;
331 }
332
333
334 @Column(name="DURCHDMIN", precision=6, scale=3)
335 public BigDecimal getDurchdmin() {
336 return this.durchdmin;
337 }
338
339 public void setDurchdmin(BigDecimal durchdmin) {
340 this.durchdmin = durchdmin;
341 }
342
343
344 @Column(name="DMAX", precision=7, scale=4)
345 public BigDecimal getDmax() {
346 return this.dmax;
347 }
348
349 public void setDmax(BigDecimal dmax) {
350 this.dmax = dmax;
351 }
352
353
354 @Column(name="DURCHDMAX", precision=6, scale=3)
355 public BigDecimal getDurchdmax() {
356 return this.durchdmax;
357 }
358
359 public void setDurchdmax(BigDecimal durchdmax) {
360 this.durchdmax = durchdmax;
361 }
362
363
364 @Column(name="STDABW", precision=8, scale=3)
365 public BigDecimal getStdabw() {
366 return this.stdabw;
367 }
368
369 public void setStdabw(BigDecimal stdabw) {
370 this.stdabw = stdabw;
371 }
372
373
374 @Column(name="STDFEHLER", precision=8, scale=3)
375 public BigDecimal getStdfehler() {
376 return this.stdfehler;
377 }
378
379 public void setStdfehler(BigDecimal stdfehler) {
380 this.stdfehler = stdfehler;
381 }
382
383
384 @Column(name="BEMERKUNG", length=240)
385 public String getBemerkung() {
386 return this.bemerkung;
387 }
388
389 public void setBemerkung(String bemerkung) {
390 this.bemerkung = bemerkung;
391 }
392
393
394 @Column(name="UFERABLINKS", precision=8, scale=3)
395 public BigDecimal getUferablinks() {
396 return this.uferablinks;
397 }
398
399 public void setUferablinks(BigDecimal uferablinks) {
400 this.uferablinks = uferablinks;
401 }
402
403 @OneToOne(fetch=FetchType.LAZY, mappedBy="glotrechte")
404 public Gsiebung getGsiebung() {
405 return this.gsiebung;
406 }
407
408 public void setGsiebung(Gsiebung gsiebung) {
409 this.gsiebung = gsiebung;
410 }
411
412 @OneToMany(fetch=FetchType.LAZY, mappedBy="glotrechte")
413 public Set<Gprobe> getGprobes() {
414 return this.gprobes;
415 }
416
417 public void setGprobes(Set<Gprobe> gprobes) {
418 this.gprobes = gprobes;
419 }
420 }

http://dive4elements.wald.intevation.org