Mercurial > dive4elements > river
diff flys-backend/src/main/java/de/intevation/seddb/model/HpeilpunktId.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/HpeilpunktId.java Thu Jun 14 15:39:42 2012 +0000 +++ b/flys-backend/src/main/java/de/intevation/seddb/model/HpeilpunktId.java Fri Jun 15 09:20:49 2012 +0000 @@ -22,14 +22,14 @@ this.hpeilungid = hpeilungid; this.punktnr = punktnr; } - + @Column(name="HPEILUNGID", nullable=false, precision=11, scale=0) public long getHpeilungid() { return this.hpeilungid; } - + public void setHpeilungid(long hpeilungid) { this.hpeilungid = hpeilungid; } @@ -39,7 +39,7 @@ public int getPunktnr() { return this.punktnr; } - + public void setPunktnr(int punktnr) { this.punktnr = punktnr; } @@ -49,17 +49,17 @@ if ( (this == other ) ) return true; if ( (other == null ) ) return false; if ( !(other instanceof HpeilpunktId) ) return false; - HpeilpunktId castOther = ( HpeilpunktId ) other; - + HpeilpunktId castOther = ( HpeilpunktId ) other; + return (this.getHpeilungid()==castOther.getHpeilungid()) && (this.getPunktnr()==castOther.getPunktnr()); } - + public int hashCode() { int result = 17; - + result = 37 * result + (int) this.getHpeilungid(); result = 37 * result + this.getPunktnr(); return result; - } + } }