view flys-backend/src/main/java/de/intevation/seddb/model/SsiebungsiebId.java @ 5509:627584bc0586

Datacage: Added <dc:filter> element. This allows cleaner way to narrow the datasets. Example: <dc:context> <dc:statement> SELECT DISTINCT name AS hws_name, official AS hws_official, kind_id AS hws_kind FROM hws_lines WHERE river_id = ${river_id} </dc:statement> <dc:if test="dc:has-result()"> <lines> <dc:macro name="hws-lines"> <dc:elements> <hws factory="hwsfactory" name="{$hws_name}"/> </dc:elements> </dc:macro> <dc:filter expr="$hws_official=1"> <dc:if test="dc:has-result()"> <official> <dc:filter expr="$hws_kind=1"> <dc:if test="dc:has-result()"> <Durchlass><dc:call-macro name="hws-lines"></Durchlass> </dc:if> </dc:filter> <dc:filter expr="$hws_kind=2"> <dc:if test="dc:has-result()"> <Damm><dc:call-macro name="hws-lines"></Damm> </dc:if> </dc:filter> <dc:filter expr="$hws_kind=3"> <dc:if test="dc:has-result()"> <Graben><dc:call-macro name="hws-lines"></Graben> </dc:if> </dc:filter> </official> </dc:if> </dc:filter> </lines> </dc:if> </dc:context>
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 28 Mar 2013 16:51:15 +0100
parents 2ae732e2c65c
children 18619c1e7c2a
line wrap: on
line source
package de.intevation.seddb.model;
// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1


import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 * SsiebungsiebId generated by hbm2java
 */
@Embeddable
public class SsiebungsiebId  implements java.io.Serializable {


     private long siebanalyseid;
     private long gsiebsatzid;
     private BigDecimal gmasse;
     private BigDecimal masche01;
     private BigDecimal rueck01;
     private BigDecimal masche02;
     private BigDecimal rueck02;
     private BigDecimal masche03;
     private BigDecimal rueck03;
     private BigDecimal masche04;
     private BigDecimal rueck04;
     private BigDecimal masche05;
     private BigDecimal rueck05;
     private BigDecimal masche06;
     private BigDecimal rueck06;
     private BigDecimal masche07;
     private BigDecimal rueck07;
     private BigDecimal masche08;
     private BigDecimal rueck08;
     private BigDecimal masche09;
     private BigDecimal rueck09;
     private BigDecimal masche10;
     private BigDecimal rueck10;
     private BigDecimal masche11;
     private BigDecimal rueck11;
     private BigDecimal masche12;
     private BigDecimal rueck12;
     private BigDecimal masche13;
     private BigDecimal rueck13;
     private BigDecimal masche14;
     private BigDecimal rueck14;
     private BigDecimal masche15;
     private BigDecimal rueck15;
     private BigDecimal masche16;
     private BigDecimal rueck16;
     private BigDecimal masche17;
     private BigDecimal rueck17;
     private BigDecimal masche18;
     private BigDecimal rueck18;
     private BigDecimal masche19;
     private BigDecimal rueck19;
     private BigDecimal masche20;
     private BigDecimal rueck20;
     private BigDecimal masche21;
     private BigDecimal rueck21;
     private BigDecimal rest;

    public SsiebungsiebId() {
    }

