Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/seddb/model/GlotlinksId.java @ 3334:2ae732e2c65c
FLYS backend: Removed trailing whitespace.
flys-backend/trunk@4669 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 15 Jun 2012 09:20:49 +0000 |
parents | aa8ed778c8cc |
children | 18619c1e7c2a |
comparison
equal
deleted
inserted
replaced
3333:76c75c8b9ee0 | 3334:2ae732e2c65c |
---|---|
45 private BigDecimal linksabst; | 45 private BigDecimal linksabst; |
46 | 46 |
47 public GlotlinksId() { | 47 public GlotlinksId() { |
48 } | 48 } |
49 | 49 |
50 | 50 |
51 public GlotlinksId(long glotrechteid, long messungid, BigDecimal uferabst) { | 51 public GlotlinksId(long glotrechteid, long messungid, BigDecimal uferabst) { |
52 this.glotrechteid = glotrechteid; | 52 this.glotrechteid = glotrechteid; |
53 this.messungid = messungid; | 53 this.messungid = messungid; |
54 this.uferabst = uferabst; | 54 this.uferabst = uferabst; |
55 } | 55 } |
83 this.stdfehler = stdfehler; | 83 this.stdfehler = stdfehler; |
84 this.bemerkung = bemerkung; | 84 this.bemerkung = bemerkung; |
85 this.uferablinks = uferablinks; | 85 this.uferablinks = uferablinks; |
86 this.linksabst = linksabst; | 86 this.linksabst = linksabst; |
87 } | 87 } |
88 | 88 |
89 | 89 |
90 | 90 |
91 @Column(name="GLOTRECHTEID", nullable=false, precision=11, scale=0) | 91 @Column(name="GLOTRECHTEID", nullable=false, precision=11, scale=0) |
92 public long getGlotrechteid() { | 92 public long getGlotrechteid() { |
93 return this.glotrechteid; | 93 return this.glotrechteid; |
94 } | 94 } |
95 | 95 |
96 public void setGlotrechteid(long glotrechteid) { | 96 public void setGlotrechteid(long glotrechteid) { |
97 this.glotrechteid = glotrechteid; | 97 this.glotrechteid = glotrechteid; |
98 } | 98 } |
99 | 99 |
100 | 100 |
101 @Column(name="MESSUNGID", nullable=false, precision=11, scale=0) | 101 @Column(name="MESSUNGID", nullable=false, precision=11, scale=0) |
102 public long getMessungid() { | 102 public long getMessungid() { |
103 return this.messungid; | 103 return this.messungid; |
104 } | 104 } |
105 | 105 |
106 public void setMessungid(long messungid) { | 106 public void setMessungid(long messungid) { |
107 this.messungid = messungid; | 107 this.messungid = messungid; |
108 } | 108 } |
109 | 109 |
110 | 110 |
111 @Column(name="UFERABST", nullable=false, precision=8, scale=3) | 111 @Column(name="UFERABST", nullable=false, precision=8, scale=3) |
112 public BigDecimal getUferabst() { | 112 public BigDecimal getUferabst() { |
113 return this.uferabst; | 113 return this.uferabst; |
114 } | 114 } |
115 | 115 |
116 public void setUferabst(BigDecimal uferabst) { | 116 public void setUferabst(BigDecimal uferabst) { |
117 this.uferabst = uferabst; | 117 this.uferabst = uferabst; |
118 } | 118 } |
119 | 119 |
120 | 120 |
121 @Column(name="TGESCHIEBE", precision=8, scale=3) | 121 @Column(name="TGESCHIEBE", precision=8, scale=3) |
122 public BigDecimal getTgeschiebe() { | 122 public BigDecimal getTgeschiebe() { |
123 return this.tgeschiebe; | 123 return this.tgeschiebe; |
124 } | 124 } |
125 | 125 |
126 public void setTgeschiebe(BigDecimal tgeschiebe) { | 126 public void setTgeschiebe(BigDecimal tgeschiebe) { |
127 this.tgeschiebe = tgeschiebe; | 127 this.tgeschiebe = tgeschiebe; |
128 } | 128 } |
129 | 129 |
130 | 130 |
131 @Column(name="DM", precision=7, scale=4) | 131 @Column(name="DM", precision=7, scale=4) |
132 public BigDecimal getDm() { | 132 public BigDecimal getDm() { |
133 return this.dm; | 133 return this.dm; |
134 } | 134 } |
135 | 135 |
136 public void setDm(BigDecimal dm) { | 136 public void setDm(BigDecimal dm) { |
137 this.dm = dm; | 137 this.dm = dm; |
138 } | 138 } |
139 | 139 |
140 | 140 |
141 @Column(name="SK", precision=8, scale=3) | 141 @Column(name="SK", precision=8, scale=3) |
142 public BigDecimal getSk() { | 142 public BigDecimal getSk() { |
143 return this.sk; | 143 return this.sk; |
144 } | 144 } |
145 | 145 |
146 public void setSk(BigDecimal sk) { | 146 public void setSk(BigDecimal sk) { |
147 this.sk = sk; | 147 this.sk = sk; |
148 } | 148 } |
149 | 149 |
150 | 150 |
151 @Column(name="SO", precision=8, scale=3) | 151 @Column(name="SO", precision=8, scale=3) |
152 public BigDecimal getSo() { | 152 public BigDecimal getSo() { |
153 return this.so; | 153 return this.so; |
154 } | 154 } |
155 | 155 |
156 public void setSo(BigDecimal so) { | 156 public void setSo(BigDecimal so) { |
157 this.so = so; | 157 this.so = so; |
158 } | 158 } |
159 | 159 |
160 | 160 |
161 @Column(name="U", precision=8, scale=3) | 161 @Column(name="U", precision=8, scale=3) |
162 public BigDecimal getU() { | 162 public BigDecimal getU() { |
163 return this.u; | 163 return this.u; |
164 } | 164 } |
165 | 165 |
166 public void setU(BigDecimal u) { | 166 public void setU(BigDecimal u) { |
167 this.u = u; | 167 this.u = u; |
168 } | 168 } |
169 | 169 |
170 | 170 |
171 @Column(name="D90", precision=7, scale=4) | 171 @Column(name="D90", precision=7, scale=4) |
172 public BigDecimal getD90() { | 172 public BigDecimal getD90() { |
173 return this.d90; | 173 return this.d90; |
174 } | 174 } |
175 | 175 |
176 public void setD90(BigDecimal d90) { | 176 public void setD90(BigDecimal d90) { |
177 this.d90 = d90; | 177 this.d90 = d90; |
178 } | 178 } |
179 | 179 |
180 | 180 |
181 @Column(name="D84", precision=7, scale=4) | 181 @Column(name="D84", precision=7, scale=4) |
182 public BigDecimal getD84() { | 182 public BigDecimal getD84() { |
183 return this.d84; | 183 return this.d84; |
184 } | 184 } |
185 | 185 |
186 public void setD84(BigDecimal d84) { | 186 public void setD84(BigDecimal d84) { |
187 this.d84 = d84; | 187 this.d84 = d84; |
188 } | 188 } |
189 | 189 |
190 | 190 |
191 @Column(name="D80", precision=7, scale=4) | 191 @Column(name="D80", precision=7, scale=4) |
192 public BigDecimal getD80() { | 192 public BigDecimal getD80() { |
193 return this.d80; | 193 return this.d80; |
194 } | 194 } |
195 | 195 |
196 public void setD80(BigDecimal d80) { | 196 public void setD80(BigDecimal d80) { |
197 this.d80 = d80; | 197 this.d80 = d80; |
198 } | 198 } |
199 | 199 |
200 | 200 |
201 @Column(name="D75", precision=7, scale=4) | 201 @Column(name="D75", precision=7, scale=4) |
202 public BigDecimal getD75() { | 202 public BigDecimal getD75() { |
203 return this.d75; | 203 return this.d75; |
204 } | 204 } |
205 | 205 |
206 public void setD75(BigDecimal d75) { | 206 public void setD75(BigDecimal d75) { |
207 this.d75 = d75; | 207 this.d75 = d75; |
208 } | 208 } |
209 | 209 |
210 | 210 |
211 @Column(name="D70", precision=7, scale=4) | 211 @Column(name="D70", precision=7, scale=4) |
212 public BigDecimal getD70() { | 212 public BigDecimal getD70() { |
213 return this.d70; | 213 return this.d70; |
214 } | 214 } |
215 | 215 |
216 public void setD70(BigDecimal d70) { | 216 public void setD70(BigDecimal d70) { |
217 this.d70 = d70; | 217 this.d70 = d70; |
218 } | 218 } |
219 | 219 |
220 | 220 |
221 @Column(name="D60", precision=7, scale=4) | 221 @Column(name="D60", precision=7, scale=4) |
222 public BigDecimal getD60() { | 222 public BigDecimal getD60() { |
223 return this.d60; | 223 return this.d60; |
224 } | 224 } |
225 | 225 |
226 public void setD60(BigDecimal d60) { | 226 public void setD60(BigDecimal d60) { |
227 this.d60 = d60; | 227 this.d60 = d60; |
228 } | 228 } |
229 | 229 |
230 | 230 |
231 @Column(name="D50", precision=7, scale=4) | 231 @Column(name="D50", precision=7, scale=4) |
232 public BigDecimal getD50() { | 232 public BigDecimal getD50() { |
233 return this.d50; | 233 return this.d50; |
234 } | 234 } |
235 | 235 |
236 public void setD50(BigDecimal d50) { | 236 public void setD50(BigDecimal d50) { |
237 this.d50 = d50; | 237 this.d50 = d50; |
238 } | 238 } |
239 | 239 |
240 | 240 |
241 @Column(name="D40", precision=7, scale=4) | 241 @Column(name="D40", precision=7, scale=4) |
242 public BigDecimal getD40() { | 242 public BigDecimal getD40() { |
243 return this.d40; | 243 return this.d40; |
244 } | 244 } |
245 | 245 |
246 public void setD40(BigDecimal d40) { | 246 public void setD40(BigDecimal d40) { |
247 this.d40 = d40; | 247 this.d40 = d40; |
248 } | 248 } |
249 | 249 |
250 | 250 |
251 @Column(name="D30", precision=7, scale=4) | 251 @Column(name="D30", precision=7, scale=4) |
252 public BigDecimal getD30() { | 252 public BigDecimal getD30() { |
253 return this.d30; | 253 return this.d30; |
254 } | 254 } |
255 | 255 |
256 public void setD30(BigDecimal d30) { | 256 public void setD30(BigDecimal d30) { |
257 this.d30 = d30; | 257 this.d30 = d30; |
258 } | 258 } |
259 | 259 |
260 | 260 |
261 @Column(name="D25", precision=7, scale=4) | 261 @Column(name="D25", precision=7, scale=4) |
262 public BigDecimal getD25() { | 262 public BigDecimal getD25() { |
263 return this.d25; | 263 return this.d25; |
264 } | 264 } |
265 | 265 |
266 public void setD25(BigDecimal d25) { | 266 public void setD25(BigDecimal d25) { |
267 this.d25 = d25; | 267 this.d25 = d25; |
268 } | 268 } |
269 | 269 |
270 | 270 |
271 @Column(name="D20", precision=7, scale=4) | 271 @Column(name="D20", precision=7, scale=4) |
272 public BigDecimal getD20() { | 272 public BigDecimal getD20() { |
273 return this.d20; | 273 return this.d20; |
274 } | 274 } |
275 | 275 |
276 public void setD20(BigDecimal d20) { | 276 public void setD20(BigDecimal d20) { |
277 this.d20 = d20; | 277 this.d20 = d20; |
278 } | 278 } |
279 | 279 |
280 | 280 |
281 @Column(name="D16", precision=7, scale=4) | 281 @Column(name="D16", precision=7, scale=4) |
282 public BigDecimal getD16() { | 282 public BigDecimal getD16() { |
283 return this.d16; | 283 return this.d16; |
284 } | 284 } |
285 | 285 |
286 public void setD16(BigDecimal d16) { | 286 public void setD16(BigDecimal d16) { |
287 this.d16 = d16; | 287 this.d16 = d16; |
288 } | 288 } |
289 | 289 |
290 | 290 |
291 @Column(name="D10", precision=7, scale=4) | 291 @Column(name="D10", precision=7, scale=4) |
292 public BigDecimal getD10() { | 292 public BigDecimal getD10() { |
293 return this.d10; | 293 return this.d10; |
294 } | 294 } |
295 | 295 |
296 public void setD10(BigDecimal d10) { | 296 public void setD10(BigDecimal d10) { |
297 this.d10 = d10; | 297 this.d10 = d10; |
298 } | 298 } |
299 | 299 |
300 | 300 |
301 @Column(name="DMIN", precision=7, scale=4) | 301 @Column(name="DMIN", precision=7, scale=4) |
302 public BigDecimal getDmin() { | 302 public BigDecimal getDmin() { |
303 return this.dmin; | 303 return this.dmin; |
304 } | 304 } |
305 | 305 |
306 public void setDmin(BigDecimal dmin) { | 306 public void setDmin(BigDecimal dmin) { |
307 this.dmin = dmin; | 307 this.dmin = dmin; |
308 } | 308 } |
309 | 309 |
310 | 310 |
311 @Column(name="DURCHDMIN", precision=6, scale=3) | 311 @Column(name="DURCHDMIN", precision=6, scale=3) |
312 public BigDecimal getDurchdmin() { | 312 public BigDecimal getDurchdmin() { |
313 return this.durchdmin; | 313 return this.durchdmin; |
314 } | 314 } |
315 | 315 |
316 public void setDurchdmin(BigDecimal durchdmin) { | 316 public void setDurchdmin(BigDecimal durchdmin) { |
317 this.durchdmin = durchdmin; | 317 this.durchdmin = durchdmin; |
318 } | 318 } |
319 | 319 |
320 | 320 |
321 @Column(name="DMAX", precision=7, scale=4) | 321 @Column(name="DMAX", precision=7, scale=4) |
322 public BigDecimal getDmax() { | 322 public BigDecimal getDmax() { |
323 return this.dmax; | 323 return this.dmax; |
324 } | 324 } |
325 | 325 |
326 public void setDmax(BigDecimal dmax) { | 326 public void setDmax(BigDecimal dmax) { |
327 this.dmax = dmax; | 327 this.dmax = dmax; |
328 } | 328 } |
329 | 329 |
330 | 330 |
331 @Column(name="DURCHDMAX", precision=6, scale=3) | 331 @Column(name="DURCHDMAX", precision=6, scale=3) |
332 public BigDecimal getDurchdmax() { | 332 public BigDecimal getDurchdmax() { |
333 return this.durchdmax; | 333 return this.durchdmax; |
334 } | 334 } |
335 | 335 |
336 public void setDurchdmax(BigDecimal durchdmax) { | 336 public void setDurchdmax(BigDecimal durchdmax) { |
337 this.durchdmax = durchdmax; | 337 this.durchdmax = durchdmax; |
338 } | 338 } |
339 | 339 |
340 | 340 |
341 @Column(name="STDABW", precision=8, scale=3) | 341 @Column(name="STDABW", precision=8, scale=3) |
342 public BigDecimal getStdabw() { | 342 public BigDecimal getStdabw() { |
343 return this.stdabw; | 343 return this.stdabw; |
344 } | 344 } |
345 | 345 |
346 public void setStdabw(BigDecimal stdabw) { | 346 public void setStdabw(BigDecimal stdabw) { |
347 this.stdabw = stdabw; | 347 this.stdabw = stdabw; |
348 } | 348 } |
349 | 349 |
350 | 350 |
351 @Column(name="STDFEHLER", precision=8, scale=3) | 351 @Column(name="STDFEHLER", precision=8, scale=3) |
352 public BigDecimal getStdfehler() { | 352 public BigDecimal getStdfehler() { |
353 return this.stdfehler; | 353 return this.stdfehler; |
354 } | 354 } |
355 | 355 |
356 public void setStdfehler(BigDecimal stdfehler) { | 356 public void setStdfehler(BigDecimal stdfehler) { |
357 this.stdfehler = stdfehler; | 357 this.stdfehler = stdfehler; |
358 } | 358 } |
359 | 359 |
360 | 360 |
361 @Column(name="BEMERKUNG", length=240) | 361 @Column(name="BEMERKUNG", length=240) |
362 public String getBemerkung() { | 362 public String getBemerkung() { |
363 return this.bemerkung; | 363 return this.bemerkung; |
364 } | 364 } |
365 | 365 |
366 public void setBemerkung(String bemerkung) { | 366 public void setBemerkung(String bemerkung) { |
367 this.bemerkung = bemerkung; | 367 this.bemerkung = bemerkung; |
368 } | 368 } |
369 | 369 |
370 | 370 |
371 @Column(name="UFERABLINKS", precision=8, scale=3) | 371 @Column(name="UFERABLINKS", precision=8, scale=3) |
372 public BigDecimal getUferablinks() { | 372 public BigDecimal getUferablinks() { |
373 return this.uferablinks; | 373 return this.uferablinks; |
374 } | 374 } |
375 | 375 |
376 public void setUferablinks(BigDecimal uferablinks) { | 376 public void setUferablinks(BigDecimal uferablinks) { |
377 this.uferablinks = uferablinks; | 377 this.uferablinks = uferablinks; |
378 } | 378 } |
379 | 379 |
380 | 380 |
381 @Column(name="LINKSABST", precision=22, scale=0) | 381 @Column(name="LINKSABST", precision=22, scale=0) |
382 public BigDecimal getLinksabst() { | 382 public BigDecimal getLinksabst() { |
383 return this.linksabst; | 383 return this.linksabst; |
384 } | 384 } |
385 | 385 |
386 public void setLinksabst(BigDecimal linksabst) { | 386 public void setLinksabst(BigDecimal linksabst) { |
387 this.linksabst = linksabst; | 387 this.linksabst = linksabst; |
388 } | 388 } |
389 | 389 |
390 | 390 |
391 public boolean equals(Object other) { | 391 public boolean equals(Object other) { |
392 if ( (this == other ) ) return true; | 392 if ( (this == other ) ) return true; |
393 if ( (other == null ) ) return false; | 393 if ( (other == null ) ) return false; |
394 if ( !(other instanceof GlotlinksId) ) return false; | 394 if ( !(other instanceof GlotlinksId) ) return false; |
395 GlotlinksId castOther = ( GlotlinksId ) other; | 395 GlotlinksId castOther = ( GlotlinksId ) other; |
396 | 396 |
397 return (this.getGlotrechteid()==castOther.getGlotrechteid()) | 397 return (this.getGlotrechteid()==castOther.getGlotrechteid()) |
398 && (this.getMessungid()==castOther.getMessungid()) | 398 && (this.getMessungid()==castOther.getMessungid()) |
399 && ( (this.getUferabst()==castOther.getUferabst()) || ( this.getUferabst()!=null && castOther.getUferabst()!=null && this.getUferabst().equals(castOther.getUferabst()) ) ) | 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()) ) ) | 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()) ) ) | 401 && ( (this.getDm()==castOther.getDm()) || ( this.getDm()!=null && castOther.getDm()!=null && this.getDm().equals(castOther.getDm()) ) ) |
423 && ( (this.getStdfehler()==castOther.getStdfehler()) || ( this.getStdfehler()!=null && castOther.getStdfehler()!=null && this.getStdfehler().equals(castOther.getStdfehler()) ) ) | 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()) ) ) | 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()) ) ) | 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()) ) ); | 426 && ( (this.getLinksabst()==castOther.getLinksabst()) || ( this.getLinksabst()!=null && castOther.getLinksabst()!=null && this.getLinksabst().equals(castOther.getLinksabst()) ) ); |
427 } | 427 } |
428 | 428 |
429 public int hashCode() { | 429 public int hashCode() { |
430 int result = 17; | 430 int result = 17; |
431 | 431 |
432 result = 37 * result + (int) this.getGlotrechteid(); | 432 result = 37 * result + (int) this.getGlotrechteid(); |
433 result = 37 * result + (int) this.getMessungid(); | 433 result = 37 * result + (int) this.getMessungid(); |
434 result = 37 * result + ( getUferabst() == null ? 0 : this.getUferabst().hashCode() ); | 434 result = 37 * result + ( getUferabst() == null ? 0 : this.getUferabst().hashCode() ); |
435 result = 37 * result + ( getTgeschiebe() == null ? 0 : this.getTgeschiebe().hashCode() ); | 435 result = 37 * result + ( getTgeschiebe() == null ? 0 : this.getTgeschiebe().hashCode() ); |
436 result = 37 * result + ( getDm() == null ? 0 : this.getDm().hashCode() ); | 436 result = 37 * result + ( getDm() == null ? 0 : this.getDm().hashCode() ); |
458 result = 37 * result + ( getStdfehler() == null ? 0 : this.getStdfehler().hashCode() ); | 458 result = 37 * result + ( getStdfehler() == null ? 0 : this.getStdfehler().hashCode() ); |
459 result = 37 * result + ( getBemerkung() == null ? 0 : this.getBemerkung().hashCode() ); | 459 result = 37 * result + ( getBemerkung() == null ? 0 : this.getBemerkung().hashCode() ); |
460 result = 37 * result + ( getUferablinks() == null ? 0 : this.getUferablinks().hashCode() ); | 460 result = 37 * result + ( getUferablinks() == null ? 0 : this.getUferablinks().hashCode() ); |
461 result = 37 * result + ( getLinksabst() == null ? 0 : this.getLinksabst().hashCode() ); | 461 result = 37 * result + ( getLinksabst() == null ? 0 : this.getLinksabst().hashCode() ); |
462 return result; | 462 return result; |
463 } | 463 } |
464 } | 464 } |