Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/seddb/model/Hpeilung.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/Hpeilung.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.Date; | |
15 import java.util.HashSet; | |
16 import java.util.Set; | |
17 import javax.persistence.Column; | |
18 import javax.persistence.Entity; | |
19 import javax.persistence.FetchType; | |
20 import javax.persistence.Id; | |
21 import javax.persistence.JoinColumn; | |
22 import javax.persistence.ManyToOne; | |
23 import javax.persistence.OneToMany; | |
24 import javax.persistence.Table; | |
25 import javax.persistence.Temporal; | |
26 import javax.persistence.TemporalType; | |
27 | |
28 /** | |
29 * Hpeilung generated by hbm2java | |
30 */ | |
31 @Entity | |
32 @Table(name="HPEILUNG" | |
33 ,schema="SEDDB" | |
34 ) | |
35 public class Hpeilung implements java.io.Serializable { | |
36 | |
37 | |
38 private long hpeilungid; | |
39 private Station station; | |
40 private BigDecimal km; | |
41 private Date datum; | |
42 private String glwname; | |
43 private BigDecimal glwhoehe; | |
44 private BigDecimal buliabst; | |
45 private BigDecimal bulihoehe; | |
46 private BigDecimal bulifuss; | |
47 private BigDecimal buliruecken; | |
48 private BigDecimal bureabst; | |
49 private BigDecimal burehoehe; | |
50 private BigDecimal burefuss; | |
51 private BigDecimal bureruecken; | |
52 private BigDecimal fahrliabst; | |
53 private BigDecimal fahrreabst; | |
54 private BigDecimal fahrtief; | |
55 private BigDecimal ausbliabst; | |
56 private BigDecimal ausbreabst; | |
57 private BigDecimal achseabst; | |
58 private BigDecimal teilvonabst; | |
59 private BigDecimal teilbisabst; | |
60 private BigDecimal hmabst; | |
61 private BigDecimal lgkrechts; | |
62 private BigDecimal lgkhoch; | |
63 private BigDecimal lgkhoehe; | |
64 private BigDecimal rgkrechts; | |
65 private BigDecimal rgkhoch; | |
66 private BigDecimal rgkhoehe; | |
67 private String bemerkung; | |
68 private Date lastupdated; | |
69 private Long oldprfid; | |
70 private BigDecimal mitteabst; | |
71 private Set<Hpeilpunkt> hpeilpunkts = new HashSet<Hpeilpunkt>(0); | |
72 private Set<Messung> messungs = new HashSet<Messung>(0); | |
73 | |
74 public Hpeilung() { | |
75 } | |
76 | |
77 public Hpeilung(long hpeilungid, Station station, BigDecimal km, Date datum, Date lastupdated) { | |
78 this.hpeilungid = hpeilungid; | |
79 this.station = station; | |
80 this.km = km; | |
81 this.datum = datum; | |
82 this.lastupdated = lastupdated; | |
83 } | |
84 public Hpeilung(long hpeilungid, Station station, BigDecimal km, Date datum, String glwname, BigDecimal glwhoehe, BigDecimal buliabst, BigDecimal bulihoehe, BigDecimal bulifuss, BigDecimal buliruecken, BigDecimal bureabst, BigDecimal burehoehe, BigDecimal burefuss, BigDecimal bureruecken, BigDecimal fahrliabst, BigDecimal fahrreabst, BigDecimal fahrtief, BigDecimal ausbliabst, BigDecimal ausbreabst, BigDecimal achseabst, BigDecimal teilvonabst, BigDecimal teilbisabst, BigDecimal hmabst, BigDecimal lgkrechts, BigDecimal lgkhoch, BigDecimal lgkhoehe, BigDecimal rgkrechts, BigDecimal rgkhoch, BigDecimal rgkhoehe, String bemerkung, Date lastupdated, Long oldprfid, BigDecimal mitteabst, Set<Hpeilpunkt> hpeilpunkts, Set<Messung> messungs) { | |
85 this.hpeilungid = hpeilungid; | |
86 this.station = station; | |
87 this.km = km; | |
88 this.datum = datum; | |
89 this.glwname = glwname; | |
90 this.glwhoehe = glwhoehe; | |
91 this.buliabst = buliabst; | |
92 this.bulihoehe = bulihoehe; | |
93 this.bulifuss = bulifuss; | |
94 this.buliruecken = buliruecken; | |
95 this.bureabst = bureabst; | |
96 this.burehoehe = burehoehe; | |
97 this.burefuss = burefuss; | |
98 this.bureruecken = bureruecken; | |
99 this.fahrliabst = fahrliabst; | |
100 this.fahrreabst = fahrreabst; | |
101 this.fahrtief = fahrtief; | |
102 this.ausbliabst = ausbliabst; | |
103 this.ausbreabst = ausbreabst; | |
104 this.achseabst = achseabst; | |
105 this.teilvonabst = teilvonabst; | |
106 this.teilbisabst = teilbisabst; | |
107 this.hmabst = hmabst; | |
108 this.lgkrechts = lgkrechts; | |
109 this.lgkhoch = lgkhoch; | |
110 this.lgkhoehe = lgkhoehe; | |
111 this.rgkrechts = rgkrechts; | |
112 this.rgkhoch = rgkhoch; | |
113 this.rgkhoehe = rgkhoehe; | |
114 this.bemerkung = bemerkung; | |
115 this.lastupdated = lastupdated; | |
116 this.oldprfid = oldprfid; | |
117 this.mitteabst = mitteabst; | |
118 this.hpeilpunkts = hpeilpunkts; | |
119 this.messungs = messungs; | |
120 } | |
121 | |
122 @Id | |
123 | |
124 | |
125 @Column(name="HPEILUNGID", unique=true, nullable=false, precision=11, scale=0) | |
126 public long getHpeilungid() { | |
127 return this.hpeilungid; | |
128 } | |
129 | |
130 public void setHpeilungid(long hpeilungid) { | |
131 this.hpeilungid = hpeilungid; | |
132 } | |
133 | |
134 @ManyToOne(fetch=FetchType.LAZY) | |
135 @JoinColumn(name="STATIONID", nullable=false) | |
136 public Station getStation() { | |
137 return this.station; | |
138 } | |
139 | |
140 public void setStation(Station station) { | |
141 this.station = station; | |
142 } | |
143 | |
144 | |
145 @Column(name="KM", nullable=false, precision=8, scale=3) | |
146 public BigDecimal getKm() { | |
147 return this.km; | |
148 } | |
149 | |
150 public void setKm(BigDecimal km) { | |
151 this.km = km; | |
152 } | |
153 | |
154 @Temporal(TemporalType.DATE) | |
155 @Column(name="DATUM", nullable=false, length=7) | |
156 public Date getDatum() { | |
157 return this.datum; | |
158 } | |
159 | |
160 public void setDatum(Date datum) { | |
161 this.datum = datum; | |
162 } | |
163 | |
164 | |
165 @Column(name="GLWNAME", length=8) | |
166 public String getGlwname() { | |
167 return this.glwname; | |
168 } | |
169 | |
170 public void setGlwname(String glwname) { | |
171 this.glwname = glwname; | |
172 } | |
173 | |
174 | |
175 @Column(name="GLWHOEHE", precision=8, scale=3) | |
176 public BigDecimal getGlwhoehe() { | |
177 return this.glwhoehe; | |
178 } | |
179 | |
180 public void setGlwhoehe(BigDecimal glwhoehe) { | |
181 this.glwhoehe = glwhoehe; | |
182 } | |
183 | |
184 | |
185 @Column(name="BULIABST", precision=8, scale=3) | |
186 public BigDecimal getBuliabst() { | |
187 return this.buliabst; | |
188 } | |
189 | |
190 public void setBuliabst(BigDecimal buliabst) { | |
191 this.buliabst = buliabst; | |
192 } | |
193 | |
194 | |
195 @Column(name="BULIHOEHE", precision=8, scale=3) | |
196 public BigDecimal getBulihoehe() { | |
197 return this.bulihoehe; | |
198 } | |
199 | |
200 public void setBulihoehe(BigDecimal bulihoehe) { | |
201 this.bulihoehe = bulihoehe; | |
202 } | |
203 | |
204 | |
205 @Column(name="BULIFUSS", precision=8, scale=3) | |
206 public BigDecimal getBulifuss() { | |
207 return this.bulifuss; | |
208 } | |
209 | |
210 public void setBulifuss(BigDecimal bulifuss) { | |
211 this.bulifuss = bulifuss; | |
212 } | |
213 | |
214 | |
215 @Column(name="BULIRUECKEN", precision=8, scale=3) | |
216 public BigDecimal getBuliruecken() { | |
217 return this.buliruecken; | |
218 } | |
219 | |
220 public void setBuliruecken(BigDecimal buliruecken) { | |
221 this.buliruecken = buliruecken; | |
222 } | |
223 | |
224 | |
225 @Column(name="BUREABST", precision=8, scale=3) | |
226 public BigDecimal getBureabst() { | |
227 return this.bureabst; | |
228 } | |
229 | |
230 public void setBureabst(BigDecimal bureabst) { | |
231 this.bureabst = bureabst; | |
232 } | |
233 | |
234 | |
235 @Column(name="BUREHOEHE", precision=8, scale=3) | |
236 public BigDecimal getBurehoehe() { | |
237 return this.burehoehe; | |
238 } | |
239 | |
240 public void setBurehoehe(BigDecimal burehoehe) { | |
241 this.burehoehe = burehoehe; | |
242 } | |
243 | |
244 | |
245 @Column(name="BUREFUSS", precision=8, scale=3) | |
246 public BigDecimal getBurefuss() { | |
247 return this.burefuss; | |
248 } | |
249 | |
250 public void setBurefuss(BigDecimal burefuss) { | |
251 this.burefuss = burefuss; | |
252 } | |
253 | |
254 | |
255 @Column(name="BURERUECKEN", precision=8, scale=3) | |
256 public BigDecimal getBureruecken() { | |
257 return this.bureruecken; | |
258 } | |
259 | |
260 public void setBureruecken(BigDecimal bureruecken) { | |
261 this.bureruecken = bureruecken; | |
262 } | |
263 | |
264 | |
265 @Column(name="FAHRLIABST", precision=8, scale=3) | |
266 public BigDecimal getFahrliabst() { | |
267 return this.fahrliabst; | |
268 } | |
269 | |
270 public void setFahrliabst(BigDecimal fahrliabst) { | |
271 this.fahrliabst = fahrliabst; | |
272 } | |
273 | |
274 | |
275 @Column(name="FAHRREABST", precision=8, scale=3) | |
276 public BigDecimal getFahrreabst() { | |
277 return this.fahrreabst; | |
278 } | |
279 | |
280 public void setFahrreabst(BigDecimal fahrreabst) { | |
281 this.fahrreabst = fahrreabst; | |
282 } | |
283 | |
284 | |
285 @Column(name="FAHRTIEF", precision=8, scale=3) | |
286 public BigDecimal getFahrtief() { | |
287 return this.fahrtief; | |
288 } | |
289 | |
290 public void setFahrtief(BigDecimal fahrtief) { | |
291 this.fahrtief = fahrtief; | |
292 } | |
293 | |
294 | |
295 @Column(name="AUSBLIABST", precision=8, scale=3) | |
296 public BigDecimal getAusbliabst() { | |
297 return this.ausbliabst; | |
298 } | |
299 | |
300 public void setAusbliabst(BigDecimal ausbliabst) { | |
301 this.ausbliabst = ausbliabst; | |
302 } | |
303 | |
304 | |
305 @Column(name="AUSBREABST", precision=8, scale=3) | |
306 public BigDecimal getAusbreabst() { | |
307 return this.ausbreabst; | |
308 } | |
309 | |
310 public void setAusbreabst(BigDecimal ausbreabst) { | |
311 this.ausbreabst = ausbreabst; | |
312 } | |
313 | |
314 | |
315 @Column(name="ACHSEABST", precision=8, scale=3) | |
316 public BigDecimal getAchseabst() { | |
317 return this.achseabst; | |
318 } | |
319 | |
320 public void setAchseabst(BigDecimal achseabst) { | |
321 this.achseabst = achseabst; | |
322 } | |
323 | |
324 | |
325 @Column(name="TEILVONABST", precision=8, scale=3) | |
326 public BigDecimal getTeilvonabst() { | |
327 return this.teilvonabst; | |
328 } | |
329 | |
330 public void setTeilvonabst(BigDecimal teilvonabst) { | |
331 this.teilvonabst = teilvonabst; | |
332 } | |
333 | |
334 | |
335 @Column(name="TEILBISABST", precision=8, scale=3) | |
336 public BigDecimal getTeilbisabst() { | |
337 return this.teilbisabst; | |
338 } | |
339 | |
340 public void setTeilbisabst(BigDecimal teilbisabst) { | |
341 this.teilbisabst = teilbisabst; | |
342 } | |
343 | |
344 | |
345 @Column(name="HMABST", precision=8, scale=3) | |
346 public BigDecimal getHmabst() { | |
347 return this.hmabst; | |
348 } | |
349 | |
350 public void setHmabst(BigDecimal hmabst) { | |
351 this.hmabst = hmabst; | |
352 } | |
353 | |
354 | |
355 @Column(name="LGKRECHTS", precision=11, scale=3) | |
356 public BigDecimal getLgkrechts() { | |
357 return this.lgkrechts; | |
358 } | |
359 | |
360 public void setLgkrechts(BigDecimal lgkrechts) { | |
361 this.lgkrechts = lgkrechts; | |
362 } | |
363 | |
364 | |
365 @Column(name="LGKHOCH", precision=11, scale=3) | |
366 public BigDecimal getLgkhoch() { | |
367 return this.lgkhoch; | |
368 } | |
369 | |
370 public void setLgkhoch(BigDecimal lgkhoch) { | |
371 this.lgkhoch = lgkhoch; | |
372 } | |
373 | |
374 | |
375 @Column(name="LGKHOEHE", precision=8, scale=3) | |
376 public BigDecimal getLgkhoehe() { | |
377 return this.lgkhoehe; | |
378 } | |
379 | |
380 public void setLgkhoehe(BigDecimal lgkhoehe) { | |
381 this.lgkhoehe = lgkhoehe; | |
382 } | |
383 | |
384 | |
385 @Column(name="RGKRECHTS", precision=11, scale=3) | |
386 public BigDecimal getRgkrechts() { | |
387 return this.rgkrechts; | |
388 } | |
389 | |
390 public void setRgkrechts(BigDecimal rgkrechts) { | |
391 this.rgkrechts = rgkrechts; | |
392 } | |
393 | |
394 | |
395 @Column(name="RGKHOCH", precision=11, scale=3) | |
396 public BigDecimal getRgkhoch() { | |
397 return this.rgkhoch; | |
398 } | |
399 | |
400 public void setRgkhoch(BigDecimal rgkhoch) { | |
401 this.rgkhoch = rgkhoch; | |
402 } | |
403 | |
404 | |
405 @Column(name="RGKHOEHE", precision=8, scale=3) | |
406 public BigDecimal getRgkhoehe() { | |
407 return this.rgkhoehe; | |
408 } | |
409 | |
410 public void setRgkhoehe(BigDecimal rgkhoehe) { | |
411 this.rgkhoehe = rgkhoehe; | |
412 } | |
413 | |
414 | |
415 @Column(name="BEMERKUNG", length=240) | |
416 public String getBemerkung() { | |
417 return this.bemerkung; | |
418 } | |
419 | |
420 public void setBemerkung(String bemerkung) { | |
421 this.bemerkung = bemerkung; | |
422 } | |
423 | |
424 @Temporal(TemporalType.DATE) | |
425 @Column(name="LASTUPDATED", nullable=false, length=7) | |
426 public Date getLastupdated() { | |
427 return this.lastupdated; | |
428 } | |
429 | |
430 public void setLastupdated(Date lastupdated) { | |
431 this.lastupdated = lastupdated; | |
432 } | |
433 | |
434 | |
435 @Column(name="OLDPRFID", precision=11, scale=0) | |
436 public Long getOldprfid() { | |
437 return this.oldprfid; | |
438 } | |
439 | |
440 public void setOldprfid(Long oldprfid) { | |
441 this.oldprfid = oldprfid; | |
442 } | |
443 | |
444 | |
445 @Column(name="MITTEABST", precision=8, scale=3) | |
446 public BigDecimal getMitteabst() { | |
447 return this.mitteabst; | |
448 } | |
449 | |
450 public void setMitteabst(BigDecimal mitteabst) { | |
451 this.mitteabst = mitteabst; | |
452 } | |
453 | |
454 @OneToMany(fetch=FetchType.LAZY, mappedBy="hpeilung") | |
455 public Set<Hpeilpunkt> getHpeilpunkts() { | |
456 return this.hpeilpunkts; | |
457 } | |
458 | |
459 public void setHpeilpunkts(Set<Hpeilpunkt> hpeilpunkts) { | |
460 this.hpeilpunkts = hpeilpunkts; | |
461 } | |
462 | |
463 @OneToMany(fetch=FetchType.LAZY, mappedBy="hpeilung") | |
464 public Set<Messung> getMessungs() { | |
465 return this.messungs; | |
466 } | |
467 | |
468 public void setMessungs(Set<Messung> messungs) { | |
469 this.messungs = messungs; | |
470 } | |
471 } |