    public SsiebungsiebId(long siebanalyseid, long gsiebsatzid) {
        this.siebanalyseid = siebanalyseid;
        this.gsiebsatzid = gsiebsatzid;
    }
    public SsiebungsiebId(long siebanalyseid, long gsiebsatzid, BigDecimal gmasse, BigDecimal masche01, BigDecimal rueck01, BigDecimal masche02, BigDecimal rueck02, BigDecimal masche03, BigDecimal rueck03, BigDecimal masche04, BigDecimal rueck04, BigDecimal masche05, BigDecimal rueck05, BigDecimal masche06, BigDecimal rueck06, BigDecimal masche07, BigDecimal rueck07, BigDecimal masche08, BigDecimal rueck08, BigDecimal masche09, BigDecimal rueck09, BigDecimal masche10, BigDecimal rueck10, BigDecimal masche11, BigDecimal rueck11, BigDecimal masche12, BigDecimal rueck12, BigDecimal masche13, BigDecimal rueck13, BigDecimal masche14, BigDecimal rueck14, BigDecimal masche15, BigDecimal rueck15, BigDecimal masche16, BigDecimal rueck16, BigDecimal masche17, BigDecimal rueck17, BigDecimal masche18, BigDecimal rueck18, BigDecimal masche19, BigDecimal rueck19, BigDecimal masche20, BigDecimal rueck20, BigDecimal masche21, BigDecimal rueck21, BigDecimal rest) {
       this.siebanalyseid = siebanalyseid;
       this.gsiebsatzid = gsiebsatzid;
       this.gmasse = gmasse;
       this.masche01 = masche01;
       this.rueck01 = rueck01;
       this.masche02 = masche02;
       this.rueck02 = rueck02;
       this.masche03 = masche03;
       this.rueck03 = rueck03;
       this.masche04 = masche04;
       this.rueck04 = rueck04;
       this.masche05 = masche05;
       this.rueck05 = rueck05;
       this.masche06 = masche06;
       this.rueck06 = rueck06;
       this.masche07 = masche07;
       this.rueck07 = rueck07;
       this.masche08 = masche08;
       this.rueck08 = rueck08;
       this.masche09 = masche09;
       this.rueck09 = rueck09;
       this.masche10 = masche10;
       this.rueck10 = rueck10;
       this.masche11 = masche11;
       this.rueck11 = rueck11;
       this.masche12 = masche12;
       this.rueck12 = rueck12;
       this.masche13 = masche13;
       this.rueck13 = rueck13;
       this.masche14 = masche14;
       this.rueck14 = rueck14;
       this.masche15 = masche15;
       this.rueck15 = rueck15;
       this.masche16 = masche16;
       this.rueck16 = rueck16;
       this.masche17 = masche17;
       this.rueck17 = rueck17;
       this.masche18 = masche18;
       this.rueck18 = rueck18;
       this.masche19 = masche19;
       this.rueck19 = rueck19;
       this.masche20 = masche20;
       this.rueck20 = rueck20;
       this.masche21 = masche21;
       this.rueck21 = rueck21;
       this.rest = rest;
    }



    @Column(name="SIEBANALYSEID", nullable=false, precision=11, scale=0)
    public long getSiebanalyseid() {
        return this.siebanalyseid;
    }

    public void setSiebanalyseid(long siebanalyseid) {
        this.siebanalyseid = siebanalyseid;
    }


    @Column(name="GSIEBSATZID", nullable=false, precision=11, scale=0)
    public long getGsiebsatzid() {
        return this.gsiebsatzid;
    }

    public void setGsiebsatzid(long gsiebsatzid) {
        this.gsiebsatzid = gsiebsatzid;
    }


    @Column(name="GMASSE", precision=9, scale=3)
    public BigDecimal getGmasse() {
        return this.gmasse;
    }

    public void setGmasse(BigDecimal gmasse) {
        this.gmasse = gmasse;
    }


    @Column(name="MASCHE01", precision=7, scale=4)
    public BigDecimal getMasche01() {
        return this.masche01;
    }

    public void setMasche01(BigDecimal masche01) {
        this.masche01 = masche01;
    }


    @Column(name="RUECK01", precision=9, scale=3)
    public BigDecimal getRueck01() {
        return this.rueck01;
    }

    public void setRueck01(BigDecimal rueck01) {
        this.rueck01 = rueck01;
    }


    @Column(name="MASCHE02", precision=7, scale=4)
    public BigDecimal getMasche02() {
        return this.masche02;
    }

    public void setMasche02(BigDecimal masche02) {
        this.masche02 = masche02;
    }


    @Column(name="RUECK02", precision=9, scale=3)
    public BigDecimal getRueck02() {
        return this.rueck02;
    }

    public void setRueck02(BigDecimal rueck02) {
        this.rueck02 = rueck02;
    }


    @Column(name="MASCHE03", precision=7, scale=4)
    public BigDecimal getMasche03() {
        return this.masche03;
    }

    public void setMasche03(BigDecimal masche03) {
        this.masche03 = masche03;
    }


    @Column(name="RUECK03", precision=9, scale=3)
    public BigDecimal getRueck03() {
        return this.rueck03;
    }

    public void setRueck03(BigDecimal rueck03) {
        this.rueck03 = rueck03;
    }


    @Column(name="MASCHE04", precision=7, scale=4)
    public BigDecimal getMasche04() {
        return this.masche04;
    }

    public void setMasche04(BigDecimal masche04) {
        this.masche04 = masche04;
    }


