view flys-backend/src/main/java/de/intevation/seddb/model/MessungstaId.java @ 4837:9e25c7523485

Fixed calculation of effective width in MINFO SQ relation. * Get all (including empty datasets) from db. * Filter empty datasets when processing data of the same date. * Added debug outputs.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 23 Jan 2013 11:14:41 +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.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Embeddable;

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


     private Serializable messungid;
     private Serializable stationid;
     private Serializable datum;
     private Serializable hpeilungid;
     private Serializable mpeilungid;
     private Serializable gfaengerid;
     private Serializable gsiebsatzid;
     private Serializable messnr;
     private Serializable fgue;
     private Serializable uhrvon;
     private Serializable uhrbis;
     private Serializable wspcm;
     private Serializable QBpegel;
     private Serializable wspnn;
     private Serializable ie;
     private Serializable wtemp;
     private Serializable gbreite;
     private Serializable gbreitevon;
     private Serializable gbreitebis;
     private Serializable tgeschiebe;
     private Serializable tsand;
     private Serializable tschweb;
     private Serializable cschweb;
     private Serializable uferliabst;
     private Serializable uferreabst;
     private Serializable q;
     private Serializable AHpeil;
     private Serializable AMpeil;
     private Serializable b;
     private Serializable hm;
     private Serializable vm;
     private Serializable vsohle;
     private Serializable tau;
     private Serializable tauv;
     private Serializable teilQ;
     private Serializable teilAHpeil;
     private Serializable teilAMpeil;
     private Serializable teilB;
     private Serializable teilHm;
     private Serializable teilVm;
     private Serializable teilVsohle;
     private Serializable teilTau;
     private Serializable teilTauv;
     private Serializable mitteltyp;
     private Serializable dm;
     private Serializable sk;
     private Serializable so;
     private Serializable u;
     private Serializable d90;
     private Serializable d84;
     private Serializable d80;
     private Serializable d75;
     private Serializable d70;
     private Serializable d60;
     private Serializable d50;
     private Serializable d40;
     private Serializable d30;
     private Serializable d25;
     private Serializable d20;
     private Serializable d16;
     private Serializable d10;
     private Serializable dmin;
     private Serializable durchdmin;
     private Serializable dmax;
     private Serializable durchdmax;
     private Serializable NGeschieb;
     private Serializable NVielpkt;
     private Serializable sysDate;
     private Serializable bemerkung;
     private Serializable lastupdated;
     private Serializable km;
     private Serializable glotabstoffset;
     private Serializable slotabstoffset;
     private Serializable gbreitevonlinks;
     private Serializable gbreitebislinks;
     private Serializable staname;
     private Serializable stakm;
     private Serializable gewaesserid;
     private Serializable gewname;
     private Serializable bezugspegelid;

    public MessungstaId() {
    }

    public MessungstaId(Serializable messungid, Serializable stationid, Serializable datum, Serializable hpeilungid, Serializable mpeilungid, Serializable gfaengerid, Serializable gsiebsatzid, Serializable messnr, Serializable fgue, Serializable uhrvon, Serializable uhrbis, Serializable wspcm, Serializable QBpegel, Serializable wspnn, Serializable ie, Serializable wtemp, Serializable gbreite, Serializable gbreitevon, Serializable gbreitebis, Serializable tgeschiebe, Serializable tsand, Serializable tschweb, Serializable cschweb, Serializable uferliabst, Serializable uferreabst, Serializable q, Serializable AHpeil, Serializable AMpeil, Serializable b, Serializable hm, Serializable vm, Serializable vsohle, Serializable tau, Serializable tauv, Serializable teilQ, Serializable teilAHpeil, Serializable teilAMpeil, Serializable teilB, Serializable teilHm, Serializable teilVm, Serializable teilVsohle, Serializable teilTau, Serializable teilTauv, Serializable mitteltyp, Serializable dm, Serializable sk, Serializable so, Serializable u, Serializable d90, Serializable d84, Serializable d80, Serializable d75, Serializable d70, Serializable d60, Serializable d50, Serializable d40, Serializable d30, Serializable d25, Serializable d20, Serializable d16, Serializable d10, Serializable dmin, Serializable durchdmin, Serializable dmax, Serializable durchdmax, Serializable NGeschieb, Serializable NVielpkt, Serializable sysDate, Serializable bemerkung, Serializable lastupdated, Serializable km, Serializable glotabstoffset, Serializable slotabstoffset, Serializable gbreitevonlinks, Serializable gbreitebislinks, Serializable staname, Serializable stakm, Serializable gewaesserid, Serializable gewname, Serializable bezugspegelid) {
       this.messungid = messungid;
       this.stationid = stationid;
       this.datum = datum;
       this.hpeilungid = hpeilungid;
       this.mpeilungid = mpeilungid;
       this.gfaengerid = gfaengerid;
       this.gsiebsatzid = gsiebsatzid;
       this.messnr = messnr;
       this.fgue = fgue;
       this.uhrvon = uhrvon;
       this.uhrbis = uhrbis;
       this.wspcm = wspcm;
       this.QBpegel = QBpegel;
       this.wspnn = wspnn;
       this.ie = ie;
       this.wtemp = wtemp;
       this.gbreite = gbreite;
       this.gbreitevon = gbreitevon;
       this.gbreitebis = gbreitebis;
       this.tgeschiebe = tgeschiebe;
       this.tsand = tsand;
       this.tschweb = tschweb;
       this.cschweb = cschweb;
       this.uferliabst = uferliabst;
       this.uferreabst = uferreabst;
       this.q = q;
       this.AHpeil = AHpeil;
       this.AMpeil = AMpeil;
       this.b = b;
       this.hm = hm;
       this.vm = vm;
       this.vsohle = vsohle;
       this.tau = tau;
       this.tauv = tauv;
       this.teilQ = teilQ;
       this.teilAHpeil = teilAHpeil;
       this.teilAMpeil = teilAMpeil;
       this.teilB = teilB;
       this.teilHm = teilHm;
       this.teilVm = teilVm;
       this.teilVsohle = teilVsohle;
       this.teilTau = teilTau;
       this.teilTauv = teilTauv;
       this.mitteltyp = mitteltyp;
       this.dm = dm;
       this.sk = sk;
       this.so = so;
       this.u = u;
       this.d90 = d90;
       this.d84 = d84;
       this.d80 = d80;
       this.d75 = d75;
       this.d70 = d70;
       this.d60 = d60;
       this.d50 = d50;
       this.d40 = d40;
       this.d30 = d30;
       this.d25 = d25;
       this.d20 = d20;
       this.d16 = d16;
       this.d10 = d10;
       this.dmin = dmin;
       this.durchdmin = durchdmin;
       this.dmax = dmax;
       this.durchdmax = durchdmax;
       this.NGeschieb = NGeschieb;
       this.NVielpkt = NVielpkt;
       this.sysDate = sysDate;
       this.bemerkung = bemerkung;
       this.lastupdated = lastupdated;
       this.km = km;
       this.glotabstoffset = glotabstoffset;
       this.slotabstoffset = slotabstoffset;
       this.gbreitevonlinks = gbreitevonlinks;
       this.gbreitebislinks = gbreitebislinks;
       this.staname = staname;
       this.stakm = stakm;
       this.gewaesserid = gewaesserid;
       this.gewname = gewname;
       this.bezugspegelid = bezugspegelid;
    }



    @Column(name="MESSUNGID")
    public Serializable getMessungid() {
        return this.messungid;
    }

    public void setMessungid(Serializable messungid) {
        this.messungid = messungid;
    }


    @Column(name="STATIONID")
    public Serializable getStationid() {
        return this.stationid;
    }

    public void setStationid(Serializable stationid) {
        this.stationid = stationid;
    }


    @Column(name="DATUM")
    public Serializable getDatum() {
        return this.datum;
    }

    public void setDatum(Serializable datum) {
        this.datum = datum;
    }


    @Column(name="HPEILUNGID")
    public Serializable getHpeilungid() {
        return this.hpeilungid;
    }

    public void setHpeilungid(Serializable hpeilungid) {
        this.hpeilungid = hpeilungid;
    }


    @Column(name="MPEILUNGID")
    public Serializable getMpeilungid() {
        return this.mpeilungid;
    }

    public void setMpeilungid(Serializable mpeilungid) {
        this.mpeilungid = mpeilungid;
    }


    @Column(name="GFAENGERID")
    public Serializable getGfaengerid() {
        return this.gfaengerid;
    }

    public void setGfaengerid(Serializable gfaengerid) {
        this.gfaengerid = gfaengerid;
    }


    @Column(name="GSIEBSATZID")
    public Serializable getGsiebsatzid() {
        return this.gsiebsatzid;
    }

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


    @Column(name="MESSNR")
    public Serializable getMessnr() {
        return this.messnr;
    }

    public void setMessnr(Serializable messnr) {
        this.messnr = messnr;
    }


    @Column(name="FGUE")
    public Serializable getFgue() {
        return this.fgue;
    }

    public void setFgue(Serializable fgue) {
        this.fgue = fgue;
    }


    @Column(name="UHRVON")
    public Serializable getUhrvon() {
        return this.uhrvon;
    }

    public void setUhrvon(Serializable uhrvon) {
        this.uhrvon = uhrvon;
    }


    @Column(name="UHRBIS")
    public Serializable getUhrbis() {
        return this.uhrbis;
    }

    public void setUhrbis(Serializable uhrbis) {
        this.uhrbis = uhrbis;
    }


    @Column(name="WSPCM")
    public Serializable getWspcm() {
        return this.wspcm;
    }

    public void setWspcm(Serializable wspcm) {
        this.wspcm = wspcm;
    }


    @Column(name="Q_BPEGEL")
    public Serializable getQBpegel() {
        return this.QBpegel;
    }

    public void setQBpegel(Serializable QBpegel) {
        this.QBpegel = QBpegel;
    }


    @Column(name="WSPNN")
    public Serializable getWspnn() {
        return this.wspnn;
    }

    public void setWspnn(Serializable wspnn) {
        this.wspnn = wspnn;
    }


    @Column(name="IE")
    public Serializable getIe() {
        return this.ie;
    }

    public void setIe(Serializable ie) {
        this.ie = ie;
    }


    @Column(name="WTEMP")
    public Serializable getWtemp() {
        return this.wtemp;
    }

    public void setWtemp(Serializable wtemp) {
        this.wtemp = wtemp;
    }


    @Column(name="GBREITE")
    public Serializable getGbreite() {
        return this.gbreite;
    }

    public void setGbreite(Serializable gbreite) {
        this.gbreite = gbreite;
    }


    @Column(name="GBREITEVON")
    public Serializable getGbreitevon() {
        return this.gbreitevon;
    }

    public void setGbreitevon(Serializable gbreitevon) {
        this.gbreitevon = gbreitevon;
    }


    @Column(name="GBREITEBIS")
    public Serializable getGbreitebis() {
        return this.gbreitebis;
    }

    public void setGbreitebis(Serializable gbreitebis) {
        this.gbreitebis = gbreitebis;
    }


    @Column(name="TGESCHIEBE")
    public Serializable getTgeschiebe() {
        return this.tgeschiebe;
    }

    public void setTgeschiebe(Serializable tgeschiebe) {
        this.tgeschiebe = tgeschiebe;
    }


    @Column(name="TSAND")
    public Serializable getTsand() {
        return this.tsand;
    }

    public void setTsand(Serializable tsand) {
        this.tsand = tsand;
    }


    @Column(name="TSCHWEB")
    public Serializable getTschweb() {
        return this.tschweb;
    }

    public void setTschweb(Serializable tschweb) {
        this.tschweb = tschweb;
    }


    @Column(name="CSCHWEB")
    public Serializable getCschweb() {
        return this.cschweb;
    }

    public void setCschweb(Serializable cschweb) {
        this.cschweb = cschweb;
    }


    @Column(name="UFERLIABST")
    public Serializable getUferliabst() {
        return this.uferliabst;
    }

    public void setUferliabst(Serializable uferliabst) {
        this.uferliabst = uferliabst;
    }


    @Column(name="UFERREABST")
    public Serializable getUferreabst() {
        return this.uferreabst;
    }

    public void setUferreabst(Serializable uferreabst) {
        this.uferreabst = uferreabst;
    }


    @Column(name="Q")
    public Serializable getQ() {
        return this.q;
    }

    public void setQ(Serializable q) {
        this.q = q;
    }


    @Column(name="A_HPEIL")
    public Serializable getAHpeil() {
        return this.AHpeil;
    }

    public void setAHpeil(Serializable AHpeil) {
        this.AHpeil = AHpeil;
    }


    @Column(name="A_MPEIL")
    public Serializable getAMpeil() {
        return this.AMpeil;
    }

    public void setAMpeil(Serializable AMpeil) {
        this.AMpeil = AMpeil;
    }


    @Column(name="B")
    public Serializable getB() {
        return this.b;
    }

    public void setB(Serializable b) {
        this.b = b;
    }


    @Column(name="HM")
    public Serializable getHm() {
        return this.hm;
    }

    public void setHm(Serializable hm) {
        this.hm = hm;
    }


    @Column(name="VM")
    public Serializable getVm() {
        return this.vm;
    }

    public void setVm(Serializable vm) {
        this.vm = vm;
    }


    @Column(name="VSOHLE")
    public Serializable getVsohle() {
        return this.vsohle;
    }

    public void setVsohle(Serializable vsohle) {
        this.vsohle = vsohle;
    }


    @Column(name="TAU")
    public Serializable getTau() {
        return this.tau;
    }

    public void setTau(Serializable tau) {
        this.tau = tau;
    }


    @Column(name="TAUV")
    public Serializable getTauv() {
        return this.tauv;
    }

    public void setTauv(Serializable tauv) {
        this.tauv = tauv;
    }


    @Column(name="TEIL_Q")
    public Serializable getTeilQ() {
        return this.teilQ;
    }

    public void setTeilQ(Serializable teilQ) {
        this.teilQ = teilQ;
    }


    @Column(name="TEIL_A_HPEIL")
    public Serializable getTeilAHpeil() {
        return this.teilAHpeil;
    }

    public void setTeilAHpeil(Serializable teilAHpeil) {
        this.teilAHpeil = teilAHpeil;
    }


    @Column(name="TEIL_A_MPEIL")
    public Serializable getTeilAMpeil() {
        return this.teilAMpeil;
    }

    public void setTeilAMpeil(Serializable teilAMpeil) {
        this.teilAMpeil = teilAMpeil;
    }


    @Column(name="TEIL_B")
    public Serializable getTeilB() {
        return this.teilB;
    }

    public void setTeilB(Serializable teilB) {
        this.teilB = teilB;
    }


    @Column(name="TEIL_HM")
    public Serializable getTeilHm() {
        return this.teilHm;
    }

    public void setTeilHm(Serializable teilHm) {
        this.teilHm = teilHm;
    }


    @Column(name="TEIL_VM")
    public Serializable getTeilVm() {
        return this.teilVm;
    }

    public void setTeilVm(Serializable teilVm) {
        this.teilVm = teilVm;
    }


    @Column(name="TEIL_VSOHLE")
    public Serializable getTeilVsohle() {
        return this.teilVsohle;
    }

    public void setTeilVsohle(Serializable teilVsohle) {
        this.teilVsohle = teilVsohle;
    }


    @Column(name="TEIL_TAU")
    public Serializable getTeilTau() {
        return this.teilTau;
    }

    public void setTeilTau(Serializable teilTau) {
        this.teilTau = teilTau;
    }


    @Column(name="TEIL_TAUV")
    public Serializable getTeilTauv() {
        return this.teilTauv;
    }

    public void setTeilTauv(Serializable teilTauv) {
        this.teilTauv = teilTauv;
    }


    @Column(name="MITTELTYP")
    public Serializable getMitteltyp() {
        return this.mitteltyp;
    }

    public void setMitteltyp(Serializable mitteltyp) {
        this.mitteltyp = mitteltyp;
    }


    @Column(name="DM")
    public Serializable getDm() {
        return this.dm;
    }

    public void setDm(Serializable dm) {
        this.dm = dm;
    }


    @Column(name="SK")
    public Serializable getSk() {
        return this.sk;
    }

    public void setSk(Serializable sk) {
        this.sk = sk;
    }


    @Column(name="SO")
    public Serializable getSo() {
        return this.so;
    }

    public void setSo(Serializable so) {
        this.so = so;
    }


    @Column(name="U")
    public Serializable getU() {
        return this.u;
    }

    public void setU(Serializable u) {
        this.u = u;
    }


    @Column(name="D90")
    public Serializable getD90() {
        return this.d90;
    }

    public void setD90(Serializable d90) {
        this.d90 = d90;
    }


    @Column(name="D84")
    public Serializable getD84() {
        return this.d84;
    }

    public void setD84(Serializable d84) {
        this.d84 = d84;
    }


    @Column(name="D80")
    public Serializable getD80() {
        return this.d80;
    }

    public void setD80(Serializable d80) {
        this.d80 = d80;
    }


    @Column(name="D75")
    public Serializable getD75() {
        return this.d75;
    }

    public void setD75(Serializable d75) {
        this.d75 = d75;
    }


    @Column(name="D70")
    public Serializable getD70() {
        return this.d70;
    }

    public void setD70(Serializable d70) {
        this.d70 = d70;
    }


    @Column(name="D60")
    public Serializable getD60() {
        return this.d60;
    }

    public void setD60(Serializable d60) {
        this.d60 = d60;
    }


    @Column(name="D50")
    public Serializable getD50() {
        return this.d50;
    }

    public void setD50(Serializable d50) {
        this.d50 = d50;
    }


    @Column(name="D40")
    public Serializable getD40() {
        return this.d40;
    }

    public void setD40(Serializable d40) {
        this.d40 = d40;
    }


    @Column(name="D30")
    public Serializable getD30() {
        return this.d30;
    }

    public void setD30(Serializable d30) {
        this.d30 = d30;
    }


    @Column(name="D25")
    public Serializable getD25() {
        return this.d25;
    }

    public void setD25(Serializable d25) {
        this.d25 = d25;
    }


    @Column(name="D20")
    public Serializable getD20() {
        return this.d20;
    }

    public void setD20(Serializable d20) {
        this.d20 = d20;
    }


    @Column(name="D16")
    public Serializable getD16() {
        return this.d16;
    }

    public void setD16(Serializable d16) {
        this.d16 = d16;
    }


    @Column(name="D10")
    public Serializable getD10() {
        return this.d10;
    }

    public void setD10(Serializable d10) {
        this.d10 = d10;
    }


    @Column(name="DMIN")
    public Serializable getDmin() {
        return this.dmin;
    }

    public void setDmin(Serializable dmin) {
        this.dmin = dmin;
    }


    @Column(name="DURCHDMIN")
    public Serializable getDurchdmin() {
        return this.durchdmin;
    }

    public void setDurchdmin(Serializable durchdmin) {
        this.durchdmin = durchdmin;
    }


    @Column(name="DMAX")
    public Serializable getDmax() {
        return this.dmax;
    }

    public void setDmax(Serializable dmax) {
        this.dmax = dmax;
    }


    @Column(name="DURCHDMAX")
    public Serializable getDurchdmax() {
        return this.durchdmax;
    }

    public void setDurchdmax(Serializable durchdmax) {
        this.durchdmax = durchdmax;
    }


    @Column(name="N_GESCHIEB")
    public Serializable getNGeschieb() {
        return this.NGeschieb;
    }

    public void setNGeschieb(Serializable NGeschieb) {
        this.NGeschieb = NGeschieb;
    }


    @Column(name="N_VIELPKT")
    public Serializable getNVielpkt() {
        return this.NVielpkt;
    }

    public void setNVielpkt(Serializable NVielpkt) {
        this.NVielpkt = NVielpkt;
    }


    @Column(name="SYS_DATE")
    public Serializable getSysDate() {
        return this.sysDate;
    }

    public void setSysDate(Serializable sysDate) {
        this.sysDate = sysDate;
    }


    @Column(name="BEMERKUNG")
    public Serializable getBemerkung() {
        return this.bemerkung;
    }

    public void setBemerkung(Serializable bemerkung) {
        this.bemerkung = bemerkung;
    }


    @Column(name="LASTUPDATED")
    public Serializable getLastupdated() {
        return this.lastupdated;
    }

    public void setLastupdated(Serializable lastupdated) {
        this.lastupdated = lastupdated;
    }


    @Column(name="KM")
    public Serializable getKm() {
        return this.km;
    }

    public void setKm(Serializable km) {
        this.km = km;
    }


    @Column(name="GLOTABSTOFFSET")
    public Serializable getGlotabstoffset() {
        return this.glotabstoffset;
    }

    public void setGlotabstoffset(Serializable glotabstoffset) {
        this.glotabstoffset = glotabstoffset;
    }


    @Column(name="SLOTABSTOFFSET")
    public Serializable getSlotabstoffset() {
        return this.slotabstoffset;
    }

    public void setSlotabstoffset(Serializable slotabstoffset) {
        this.slotabstoffset = slotabstoffset;
    }


    @Column(name="GBREITEVONLINKS")
    public Serializable getGbreitevonlinks() {
        return this.gbreitevonlinks;
    }

    public void setGbreitevonlinks(Serializable gbreitevonlinks) {
        this.gbreitevonlinks = gbreitevonlinks;
    }


    @Column(name="GBREITEBISLINKS")
    public Serializable getGbreitebislinks() {
        return this.gbreitebislinks;
    }

    public void setGbreitebislinks(Serializable gbreitebislinks) {
        this.gbreitebislinks = gbreitebislinks;
    }


    @Column(name="STANAME")
    public Serializable getStaname() {
        return this.staname;
    }

    public void setStaname(Serializable staname) {
        this.staname = staname;
    }


    @Column(name="STAKM")
    public Serializable getStakm() {
        return this.stakm;
    }

    public void setStakm(Serializable stakm) {
        this.stakm = stakm;
    }


    @Column(name="GEWAESSERID")
    public Serializable getGewaesserid() {
        return this.gewaesserid;
    }

    public void setGewaesserid(Serializable gewaesserid) {
        this.gewaesserid = gewaesserid;
    }


    @Column(name="GEWNAME")
    public Serializable getGewname() {
        return this.gewname;
    }

    public void setGewname(Serializable gewname) {
        this.gewname = gewname;
    }


    @Column(name="BEZUGSPEGELID")
    public Serializable getBezugspegelid() {
        return this.bezugspegelid;
    }

    public void setBezugspegelid(Serializable bezugspegelid) {
        this.bezugspegelid = bezugspegelid;
    }


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

         return ( (this.getMessungid()==castOther.getMessungid()) || ( this.getMessungid()!=null && castOther.getMessungid()!=null && this.getMessungid().equals(castOther.getMessungid()) ) )
 && ( (this.getStationid()==castOther.getStationid()) || ( this.getStationid()!=null && castOther.getStationid()!=null && this.getStationid().equals(castOther.getStationid()) ) )
 && ( (this.getDatum()==castOther.getDatum()) || ( this.getDatum()!=null && castOther.getDatum()!=null && this.getDatum().equals(castOther.getDatum()) ) )
 && ( (this.getHpeilungid()==castOther.getHpeilungid()) || ( this.getHpeilungid()!=null && castOther.getHpeilungid()!=null && this.getHpeilungid().equals(castOther.getHpeilungid()) ) )
 && ( (this.getMpeilungid()==castOther.getMpeilungid()) || ( this.getMpeilungid()!=null && castOther.getMpeilungid()!=null && this.getMpeilungid().equals(castOther.getMpeilungid()) ) )
 && ( (this.getGfaengerid()==castOther.getGfaengerid()) || ( this.getGfaengerid()!=null && castOther.getGfaengerid()!=null && this.getGfaengerid().equals(castOther.getGfaengerid()) ) )
 && ( (this.getGsiebsatzid()==castOther.getGsiebsatzid()) || ( this.getGsiebsatzid()!=null && castOther.getGsiebsatzid()!=null && this.getGsiebsatzid().equals(castOther.getGsiebsatzid()) ) )
 && ( (this.getMessnr()==castOther.getMessnr()) || ( this.getMessnr()!=null && castOther.getMessnr()!=null && this.getMessnr().equals(castOther.getMessnr()) ) )
 && ( (this.getFgue()==castOther.getFgue()) || ( this.getFgue()!=null && castOther.getFgue()!=null && this.getFgue().equals(castOther.getFgue()) ) )
 && ( (this.getUhrvon()==castOther.getUhrvon()) || ( this.getUhrvon()!=null && castOther.getUhrvon()!=null && this.getUhrvon().equals(castOther.getUhrvon()) ) )
 && ( (this.getUhrbis()==castOther.getUhrbis()) || ( this.getUhrbis()!=null && castOther.getUhrbis()!=null && this.getUhrbis().equals(castOther.getUhrbis()) ) )
 && ( (this.getWspcm()==castOther.getWspcm()) || ( this.getWspcm()!=null && castOther.getWspcm()!=null && this.getWspcm().equals(castOther.getWspcm()) ) )
 && ( (this.getQBpegel()==castOther.getQBpegel()) || ( this.getQBpegel()!=null && castOther.getQBpegel()!=null && this.getQBpegel().equals(castOther.getQBpegel()) ) )
 && ( (this.getWspnn()==castOther.getWspnn()) || ( this.getWspnn()!=null && castOther.getWspnn()!=null && this.getWspnn().equals(castOther.getWspnn()) ) )
 && ( (this.getIe()==castOther.getIe()) || ( this.getIe()!=null && castOther.getIe()!=null && this.getIe().equals(castOther.getIe()) ) )
 && ( (this.getWtemp()==castOther.getWtemp()) || ( this.getWtemp()!=null && castOther.getWtemp()!=null && this.getWtemp().equals(castOther.getWtemp()) ) )
 && ( (this.getGbreite()==castOther.getGbreite()) || ( this.getGbreite()!=null && castOther.getGbreite()!=null && this.getGbreite().equals(castOther.getGbreite()) ) )
 && ( (this.getGbreitevon()==castOther.getGbreitevon()) || ( this.getGbreitevon()!=null && castOther.getGbreitevon()!=null && this.getGbreitevon().equals(castOther.getGbreitevon()) ) )
 && ( (this.getGbreitebis()==castOther.getGbreitebis()) || ( this.getGbreitebis()!=null && castOther.getGbreitebis()!=null && this.getGbreitebis().equals(castOther.getGbreitebis()) ) )
 && ( (this.getTgeschiebe()==castOther.getTgeschiebe()) || ( this.getTgeschiebe()!=null && castOther.getTgeschiebe()!=null && this.getTgeschiebe().equals(castOther.getTgeschiebe()) ) )
 && ( (this.getTsand()==castOther.getTsand()) || ( this.getTsand()!=null && castOther.getTsand()!=null && this.getTsand().equals(castOther.getTsand()) ) )
 && ( (this.getTschweb()==castOther.getTschweb()) || ( this.getTschweb()!=null && castOther.getTschweb()!=null && this.getTschweb().equals(castOther.getTschweb()) ) )
 && ( (this.getCschweb()==castOther.getCschweb()) || ( this.getCschweb()!=null && castOther.getCschweb()!=null && this.getCschweb().equals(castOther.getCschweb()) ) )
 && ( (this.getUferliabst()==castOther.getUferliabst()) || ( this.getUferliabst()!=null && castOther.getUferliabst()!=null && this.getUferliabst().equals(castOther.getUferliabst()) ) )
 && ( (this.getUferreabst()==castOther.getUferreabst()) || ( this.getUferreabst()!=null && castOther.getUferreabst()!=null && this.getUferreabst().equals(castOther.getUferreabst()) ) )
 && ( (this.getQ()==castOther.getQ()) || ( this.getQ()!=null && castOther.getQ()!=null && this.getQ().equals(castOther.getQ()) ) )
 && ( (this.getAHpeil()==castOther.getAHpeil()) || ( this.getAHpeil()!=null && castOther.getAHpeil()!=null && this.getAHpeil().equals(castOther.getAHpeil()) ) )
 && ( (this.getAMpeil()==castOther.getAMpeil()) || ( this.getAMpeil()!=null && castOther.getAMpeil()!=null && this.getAMpeil().equals(castOther.getAMpeil()) ) )
 && ( (this.getB()==castOther.getB()) || ( this.getB()!=null && castOther.getB()!=null && this.getB().equals(castOther.getB()) ) )
 && ( (this.getHm()==castOther.getHm()) || ( this.getHm()!=null && castOther.getHm()!=null && this.getHm().equals(castOther.getHm()) ) )
 && ( (this.getVm()==castOther.getVm()) || ( this.getVm()!=null && castOther.getVm()!=null && this.getVm().equals(castOther.getVm()) ) )
 && ( (this.getVsohle()==castOther.getVsohle()) || ( this.getVsohle()!=null && castOther.getVsohle()!=null && this.getVsohle().equals(castOther.getVsohle()) ) )
 && ( (this.getTau()==castOther.getTau()) || ( this.getTau()!=null && castOther.getTau()!=null && this.getTau().equals(castOther.getTau()) ) )
 && ( (this.getTauv()==castOther.getTauv()) || ( this.getTauv()!=null && castOther.getTauv()!=null && this.getTauv().equals(castOther.getTauv()) ) )
 && ( (this.getTeilQ()==castOther.getTeilQ()) || ( this.getTeilQ()!=null && castOther.getTeilQ()!=null && this.getTeilQ().equals(castOther.getTeilQ()) ) )
 && ( (this.getTeilAHpeil()==castOther.getTeilAHpeil()) || ( this.getTeilAHpeil()!=null && castOther.getTeilAHpeil()!=null && this.getTeilAHpeil().equals(castOther.getTeilAHpeil()) ) )
 && ( (this.getTeilAMpeil()==castOther.getTeilAMpeil()) || ( this.getTeilAMpeil()!=null && castOther.getTeilAMpeil()!=null && this.getTeilAMpeil().equals(castOther.getTeilAMpeil()) ) )
 && ( (this.getTeilB()==castOther.getTeilB()) || ( this.getTeilB()!=null && castOther.getTeilB()!=null && this.getTeilB().equals(castOther.getTeilB()) ) )
 && ( (this.getTeilHm()==castOther.getTeilHm()) || ( this.getTeilHm()!=null && castOther.getTeilHm()!=null && this.getTeilHm().equals(castOther.getTeilHm()) ) )
 && ( (this.getTeilVm()==castOther.getTeilVm()) || ( this.getTeilVm()!=null && castOther.getTeilVm()!=null && this.getTeilVm().equals(castOther.getTeilVm()) ) )
 && ( (this.getTeilVsohle()==castOther.getTeilVsohle()) || ( this.getTeilVsohle()!=null && castOther.getTeilVsohle()!=null && this.getTeilVsohle().equals(castOther.getTeilVsohle()) ) )
 && ( (this.getTeilTau()==castOther.getTeilTau()) || ( this.getTeilTau()!=null && castOther.getTeilTau()!=null && this.getTeilTau().equals(castOther.getTeilTau()) ) )
 && ( (this.getTeilTauv()==castOther.getTeilTauv()) || ( this.getTeilTauv()!=null && castOther.getTeilTauv()!=null && this.getTeilTauv().equals(castOther.getTeilTauv()) ) )
 && ( (this.getMitteltyp()==castOther.getMitteltyp()) || ( this.getMitteltyp()!=null && castOther.getMitteltyp()!=null && this.getMitteltyp().equals(castOther.getMitteltyp()) ) )
 && ( (this.getDm()==castOther.getDm()) || ( this.getDm()!=null && castOther.getDm()!=null && this.getDm().equals(castOther.getDm()) ) )
 && ( (this.getSk()==castOther.getSk()) || ( this.getSk()!=null && castOther.getSk()!=null && this.getSk().equals(castOther.getSk()) ) )
 && ( (this.getSo()==castOther.getSo()) || ( this.getSo()!=null && castOther.getSo()!=null && this.getSo().equals(castOther.getSo()) ) )
 && ( (this.getU()==castOther.getU()) || ( this.getU()!=null && castOther.getU()!=null && this.getU().equals(castOther.getU()) ) )
 && ( (this.getD90()==castOther.getD90()) || ( this.getD90()!=null && castOther.getD90()!=null && this.getD90().equals(castOther.getD90()) ) )
 && ( (this.getD84()==castOther.getD84()) || ( this.getD84()!=null && castOther.getD84()!=null && this.getD84().equals(castOther.getD84()) ) )
 && ( (this.getD80()==castOther.getD80()) || ( this.getD80()!=null && castOther.getD80()!=null && this.getD80().equals(castOther.getD80()) ) )
 && ( (this.getD75()==castOther.getD75()) || ( this.getD75()!=null && castOther.getD75()!=null && this.getD75().equals(castOther.getD75()) ) )
 && ( (this.getD70()==castOther.getD70()) || ( this.getD70()!=null && castOther.getD70()!=null && this.getD70().equals(castOther.getD70()) ) )
 && ( (this.getD60()==castOther.getD60()) || ( this.getD60()!=null && castOther.getD60()!=null && this.getD60().equals(castOther.getD60()) ) )
 && ( (this.getD50()==castOther.getD50()) || ( this.getD50()!=null && castOther.getD50()!=null && this.getD50().equals(castOther.getD50()) ) )
 && ( (this.getD40()==castOther.getD40()) || ( this.getD40()!=null && castOther.getD40()!=null && this.getD40().equals(castOther.getD40()) ) )
 && ( (this.getD30()==castOther.getD30()) || ( this.getD30()!=null && castOther.getD30()!=null && this.getD30().equals(castOther.getD30()) ) )
 && ( (this.getD25()==castOther.getD25()) || ( this.getD25()!=null && castOther.getD25()!=null && this.getD25().equals(castOther.getD25()) ) )
 && ( (this.getD20()==castOther.getD20()) || ( this.getD20()!=null && castOther.getD20()!=null && this.getD20().equals(castOther.getD20()) ) )
 && ( (this.getD16()==castOther.getD16()) || ( this.getD16()!=null && castOther.getD16()!=null && this.getD16().equals(castOther.getD16()) ) )
 && ( (this.getD10()==castOther.getD10()) || ( this.getD10()!=null && castOther.getD10()!=null && this.getD10().equals(castOther.getD10()) ) )
 && ( (this.getDmin()==castOther.getDmin()) || ( this.getDmin()!=null && castOther.getDmin()!=null && this.getDmin().equals(castOther.getDmin()) ) )
 && ( (this.getDurchdmin()==castOther.getDurchdmin()) || ( this.getDurchdmin()!=null && castOther.getDurchdmin()!=null && this.getDurchdmin().equals(castOther.getDurchdmin()) ) )
 && ( (this.getDmax()==castOther.getDmax()) || ( this.getDmax()!=null && castOther.getDmax()!=null && this.getDmax().equals(castOther.getDmax()) ) )
 && ( (this.getDurchdmax()==castOther.getDurchdmax()) || ( this.getDurchdmax()!=null && castOther.getDurchdmax()!=null && this.getDurchdmax().equals(castOther.getDurchdmax()) ) )
 && ( (this.getNGeschieb()==castOther.getNGeschieb()) || ( this.getNGeschieb()!=null && castOther.getNGeschieb()!=null && this.getNGeschieb().equals(castOther.getNGeschieb()) ) )
 && ( (this.getNVielpkt()==castOther.getNVielpkt()) || ( this.getNVielpkt()!=null && castOther.getNVielpkt()!=null && this.getNVielpkt().equals(castOther.getNVielpkt()) ) )
 && ( (this.getSysDate()==castOther.getSysDate()) || ( this.getSysDate()!=null && castOther.getSysDate()!=null && this.getSysDate().equals(castOther.getSysDate()) ) )
 && ( (this.getBemerkung()==castOther.getBemerkung()) || ( this.getBemerkung()!=null && castOther.getBemerkung()!=null && this.getBemerkung().equals(castOther.getBemerkung()) ) )
 && ( (this.getLastupdated()==castOther.getLastupdated()) || ( this.getLastupdated()!=null && castOther.getLastupdated()!=null && this.getLastupdated().equals(castOther.getLastupdated()) ) )
 && ( (this.getKm()==castOther.getKm()) || ( this.getKm()!=null && castOther.getKm()!=null && this.getKm().equals(castOther.getKm()) ) )
 && ( (this.getGlotabstoffset()==castOther.getGlotabstoffset()) || ( this.getGlotabstoffset()!=null && castOther.getGlotabstoffset()!=null && this.getGlotabstoffset().equals(castOther.getGlotabstoffset()) ) )
 && ( (this.getSlotabstoffset()==castOther.getSlotabstoffset()) || ( this.getSlotabstoffset()!=null && castOther.getSlotabstoffset()!=null && this.getSlotabstoffset().equals(castOther.getSlotabstoffset()) ) )
 && ( (this.getGbreitevonlinks()==castOther.getGbreitevonlinks()) || ( this.getGbreitevonlinks()!=null && castOther.getGbreitevonlinks()!=null && this.getGbreitevonlinks().equals(castOther.getGbreitevonlinks()) ) )
 && ( (this.getGbreitebislinks()==castOther.getGbreitebislinks()) || ( this.getGbreitebislinks()!=null && castOther.getGbreitebislinks()!=null && this.getGbreitebislinks().equals(castOther.getGbreitebislinks()) ) )
 && ( (this.getStaname()==castOther.getStaname()) || ( this.getStaname()!=null && castOther.getStaname()!=null && this.getStaname().equals(castOther.getStaname()) ) )
 && ( (this.getStakm()==castOther.getStakm()) || ( this.getStakm()!=null && castOther.getStakm()!=null && this.getStakm().equals(castOther.getStakm()) ) )
 && ( (this.getGewaesserid()==castOther.getGewaesserid()) || ( this.getGewaesserid()!=null && castOther.getGewaesserid()!=null && this.getGewaesserid().equals(castOther.getGewaesserid()) ) )
 && ( (this.getGewname()==castOther.getGewname()) || ( this.getGewname()!=null && castOther.getGewname()!=null && this.getGewname().equals(castOther.getGewname()) ) )
 && ( (this.getBezugspegelid()==castOther.getBezugspegelid()) || ( this.getBezugspegelid()!=null && castOther.getBezugspegelid()!=null && this.getBezugspegelid().equals(castOther.getBezugspegelid()) ) );
   }

   public int hashCode() {
         int result = 17;

         result = 37 * result + ( getMessungid() == null ? 0 : this.getMessungid().hashCode() );
         result = 37 * result + ( getStationid() == null ? 0 : this.getStationid().hashCode() );
         result = 37 * result + ( getDatum() == null ? 0 : this.getDatum().hashCode() );
         result = 37 * result + ( getHpeilungid() == null ? 0 : this.getHpeilungid().hashCode() );
         result = 37 * result + ( getMpeilungid() == null ? 0 : this.getMpeilungid().hashCode() );
         result = 37 * result + ( getGfaengerid() == null ? 0 : this.getGfaengerid().hashCode() );
         result = 37 * result + ( getGsiebsatzid() == null ? 0 : this.getGsiebsatzid().hashCode() );
         result = 37 * result + ( getMessnr() == null ? 0 : this.getMessnr().hashCode() );
         result = 37 * result + ( getFgue() == null ? 0 : this.getFgue().hashCode() );
         result = 37 * result + ( getUhrvon() == null ? 0 : this.getUhrvon().hashCode() );
         result = 37 * result + ( getUhrbis() == null ? 0 : this.getUhrbis().hashCode() );
         result = 37 * result + ( getWspcm() == null ? 0 : this.getWspcm().hashCode() );
         result = 37 * result + ( getQBpegel() == null ? 0 : this.getQBpegel().hashCode() );
         result = 37 * result + ( getWspnn() == null ? 0 : this.getWspnn().hashCode() );
         result = 37 * result + ( getIe() == null ? 0 : this.getIe().hashCode() );
         result = 37 * result + ( getWtemp() == null ? 0 : this.getWtemp().hashCode() );
         result = 37 * result + ( getGbreite() == null ? 0 : this.getGbreite().hashCode() );
         result = 37 * result + ( getGbreitevon() == null ? 0 : this.getGbreitevon().hashCode() );
         result = 37 * result + ( getGbreitebis() == null ? 0 : this.getGbreitebis().hashCode() );
         result = 37 * result + ( getTgeschiebe() == null ? 0 : this.getTgeschiebe().hashCode() );
         result = 37 * result + ( getTsand() == null ? 0 : this.getTsand().hashCode() );
         result = 37 * result + ( getTschweb() == null ? 0 : this.getTschweb().hashCode() );
         result = 37 * result + ( getCschweb() == null ? 0 : this.getCschweb().hashCode() );
         result = 37 * result + ( getUferliabst() == null ? 0 : this.getUferliabst().hashCode() );
         result = 37 * result + ( getUferreabst() == null ? 0 : this.getUferreabst().hashCode() );
         result = 37 * result + ( getQ() == null ? 0 : this.getQ().hashCode() );
         result = 37 * result + ( getAHpeil() == null ? 0 : this.getAHpeil().hashCode() );
         result = 37 * result + ( getAMpeil() == null ? 0 : this.getAMpeil().hashCode() );
         result = 37 * result + ( getB() == null ? 0 : this.getB().hashCode() );
         result = 37 * result + ( getHm() == null ? 0 : this.getHm().hashCode() );
         result = 37 * result + ( getVm() == null ? 0 : this.getVm().hashCode() );
         result = 37 * result + ( getVsohle() == null ? 0 : this.getVsohle().hashCode() );
         result = 37 * result + ( getTau() == null ? 0 : this.getTau().hashCode() );
         result = 37 * result + ( getTauv() == null ? 0 : this.getTauv().hashCode() );
         result = 37 * result + ( getTeilQ() == null ? 0 : this.getTeilQ().hashCode() );
         result = 37 * result + ( getTeilAHpeil() == null ? 0 : this.getTeilAHpeil().hashCode() );
         result = 37 * result + ( getTeilAMpeil() == null ? 0 : this.getTeilAMpeil().hashCode() );
         result = 37 * result + ( getTeilB() == null ? 0 : this.getTeilB().hashCode() );
         result = 37 * result + ( getTeilHm() == null ? 0 : this.getTeilHm().hashCode() );
         result = 37 * result + ( getTeilVm() == null ? 0 : this.getTeilVm().hashCode() );
         result = 37 * result + ( getTeilVsohle() == null ? 0 : this.getTeilVsohle().hashCode() );
         result = 37 * result + ( getTeilTau() == null ? 0 : this.getTeilTau().hashCode() );
         result = 37 * result + ( getTeilTauv() == null ? 0 : this.getTeilTauv().hashCode() );
         result = 37 * result + ( getMitteltyp() == null ? 0 : this.getMitteltyp().hashCode() );
         result = 37 * result + ( getDm() == null ? 0 : this.getDm().hashCode() );
         result = 37 * result + ( getSk() == null ? 0 : this.getSk().hashCode() );
         result = 37 * result + ( getSo() == null ? 0 : this.getSo().hashCode() );
         result = 37 * result + ( getU() == null ? 0 : this.getU().hashCode() );
         result = 37 * result + ( getD90() == null ? 0 : this.getD90().hashCode() );
         result = 37 * result + ( getD84() == null ? 0 : this.getD84().hashCode() );
         result = 37 * result + ( getD80() == null ? 0 : this.getD80().hashCode() );
         result = 37 * result + ( getD75() == null ? 0 : this.getD75().hashCode() );
         result = 37 * result + ( getD70() == null ? 0 : this.getD70().hashCode() );
         result = 37 * result + ( getD60() == null ? 0 : this.getD60().hashCode() );
         result = 37 * result + ( getD50() == null ? 0 : this.getD50().hashCode() );
         result = 37 * result + ( getD40() == null ? 0 : this.getD40().hashCode() );
         result = 37 * result + ( getD30() == null ? 0 : this.getD30().hashCode() );
         result = 37 * result + ( getD25() == null ? 0 : this.getD25().hashCode() );
         result = 37 * result + ( getD20() == null ? 0 : this.getD20().hashCode() );
         result = 37 * result + ( getD16() == null ? 0 : this.getD16().hashCode() );
         result = 37 * result + ( getD10() == null ? 0 : this.getD10().hashCode() );
         result = 37 * result + ( getDmin() == null ? 0 : this.getDmin().hashCode() );
         result = 37 * result + ( getDurchdmin() == null ? 0 : this.getDurchdmin().hashCode() );
         result = 37 * result + ( getDmax() == null ? 0 : this.getDmax().hashCode() );
         result = 37 * result + ( getDurchdmax() == null ? 0 : this.getDurchdmax().hashCode() );
         result = 37 * result + ( getNGeschieb() == null ? 0 : this.getNGeschieb().hashCode() );
         result = 37 * result + ( getNVielpkt() == null ? 0 : this.getNVielpkt().hashCode() );
         result = 37 * result + ( getSysDate() == null ? 0 : this.getSysDate().hashCode() );
         result = 37 * result + ( getBemerkung() == null ? 0 : this.getBemerkung().hashCode() );
         result = 37 * result + ( getLastupdated() == null ? 0 : this.getLastupdated().hashCode() );
         result = 37 * result + ( getKm() == null ? 0 : this.getKm().hashCode() );
         result = 37 * result + ( getGlotabstoffset() == null ? 0 : this.getGlotabstoffset().hashCode() );
         result = 37 * result + ( getSlotabstoffset() == null ? 0 : this.getSlotabstoffset().hashCode() );
         result = 37 * result + ( getGbreitevonlinks() == null ? 0 : this.getGbreitevonlinks().hashCode() );
         result = 37 * result + ( getGbreitebislinks() == null ? 0 : this.getGbreitebislinks().hashCode() );
         result = 37 * result + ( getStaname() == null ? 0 : this.getStaname().hashCode() );
         result = 37 * result + ( getStakm() == null ? 0 : this.getStakm().hashCode() );
         result = 37 * result + ( getGewaesserid() == null ? 0 : this.getGewaesserid().hashCode() );
         result = 37 * result + ( getGewname() == null ? 0 : this.getGewname().hashCode() );
         result = 37 * result + ( getBezugspegelid() == null ? 0 : this.getBezugspegelid().hashCode() );
         return result;
   }
}

http://dive4elements.wald.intevation.org