Mercurial > dive4elements > river
diff flys-backend/src/main/java/de/intevation/seddb/model/StationgewId.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/StationgewId.java Thu Jun 14 15:39:42 2012 +0000 +++ b/flys-backend/src/main/java/de/intevation/seddb/model/StationgewId.java Fri Jun 15 09:20:49 2012 +0000 @@ -66,14 +66,14 @@ this.istfeststoff = istfeststoff; this.gewname = gewname; } - + @Column(name="STATIONID", nullable=false, precision=11, scale=0) public long getStationid() { return this.stationid; } - + public void setStationid(long stationid) { this.stationid = stationid; } @@ -83,7 +83,7 @@ public long getGewaesserid() { return this.gewaesserid; } - + public void setGewaesserid(long gewaesserid) { this.gewaesserid = gewaesserid; } @@ -93,7 +93,7 @@ public BigDecimal getKm() { return this.km; } - + public void setKm(BigDecimal km) { this.km = km; } @@ -103,7 +103,7 @@ public Long getBezugspegelid() { return this.bezugspegelid; } - + public void setBezugspegelid(Long bezugspegelid) { this.bezugspegelid = bezugspegelid; } @@ -113,7 +113,7 @@ public String getName() { return this.name; } - + public void setName(String name) { this.name = name; } @@ -123,7 +123,7 @@ public boolean isUferistlinks() { return this.uferistlinks; } - + public void setUferistlinks(boolean uferistlinks) { this.uferistlinks = uferistlinks; } @@ -133,7 +133,7 @@ public BigDecimal getTeilVon() { return this.teilVon; } - + public void setTeilVon(BigDecimal teilVon) { this.teilVon = teilVon; } @@ -143,7 +143,7 @@ public BigDecimal getTeilBis() { return this.teilBis; } - + public void setTeilBis(BigDecimal teilBis) { this.teilBis = teilBis; } @@ -153,7 +153,7 @@ public BigDecimal getAbstHmst() { return this.abstHmst; } - + public void setAbstHmst(BigDecimal abstHmst) { this.abstHmst = abstHmst; } @@ -163,7 +163,7 @@ public BigDecimal getLHochwert() { return this.LHochwert; } - + public void setLHochwert(BigDecimal LHochwert) { this.LHochwert = LHochwert; } @@ -173,7 +173,7 @@ public BigDecimal getLRechwert() { return this.LRechwert; } - + public void setLRechwert(BigDecimal LRechwert) { this.LRechwert = LRechwert; } @@ -183,7 +183,7 @@ public BigDecimal getLNn() { return this.LNn; } - + public void setLNn(BigDecimal LNn) { this.LNn = LNn; } @@ -193,7 +193,7 @@ public BigDecimal getRHochwert() { return this.RHochwert; } - + public void setRHochwert(BigDecimal RHochwert) { this.RHochwert = RHochwert; } @@ -203,7 +203,7 @@ public BigDecimal getRRechwert() { return this.RRechwert; } - + public void setRRechwert(BigDecimal RRechwert) { this.RRechwert = RRechwert; } @@ -213,7 +213,7 @@ public BigDecimal getRNn() { return this.RNn; } - + public void setRNn(BigDecimal RNn) { this.RNn = RNn; } @@ -223,7 +223,7 @@ public String getBemerkung() { return this.bemerkung; } - + public void setBemerkung(String bemerkung) { this.bemerkung = bemerkung; } @@ -233,7 +233,7 @@ public Long getOldmstid() { return this.oldmstid; } - + public void setOldmstid(Long oldmstid) { this.oldmstid = oldmstid; } @@ -243,7 +243,7 @@ public boolean isIstfeststoff() { return this.istfeststoff; } - + public void setIstfeststoff(boolean istfeststoff) { this.istfeststoff = istfeststoff; } @@ -253,7 +253,7 @@ public String getGewname() { return this.gewname; } - + public void setGewname(String gewname) { this.gewname = gewname; } @@ -263,8 +263,8 @@ if ( (this == other ) ) return true; if ( (other == null ) ) return false; if ( !(other instanceof StationgewId) ) return false; - StationgewId castOther = ( StationgewId ) other; - + StationgewId castOther = ( StationgewId ) other; + return (this.getStationid()==castOther.getStationid()) && (this.getGewaesserid()==castOther.getGewaesserid()) && ( (this.getKm()==castOther.getKm()) || ( this.getKm()!=null && castOther.getKm()!=null && this.getKm().equals(castOther.getKm()) ) ) @@ -285,10 +285,10 @@ && (this.isIstfeststoff()==castOther.isIstfeststoff()) && ( (this.getGewname()==castOther.getGewname()) || ( this.getGewname()!=null && castOther.getGewname()!=null && this.getGewname().equals(castOther.getGewname()) ) ); } - + public int hashCode() { int result = 17; - + result = 37 * result + (int) this.getStationid(); result = 37 * result + (int) this.getGewaesserid(); result = 37 * result + ( getKm() == null ? 0 : this.getKm().hashCode() ); @@ -309,5 +309,5 @@ result = 37 * result + (this.isIstfeststoff()?1:0); result = 37 * result + ( getGewname() == null ? 0 : this.getGewname().hashCode() ); return result; - } + } }