    @Column(name="RUECK04", precision=9, scale=3)
    public BigDecimal getRueck04() {
        return this.rueck04;
    }

    public void setRueck04(BigDecimal rueck04) {
        this.rueck04 = rueck04;
    }


    @Column(name="MASCHE05", precision=7, scale=4)
    public BigDecimal getMasche05() {
        return this.masche05;
    }

    public void setMasche05(BigDecimal masche05) {
        this.masche05 = masche05;
    }


    @Column(name="RUECK05", precision=9, scale=3)
    public BigDecimal getRueck05() {
        return this.rueck05;
    }

    public void setRueck05(BigDecimal rueck05) {
        this.rueck05 = rueck05;
    }


    @Column(name="MASCHE06", precision=7, scale=4)
    public BigDecimal getMasche06() {
        return this.masche06;
    }

    public void setMasche06(BigDecimal masche06) {
        this.masche06 = masche06;
    }


    @Column(name="RUECK06", precision=9, scale=3)
    public BigDecimal getRueck06() {
        return this.rueck06;
    }

    public void setRueck06(BigDecimal rueck06) {
        this.rueck06 = rueck06;
    }


    @Column(name="MASCHE07", precision=7, scale=4)
    public BigDecimal getMasche07() {
        return this.masche07;
    }

    public void setMasche07(BigDecimal masche07) {
        this.masche07 = masche07;
    }


    @Column(name="RUECK07", precision=9, scale=3)
    public BigDecimal getRueck07() {
        return this.rueck07;
    }

    public void setRueck07(BigDecimal rueck07) {
        this.rueck07 = rueck07;
    }


    @Column(name="MASCHE08", precision=7, scale=4)
    public BigDecimal getMasche08() {
        return this.masche08;
    }

    public void setMasche08(BigDecimal masche08) {
        this.masche08 = masche08;
    }


    @Column(name="RUECK08", precision=9, scale=3)
    public BigDecimal getRueck08() {
        return this.rueck08;
    }

    public void setRueck08(BigDecimal rueck08) {
        this.rueck08 = rueck08;
    }


    @Column(name="MASCHE09", precision=7, scale=4)
    public BigDecimal getMasche09() {
        return this.masche09;
    }

    public void setMasche09(BigDecimal masche09) {
        this.masche09 = masche09;
    }


    @Column(name="RUECK09", precision=9, scale=3)
    public BigDecimal getRueck09() {
        return this.rueck09;
    }

    public void setRueck09(BigDecimal rueck09) {
        this.rueck09 = rueck09;
    }


    @Column(name="MASCHE10", precision=7, scale=4)
    public BigDecimal getMasche10() {
        return this.masche10;
    }

    public void setMasche10(BigDecimal masche10) {
        this.masche10 = masche10;
    }


    @Column(name="RUECK10", precision=9, scale=3)
    public BigDecimal getRueck10() {
        return this.rueck10;
    }

    public void setRueck10(BigDecimal rueck10) {
        this.rueck10 = rueck10;
    }


    @Column(name="MASCHE11", precision=7, scale=4)
    public BigDecimal getMasche11() {
        return this.masche11;
    }

    public void setMasche11(BigDecimal masche11) {
        this.masche11 = masche11;
    }


    @Column(name="RUECK11", precision=9, scale=3)
    public BigDecimal getRueck11() {
        return this.rueck11;
    }

    public void setRueck11(BigDecimal rueck11) {
        this.rueck11 = rueck11;
    }


    @Column(name="MASCHE12", precision=7, scale=4)
    public BigDecimal getMasche12() {
        return this.masche12;
    }

    public void setMasche12(BigDecimal masche12) {
        this.masche12 = masche12;
    }


    @Column(name="RUECK12", precision=9, scale=3)
    public BigDecimal getRueck12() {
        return this.rueck12;
    }

    public void setRueck12(BigDecimal rueck12) {
        this.rueck12 = rueck12;
    }


    @Column(name="MASCHE13", precision=7, scale=4)
    public BigDecimal getMasche13() {
        return this.masche13;
    }

    public void setMasche13(BigDecimal masche13) {
        this.masche13 = masche13;
    }


    @Column(name="RUECK13", precision=9, scale=3)
    public BigDecimal getRueck13() {
        return this.rueck13;
    }

    public void setRueck13(BigDecimal rueck13) {
        this.rueck13 = rueck13;
    }


