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