view flys-backend/src/main/java/de/intevation/seddb/model/Glotrechte.java @ 4025:721d55bdab9e

Add warning if no compatible facet is found This log info would have saved much of my time if it had been present.
author Björn Ricks <bjoern.ricks@intevation.de>
date Thu, 04 Oct 2012 14:02:42 +0200
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 java.util.HashSet;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;
import javax.persistence.Table;

/**
 * Glotrechte generated by hbm2java
 */
@Entity
@Table(name="GLOTRECHTE"
    ,schema="SEDDB"
)
public class Glotrechte  implements java.io.Serializable {


     private long glotrechteid;
     private Messung messung;
     private BigDecimal uferabst;
     private BigDecimal tgeschiebe;
     private BigDecimal dm;
     private BigDecimal sk;
     private BigDecimal so;
     private BigDecimal u;
     private BigDecimal d90;
     private BigDecimal d84;
     private BigDecimal d80;
     private BigDecimal d75;
     private BigDecimal d70;
     private BigDecimal d60;
     private BigDecimal d50;
     private BigDecimal d40;
     private BigDecimal d30;
     private BigDecimal d25;
     private BigDecimal d20;
     private BigDecimal d16;
     private BigDecimal d10;
     private BigDecimal dmin;
     private BigDecimal durchdmin;
     private BigDecimal dmax;
     private BigDecimal durchdmax;
     private BigDecimal stdabw;
     private BigDecimal stdfehler;
     private String bemerkung;
     private BigDecimal uferablinks;
     private Gsiebung gsiebung;
     private Set<Gprobe> gprobes = new HashSet<Gprobe>(0);

    public Glotrechte() {
    }


    public Glotrechte(long glotrechteid, Messung messung, BigDecimal uferabst) {
        this.glotrechteid = glotrechteid;
        this.messung = messung;
        this.uferabst = uferabst;
    }
    public Glotrechte(long glotrechteid, Messung messung, BigDecimal uferabst, BigDecimal tgeschiebe, BigDecimal dm, BigDecimal sk, BigDecimal so, BigDecimal u, BigDecimal d90, BigDecimal d84, BigDecimal d80, BigDecimal d75, BigDecimal d70, BigDecimal d60, BigDecimal d50, BigDecimal d40, BigDecimal d30, BigDecimal d25, BigDecimal d20, BigDecimal d16, BigDecimal d10, BigDecimal dmin, BigDecimal durchdmin, BigDecimal dmax, BigDecimal durchdmax, BigDecimal stdabw, BigDecimal stdfehler, String bemerkung, BigDecimal uferablinks, Gsiebung gsiebung, Set<Gprobe> gprobes) {
       this.glotrechteid = glotrechteid;
       this.messung = messung;
       this.uferabst = uferabst;
       this.tgeschiebe = tgeschiebe;
       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.stdabw = stdabw;
       this.stdfehler = stdfehler;
       this.bemerkung = bemerkung;
       this.uferablinks = uferablinks;
       this.gsiebung = gsiebung;
       this.gprobes = gprobes;
    }

     @Id


    @Column(name="GLOTRECHTEID", unique=true, nullable=false, precision=11, scale=0)
    public long getGlotrechteid() {
        return this.glotrechteid;
    }

    public void setGlotrechteid(long glotrechteid) {
        this.glotrechteid = glotrechteid;
    }

@ManyToOne(fetch=FetchType.LAZY)
    @JoinColumn(name="MESSUNGID", nullable=false)
    public Messung getMessung() {
        return this.messung;
    }

    public void setMessung(Messung messung) {
        this.messung = messung;
    }


    @Column(name="UFERABST", nullable=false, precision=8, scale=3)
    public BigDecimal getUferabst() {
        return this.uferabst;
    }

    public void setUferabst(BigDecimal uferabst) {
        this.uferabst = uferabst;
    }


    @Column(name="TGESCHIEBE", precision=8, scale=3)
    public BigDecimal getTgeschiebe() {
        return this.tgeschiebe;
    }

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


