Mercurial > dive4elements > river
diff flys-backend/src/main/java/de/intevation/seddb/model/MessunguferbezugId.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/MessunguferbezugId.java Thu Jun 14 15:39:42 2012 +0000 +++ b/flys-backend/src/main/java/de/intevation/seddb/model/MessunguferbezugId.java Fri Jun 15 09:20:49 2012 +0000 @@ -29,14 +29,14 @@ this.uferistlinks = uferistlinks; this.hmabst = hmabst; } - + @Column(name="MESSUNGID", nullable=false, precision=11, scale=0) public long getMessungid() { return this.messungid; } - + public void setMessungid(long messungid) { this.messungid = messungid; } @@ -46,7 +46,7 @@ public boolean isUferistlinks() { return this.uferistlinks; } - + public void setUferistlinks(boolean uferistlinks) { this.uferistlinks = uferistlinks; } @@ -56,7 +56,7 @@ public BigDecimal getHmabst() { return this.hmabst; } - + public void setHmabst(BigDecimal hmabst) { this.hmabst = hmabst; } @@ -66,19 +66,19 @@ if ( (this == other ) ) return true; if ( (other == null ) ) return false; if ( !(other instanceof MessunguferbezugId) ) return false; - MessunguferbezugId castOther = ( MessunguferbezugId ) other; - + MessunguferbezugId castOther = ( MessunguferbezugId ) other; + return (this.getMessungid()==castOther.getMessungid()) && (this.isUferistlinks()==castOther.isUferistlinks()) && ( (this.getHmabst()==castOther.getHmabst()) || ( this.getHmabst()!=null && castOther.getHmabst()!=null && this.getHmabst().equals(castOther.getHmabst()) ) ); } - + public int hashCode() { int result = 17; - + result = 37 * result + (int) this.getMessungid(); result = 37 * result + (this.isUferistlinks()?1:0); result = 37 * result + ( getHmabst() == null ? 0 : this.getHmabst().hashCode() ); return result; - } + } }