    @Column(name="MASCHE14", precision=7, scale=4)
    public BigDecimal getMasche14() {
        return this.masche14;
    }

    public void setMasche14(BigDecimal masche14) {
        this.masche14 = masche14;
    }


    @Column(name="RUECK14", precision=9, scale=3)
    public BigDecimal getRueck14() {
        return this.rueck14;
    }

    public void setRueck14(BigDecimal rueck14) {
        this.rueck14 = rueck14;
    }


    @Column(name="MASCHE15", precision=7, scale=4)
    public BigDecimal getMasche15() {
        return this.masche15;
    }

    public void setMasche15(BigDecimal masche15) {
        this.masche15 = masche15;
    }


    @Column(name="RUECK15", precision=9, scale=3)
    public BigDecimal getRueck15() {
        return this.rueck15;
    }

    public void setRueck15(BigDecimal rueck15) {
        this.rueck15 = rueck15;
    }


    @Column(name="MASCHE16", precision=7, scale=4)
    public BigDecimal getMasche16() {
        return this.masche16;
    }

    public void setMasche16(BigDecimal masche16) {
        this.masche16 = masche16;
    }


    @Column(name="RUECK16", precision=9, scale=3)
    public BigDecimal getRueck16() {
        return this.rueck16;
    }

    public void setRueck16(BigDecimal rueck16) {
        this.rueck16 = rueck16;
    }


    @Column(name="MASCHE17", precision=7, scale=4)
    public BigDecimal getMasche17() {
        return this.masche17;
    }

    public void setMasche17(BigDecimal masche17) {
        this.masche17 = masche17;
    }


    @Column(name="RUECK17", precision=9, scale=3)
    public BigDecimal getRueck17() {
        return this.rueck17;
    }

    public void setRueck17(BigDecimal rueck17) {
        this.rueck17 = rueck17;
    }


    @Column(name="MASCHE18", precision=7, scale=4)
    public BigDecimal getMasche18() {
        return this.masche18;
    }

    public void setMasche18(BigDecimal masche18) {
        this.masche18 = masche18;
    }


    @Column(name="RUECK18", precision=9, scale=3)
    public BigDecimal getRueck18() {
        return this.rueck18;
    }

    public void setRueck18(BigDecimal rueck18) {
        this.rueck18 = rueck18;
    }


    @Column(name="MASCHE19", precision=7, scale=4)
    public BigDecimal getMasche19() {
        return this.masche19;
    }

    public void setMasche19(BigDecimal masche19) {
        this.masche19 = masche19;
    }


    @Column(name="RUECK19", precision=9, scale=3)
    public BigDecimal getRueck19() {
        return this.rueck19;
    }

    public void setRueck19(BigDecimal rueck19) {
        this.rueck19 = rueck19;
    }


    @Column(name="MASCHE20", precision=7, scale=4)
    public BigDecimal getMasche20() {
        return this.masche20;
    }

    public void setMasche20(BigDecimal masche20) {
        this.masche20 = masche20;
    }


    @Column(name="RUECK20", precision=9, scale=3)
    public BigDecimal getRueck20() {
        return this.rueck20;
    }

    public void setRueck20(BigDecimal rueck20) {
        this.rueck20 = rueck20;
    }


    @Column(name="MASCHE21", precision=7, scale=4)
    public BigDecimal getMasche21() {
        return this.masche21;
    }

    public void setMasche21(BigDecimal masche21) {
        this.masche21 = masche21;
    }


    @Column(name="RUECK21", precision=9, scale=3)
    public BigDecimal getRueck21() {
        return this.rueck21;
    }

    public void setRueck21(BigDecimal rueck21) {
        this.rueck21 = rueck21;
    }


    @Column(name="REST", precision=9, scale=3)
    public BigDecimal getRest() {
        return this.rest;
    }

    public void setRest(BigDecimal rest) {
        this.rest = rest;
    }