    @Column(name="DM", precision=7, scale=4)
    public BigDecimal getDm() {
        return this.dm;
    }

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


    @Column(name="SK", precision=8, scale=3)
    public BigDecimal getSk() {
        return this.sk;
    }

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


    @Column(name="SO", precision=8, scale=3)
    public BigDecimal getSo() {
        return this.so;
    }

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


    @Column(name="U", precision=8, scale=3)
    public BigDecimal getU() {
        return this.u;
    }

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


    @Column(name="D90", precision=7, scale=4)
    public BigDecimal getD90() {
        return this.d90;
    }

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


    @Column(name="D84", precision=7, scale=4)
    public BigDecimal getD84() {
        return this.d84;
    }

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


    @Column(name="D80", precision=7, scale=4)
    public BigDecimal getD80() {
        return this.d80;
    }

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


    @Column(name="D75", precision=7, scale=4)
    public BigDecimal getD75() {
        return this.d75;
    }

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


    @Column(name="D70", precision=7, scale=4)
    public BigDecimal getD70() {
        return this.d70;
    }

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


    @Column(name="D60", precision=7, scale=4)
    public BigDecimal getD60() {
        return this.d60;
    }

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


    @Column(name="D50", precision=7, scale=4)
    public BigDecimal getD50() {
        return this.d50;
    }

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


    @Column(name="D40", precision=7, scale=4)
    public BigDecimal getD40() {
        return this.d40;
    }

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


    @Column(name="D30", precision=7, scale=4)
    public BigDecimal getD30() {
        return this.d30;
    }

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


    @Column(name="D25", precision=7, scale=4)
    public BigDecimal getD25() {
        return this.d25;
    }

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


    @Column(name="D20", precision=7, scale=4)
    public BigDecimal getD20() {
        return this.d20;
    }

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


    @Column(name="D16", precision=7, scale=4)
    public BigDecimal getD16() {
        return this.d16;
    }

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


    @Column(name="D10", precision=7, scale=4)
    public BigDecimal getD10() {
        return this.d10;
    }

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


    @Column(name="DMIN", precision=7, scale=4)
    public BigDecimal getDmin() {
        return this.dmin;
    }

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


    @Column(name="DURCHDMIN", precision=6, scale=3)
    public BigDecimal getDurchdmin() {
        return this.durchdmin;
    }

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


    @Column(name="DMAX", precision=7, scale=4)
    public BigDecimal getDmax() {
        return this.dmax;
    }

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


    @Column(name="DURCHDMAX", precision=6, scale=3)
    public BigDecimal getDurchdmax() {
        return this.durchdmax;
    }

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


    @Column(name="STDABW", precision=8, scale=3)
    public BigDecimal getStdabw() {
        return this.stdabw;
    }

    public void setStdabw(BigDecimal stdabw) {
        this.stdabw = stdabw;
    }


    @Column(name="STDFEHLER", precision=8, scale=3)
    public BigDecimal getStdfehler() {
        return this.stdfehler;
    }

    public void setStdfehler(BigDecimal stdfehler) {
        this.stdfehler = stdfehler;
    }


    @Column(name="BEMERKUNG", length=240)
    public String getBemerkung() {
        return this.bemerkung;
    }

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


    @Column(name="UFERABLINKS", precision=8, scale=3)
    public BigDecimal getUferablinks() {
        return this.uferablinks;
    }

    public void setUferablinks(BigDecimal uferablinks) {
        this.uferablinks = uferablinks;
    }

@OneToOne(fetch=FetchType.LAZY, mappedBy="glotrechte")
    public Gsiebung getGsiebung() {
        return this.gsiebung;
    }

    public void setGsiebung(Gsiebung gsiebung) {
        this.gsiebung = gsiebung;
    }

@OneToMany(fetch=FetchType.LAZY, mappedBy="glotrechte")
    public Set<Gprobe> getGprobes() {
        return this.gprobes;
    }

    public void setGprobes(Set<Gprobe> gprobes) {
        this.gprobes = gprobes;
    }
}

http://dive4elements.wald.intevation.org