Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/seddb/model/SsiebungsiebId.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 |
---|---|
586 } | 586 } |
587 | 587 |
588 | 588 |
589 public boolean equals(Object other) { | 589 public boolean equals(Object other) { |
590 if ( (this == other ) ) return true; | 590 if ( (this == other ) ) return true; |
591 if ( (other == null ) ) return false; | 591 if ( (other == null ) ) return false; |
592 if ( !(other instanceof SsiebungsiebId) ) return false; | 592 if ( !(other instanceof SsiebungsiebId) ) return false; |
593 SsiebungsiebId castOther = ( SsiebungsiebId ) other; | 593 SsiebungsiebId castOther = ( SsiebungsiebId ) other; |
594 | 594 |
595 return (this.getSiebanalyseid()==castOther.getSiebanalyseid()) | 595 return (this.getSiebanalyseid()==castOther.getSiebanalyseid()) |
596 && (this.getGsiebsatzid()==castOther.getGsiebsatzid()) | 596 && (this.getGsiebsatzid()==castOther.getGsiebsatzid()) |
597 && ( (this.getGmasse()==castOther.getGmasse()) || ( this.getGmasse()!=null && castOther.getGmasse()!=null && this.getGmasse().equals(castOther.getGmasse()) ) ) | 597 && ( (this.getGmasse()==castOther.getGmasse()) || ( this.getGmasse()!=null && castOther.getGmasse()!=null && this.getGmasse().equals(castOther.getGmasse()) ) ) |
598 && ( (this.getMasche01()==castOther.getMasche01()) || ( this.getMasche01()!=null && castOther.getMasche01()!=null && this.getMasche01().equals(castOther.getMasche01()) ) ) | 598 && ( (this.getMasche01()==castOther.getMasche01()) || ( this.getMasche01()!=null && castOther.getMasche01()!=null && this.getMasche01().equals(castOther.getMasche01()) ) ) |
599 && ( (this.getRueck01()==castOther.getRueck01()) || ( this.getRueck01()!=null && castOther.getRueck01()!=null && this.getRueck01().equals(castOther.getRueck01()) ) ) | 599 && ( (this.getRueck01()==castOther.getRueck01()) || ( this.getRueck01()!=null && castOther.getRueck01()!=null && this.getRueck01().equals(castOther.getRueck01()) ) ) |
600 && ( (this.getMasche02()==castOther.getMasche02()) || ( this.getMasche02()!=null && castOther.getMasche02()!=null && this.getMasche02().equals(castOther.getMasche02()) ) ) | 600 && ( (this.getMasche02()==castOther.getMasche02()) || ( this.getMasche02()!=null && castOther.getMasche02()!=null && this.getMasche02().equals(castOther.getMasche02()) ) ) |