   public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof SsiebungsiebId) ) return false;
		 SsiebungsiebId castOther = ( SsiebungsiebId ) other;

		 return (this.getSiebanalyseid()==castOther.getSiebanalyseid())
 && (this.getGsiebsatzid()==castOther.getGsiebsatzid())
 && ( (this.getGmasse()==castOther.getGmasse()) || ( this.getGmasse()!=null && castOther.getGmasse()!=null && this.getGmasse().equals(castOther.getGmasse()) ) )
 && ( (this.getMasche01()==castOther.getMasche01()) || ( this.getMasche01()!=null && castOther.getMasche01()!=null && this.getMasche01().equals(castOther.getMasche01()) ) )
 && ( (this.getRueck01()==castOther.getRueck01()) || ( this.getRueck01()!=null && castOther.getRueck01()!=null && this.getRueck01().equals(castOther.getRueck01()) ) )
 && ( (this.getMasche02()==castOther.getMasche02()) || ( this.getMasche02()!=null && castOther.getMasche02()!=null && this.getMasche02().equals(castOther.getMasche02()) ) )
 && ( (this.getRueck02()==castOther.getRueck02()) || ( this.getRueck02()!=null && castOther.getRueck02()!=null && this.getRueck02().equals(castOther.getRueck02()) ) )
 && ( (this.getMasche03()==castOther.getMasche03()) || ( this.getMasche03()!=null && castOther.getMasche03()!=null && this.getMasche03().equals(castOther.getMasche03()) ) )
 && ( (this.getRueck03()==castOther.getRueck03()) || ( this.getRueck03()!=null && castOther.getRueck03()!=null && this.getRueck03().equals(castOther.getRueck03()) ) )
 && ( (this.getMasche04()==castOther.getMasche04()) || ( this.getMasche04()!=null && castOther.getMasche04()!=null && this.getMasche04().equals(castOther.getMasche04()) ) )
 && ( (this.getRueck04()==castOther.getRueck04()) || ( this.getRueck04()!=null && castOther.getRueck04()!=null && this.getRueck04().equals(castOther.getRueck04()) ) )
 && ( (this.getMasche05()==castOther.getMasche05()) || ( this.getMasche05()!=null && castOther.getMasche05()!=null && this.getMasche05().equals(castOther.getMasche05()) ) )
 && ( (this.getRueck05()==castOther.getRueck05()) || ( this.getRueck05()!=null && castOther.getRueck05()!=null && this.getRueck05().equals(castOther.getRueck05()) ) )
 && ( (this.getMasche06()==castOther.getMasche06()) || ( this.getMasche06()!=null && castOther.getMasche06()!=null && this.getMasche06().equals(castOther.getMasche06()) ) )
 && ( (this.getRueck06()==castOther.getRueck06()) || ( this.getRueck06()!=null && castOther.getRueck06()!=null && this.getRueck06().equals(castOther.getRueck06()) ) )
 && ( (this.getMasche07()==castOther.getMasche07()) || ( this.getMasche07()!=null && castOther.getMasche07()!=null && this.getMasche07().equals(castOther.getMasche07()) ) )
 && ( (this.getRueck07()==castOther.getRueck07()) || ( this.getRueck07()!=null && castOther.getRueck07()!=null && this.getRueck07().equals(castOther.getRueck07()) ) )
 && ( (this.getMasche08()==castOther.getMasche08()) || ( this.getMasche08()!=null && castOther.getMasche08()!=null && this.getMasche08().equals(castOther.getMasche08()) ) )
 && ( (this.getRueck08()==castOther.getRueck08()) || ( this.getRueck08()!=null && castOther.getRueck08()!=null && this.getRueck08().equals(castOther.getRueck08()) ) )
 && ( (this.getMasche09()==castOther.getMasche09()) || ( this.getMasche09()!=null && castOther.getMasche09()!=null && this.getMasche09().equals(castOther.getMasche09()) ) )
 && ( (this.getRueck09()==castOther.getRueck09()) || ( this.getRueck09()!=null && castOther.getRueck09()!=null && this.getRueck09().equals(castOther.getRueck09()) ) )
 && ( (this.getMasche10()==castOther.getMasche10()) || ( this.getMasche10()!=null && castOther.getMasche10()!=null && this.getMasche10().equals(castOther.getMasche10()) ) )
 && ( (this.getRueck10()==castOther.getRueck10()) || ( this.getRueck10()!=null && castOther.getRueck10()!=null && this.getRueck10().equals(castOther.getRueck10()) ) )
 && ( (this.getMasche11()==castOther.getMasche11()) || ( this.getMasche11()!=null && castOther.getMasche11()!=null && this.getMasche11().equals(castOther.getMasche11()) ) )
 && ( (this.getRueck11()==castOther.getRueck11()) || ( this.getRueck11()!=null && castOther.getRueck11()!=null && this.getRueck11().equals(castOther.getRueck11()) ) )
 && ( (this.getMasche12()==castOther.getMasche12()) || ( this.getMasche12()!=null && castOther.getMasche12()!=null && this.getMasche12().equals(castOther.getMasche12()) ) )
 && ( (this.getRueck12()==castOther.getRueck12()) || ( this.getRueck12()!=null && castOther.getRueck12()!=null && this.getRueck12().equals(castOther.getRueck12()) ) )
 && ( (this.getMasche13()==castOther.getMasche13()) || ( this.getMasche13()!=null && castOther.getMasche13()!=null && this.getMasche13().equals(castOther.getMasche13()) ) )
 && ( (this.getRueck13()==castOther.getRueck13()) || ( this.getRueck13()!=null && castOther.getRueck13()!=null && this.getRueck13().equals(castOther.getRueck13()) ) )
 && ( (this.getMasche14()==castOther.getMasche14()) || ( this.getMasche14()!=null && castOther.getMasche14()!=null && this.getMasche14().equals(castOther.getMasche14()) ) )
 && ( (this.getRueck14()==castOther.getRueck14()) || ( this.getRueck14()!=null && castOther.getRueck14()!=null && this.getRueck14().equals(castOther.getRueck14()) ) )
 && ( (this.getMasche15()==castOther.getMasche15()) || ( this.getMasche15()!=null && castOther.getMasche15()!=null && this.getMasche15().equals(castOther.getMasche15()) ) )
 && ( (this.getRueck15()==castOther.getRueck15()) || ( this.getRueck15()!=null && castOther.getRueck15()!=null && this.getRueck15().equals(castOther.getRueck15()) ) )
 && ( (this.getMasche16()==castOther.getMasche16()) || ( this.getMasche16()!=null && castOther.getMasche16()!=null && this.getMasche16().equals(castOther.getMasche16()) ) )
 && ( (this.getRueck16()==castOther.getRueck16()) || ( this.getRueck16()!=null && castOther.getRueck16()!=null && this.getRueck16().equals(castOther.getRueck16()) ) )
 && ( (this.getMasche17()==castOther.getMasche17()) || ( this.getMasche17()!=null && castOther.getMasche17()!=null && this.getMasche17().equals(castOther.getMasche17()) ) )
 && ( (this.getRueck17()==castOther.getRueck17()) || ( this.getRueck17()!=null && castOther.getRueck17()!=null && this.getRueck17().equals(castOther.getRueck17()) ) )
 && ( (this.getMasche18()==castOther.getMasche18()) || ( this.getMasche18()!=null && castOther.getMasche18()!=null && this.getMasche18().equals(castOther.getMasche18()) ) )
 && ( (this.getRueck18()==castOther.getRueck18()) || ( this.getRueck18()!=null && castOther.getRueck18()!=null && this.getRueck18().equals(castOther.getRueck18()) ) )
 && ( (this.getMasche19()==castOther.getMasche19()) || ( this.getMasche19()!=null && castOther.getMasche19()!=null && this.getMasche19().equals(castOther.getMasche19()) ) )
 && ( (this.getRueck19()==castOther.getRueck19()) || ( this.getRueck19()!=null && castOther.getRueck19()!=null && this.getRueck19().equals(castOther.getRueck19()) ) )
 && ( (this.getMasche20()==castOther.getMasche20()) || ( this.getMasche20()!=null && castOther.getMasche20()!=null && this.getMasche20().equals(castOther.getMasche20()) ) )
 && ( (this.getRueck20()==castOther.getRueck20()) || ( this.getRueck20()!=null && castOther.getRueck20()!=null && this.getRueck20().equals(castOther.getRueck20()) ) )
 && ( (this.getMasche21()==castOther.getMasche21()) || ( this.getMasche21()!=null && castOther.getMasche21()!=null && this.getMasche21().equals(castOther.getMasche21()) ) )
 && ( (this.getRueck21()==castOther.getRueck21()) || ( this.getRueck21()!=null && castOther.getRueck21()!=null && this.getRueck21().equals(castOther.getRueck21()) ) )
 && ( (this.getRest()==castOther.getRest()) || ( this.getRest()!=null && castOther.getRest()!=null && this.getRest().equals(castOther.getRest()) ) );
   }

   public int hashCode() {
         int result = 17;

         result = 37 * result + (int) this.getSiebanalyseid();
         result = 37 * result + (int) this.getGsiebsatzid();
         result = 37 * result + ( getGmasse() == null ? 0 : this.getGmasse().hashCode() );
         result = 37 * result + ( getMasche01() == null ? 0 : this.getMasche01().hashCode() );
         result = 37 * result + ( getRueck01() == null ? 0 : this.getRueck01().hashCode() );
         result = 37 * result + ( getMasche02() == null ? 0 : this.getMasche02().hashCode() );
         result = 37 * result + ( getRueck02() == null ? 0 : this.getRueck02().hashCode() );
         result = 37 * result + ( getMasche03() == null ? 0 : this.getMasche03().hashCode() );
         result = 37 * result + ( getRueck03() == null ? 0 : this.getRueck03().hashCode() );
         result = 37 * result + ( getMasche04() == null ? 0 : this.getMasche04().hashCode() );
         result = 37 * result + ( getRueck04() == null ? 0 : this.getRueck04().hashCode() );
         result = 37 * result + ( getMasche05() == null ? 0 : this.getMasche05().hashCode() );
         result = 37 * result + ( getRueck05() == null ? 0 : this.getRueck05().hashCode() );
         result = 37 * result + ( getMasche06() == null ? 0 : this.getMasche06().hashCode() );
         result = 37 * result + ( getRueck06() == null ? 0 : this.getRueck06().hashCode() );
         result = 37 * result + ( getMasche07() == null ? 0 : this.getMasche07().hashCode() );
         result = 37 * result + ( getRueck07() == null ? 0 : this.getRueck07().hashCode() );
         result = 37 * result + ( getMasche08() == null ? 0 : this.getMasche08().hashCode() );
         result = 37 * result + ( getRueck08() == null ? 0 : this.getRueck08().hashCode() );
         result = 37 * result + ( getMasche09() == null ? 0 : this.getMasche09().hashCode() );
         result = 37 * result + ( getRueck09() == null ? 0 : this.getRueck09().hashCode() );
         result = 37 * result + ( getMasche10() == null ? 0 : this.getMasche10().hashCode() );
         result = 37 * result + ( getRueck10() == null ? 0 : this.getRueck10().hashCode() );
         result = 37 * result + ( getMasche11() == null ? 0 : this.getMasche11().hashCode() );
         result = 37 * result + ( getRueck11() == null ? 0 : this.getRueck11().hashCode() );
         result = 37 * result + ( getMasche12() == null ? 0 : this.getMasche12().hashCode() );
         result = 37 * result + ( getRueck12() == null ? 0 : this.getRueck12().hashCode() );
         result = 37 * result + ( getMasche13() == null ? 0 : this.getMasche13().hashCode() );
         result = 37 * result + ( getRueck13() == null ? 0 : this.getRueck13().hashCode() );
         result = 37 * result + ( getMasche14() == null ? 0 : this.getMasche14().hashCode() );
         result = 37 * result + ( getRueck14() == null ? 0 : this.getRueck14().hashCode() );
         result = 37 * result + ( getMasche15() == null ? 0 : this.getMasche15().hashCode() );
         result = 37 * result + ( getRueck15() == null ? 0 : this.getRueck15().hashCode() );
         result = 37 * result + ( getMasche16() == null ? 0 : this.getMasche16().hashCode() );
         result = 37 * result + ( getRueck16() == null ? 0 : this.getRueck16().hashCode() );
         result = 37 * result + ( getMasche17() == null ? 0 : this.getMasche17().hashCode() );
         result = 37 * result + ( getRueck17() == null ? 0 : this.getRueck17().hashCode() );
         result = 37 * result + ( getMasche18() == null ? 0 : this.getMasche18().hashCode() );
         result = 37 * result + ( getRueck18() == null ? 0 : this.getRueck18().hashCode() );
         result = 37 * result + ( getMasche19() == null ? 0 : this.getMasche19().hashCode() );
         result = 37 * result + ( getRueck19() == null ? 0 : this.getRueck19().hashCode() );
         result = 37 * result + ( getMasche20() == null ? 0 : this.getMasche20().hashCode() );
         result = 37 * result + ( getRueck20() == null ? 0 : this.getRueck20().hashCode() );
         result = 37 * result + ( getMasche21() == null ? 0 : this.getMasche21().hashCode() );
         result = 37 * result + ( getRueck21() == null ? 0 : this.getRueck21().hashCode() );
         result = 37 * result + ( getRest() == null ? 0 : this.getRest().hashCode() );
         return result;
   }
}

http://dive4elements.wald.intevation.org