Mercurial > dive4elements > river
diff flys-backend/src/main/java/de/intevation/seddb/model/SprobeId.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 |
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/seddb/model/SprobeId.java Thu Jun 14 15:39:42 2012 +0000 +++ b/flys-backend/src/main/java/de/intevation/seddb/model/SprobeId.java Fri Jun 15 09:20:49 2012 +0000 @@ -22,14 +22,14 @@ this.slotrechteid = slotrechteid; this.lfdnr = lfdnr; } - + @Column(name="SLOTRECHTEID", nullable=false, precision=11, scale=0) public long getSlotrechteid() { return this.slotrechteid; } - + public void setSlotrechteid(long slotrechteid) { this.slotrechteid = slotrechteid; } @@ -39,7 +39,7 @@ public int getLfdnr() { return this.lfdnr; } - + public void setLfdnr(int lfdnr) { this.lfdnr = lfdnr; } @@ -49,17 +49,17 @@ if ( (this == other ) ) return true; if ( (other == null ) ) return false; if ( !(other instanceof SprobeId) ) return false; - SprobeId castOther = ( SprobeId ) other; - + SprobeId castOther = ( SprobeId ) other; + return (this.getSlotrechteid()==castOther.getSlotrechteid()) && (this.getLfdnr()==castOther.getLfdnr()); } - + public int hashCode() { int result = 17; - + result = 37 * result + (int) this.getSlotrechteid(); result = 37 * result + this.getLfdnr(); return result; - } + } }