Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/seddb/model/SlotlinksId.java @ 7252:c894b7b45c4c
Replaced some tabs by spaces. Guys, please configure your editors not to insert tabs!
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sat, 05 Oct 2013 12:48:44 +0200 |
parents | 4c3ccf2b0304 |
children |
comparison
equal
deleted
inserted
replaced
7251:3823b8bd6bfd | 7252:c894b7b45c4c |
---|---|
179 } | 179 } |
180 | 180 |
181 | 181 |
182 public boolean equals(Object other) { | 182 public boolean equals(Object other) { |
183 if ( (this == other ) ) return true; | 183 if ( (this == other ) ) return true; |
184 if ( (other == null ) ) return false; | 184 if ( (other == null ) ) return false; |
185 if ( !(other instanceof SlotlinksId) ) return false; | 185 if ( !(other instanceof SlotlinksId) ) return false; |
186 SlotlinksId castOther = ( SlotlinksId ) other; | 186 SlotlinksId castOther = ( SlotlinksId ) other; |
187 | 187 |
188 return (this.getSlotrechteid()==castOther.getSlotrechteid()) | 188 return (this.getSlotrechteid()==castOther.getSlotrechteid()) |
189 && (this.getMessungid()==castOther.getMessungid()) | 189 && (this.getMessungid()==castOther.getMessungid()) |
190 && ( (this.getUferabst()==castOther.getUferabst()) || ( this.getUferabst()!=null && castOther.getUferabst()!=null && this.getUferabst().equals(castOther.getUferabst()) ) ) | 190 && ( (this.getUferabst()==castOther.getUferabst()) || ( this.getUferabst()!=null && castOther.getUferabst()!=null && this.getUferabst().equals(castOther.getUferabst()) ) ) |
191 && ( (this.getTsand()==castOther.getTsand()) || ( this.getTsand()!=null && castOther.getTsand()!=null && this.getTsand().equals(castOther.getTsand()) ) ) | 191 && ( (this.getTsand()==castOther.getTsand()) || ( this.getTsand()!=null && castOther.getTsand()!=null && this.getTsand().equals(castOther.getTsand()) ) ) |
192 && ( (this.getTschweb()==castOther.getTschweb()) || ( this.getTschweb()!=null && castOther.getTschweb()!=null && this.getTschweb().equals(castOther.getTschweb()) ) ) | 192 && ( (this.getTschweb()==castOther.getTschweb()) || ( this.getTschweb()!=null && castOther.getTschweb()!=null && this.getTschweb().equals(castOther.getTschweb()) ) ) |
193 && ( (this.getFv()==castOther.getFv()) || ( this.getFv()!=null && castOther.getFv()!=null && this.getFv().equals(castOther.getFv()) ) ) | 193 && ( (this.getFv()==castOther.getFv()) || ( this.getFv()!=null && castOther.getFv()!=null && this.getFv().equals(castOther.getFv()) ) ) |