teichmann@5844: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde teichmann@5844: * Software engineering by Intevation GmbH teichmann@5844: * teichmann@5844: * This file is Free Software under the GNU AGPL (>=v3) teichmann@5844: * and comes with ABSOLUTELY NO WARRANTY! Check out the teichmann@5844: * documentation coming with Dive4Elements River for details. teichmann@5844: */ teichmann@5844: teichmann@5829: package org.dive4elements.seddb.model; sascha@3332: // Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1 sascha@3332: sascha@3332: sascha@3332: import java.math.BigDecimal; sascha@3332: import javax.persistence.Column; sascha@3332: import javax.persistence.Entity; sascha@3332: import javax.persistence.FetchType; sascha@3332: import javax.persistence.Id; sascha@3332: import javax.persistence.JoinColumn; sascha@3332: import javax.persistence.ManyToOne; sascha@3332: import javax.persistence.OneToOne; sascha@3332: import javax.persistence.Table; sascha@3332: sascha@3332: /** sascha@3332: * Siebanalyse generated by hbm2java sascha@3332: */ sascha@3332: @Entity sascha@3332: @Table(name="SIEBANALYSE" sascha@3332: ,schema="SEDDB" sascha@3332: ) sascha@3332: public class Siebanalyse implements java.io.Serializable { sascha@3332: sascha@3332: sascha@3332: private long siebanalyseid; sascha@3332: private Sohlprobe sohlprobe; sascha@3332: private boolean istdigital; sascha@3332: private String standort; sascha@3332: private BigDecimal dm; sascha@3332: private BigDecimal so; sascha@3332: private BigDecimal sk; sascha@3332: private BigDecimal u; sascha@3332: private BigDecimal d90; sascha@3332: private BigDecimal d84; sascha@3332: private BigDecimal d80; sascha@3332: private BigDecimal d75; sascha@3332: private BigDecimal d70; sascha@3332: private BigDecimal d60; sascha@3332: private BigDecimal d50; sascha@3332: private BigDecimal d40; sascha@3332: private BigDecimal d30; sascha@3332: private BigDecimal d25; sascha@3332: private BigDecimal d20; sascha@3332: private BigDecimal d16; sascha@3332: private BigDecimal d10; sascha@3332: private BigDecimal dmin; sascha@3332: private BigDecimal durchdmin; sascha@3332: private BigDecimal dmax; sascha@3332: private BigDecimal durchdmax; sascha@3332: private String bemerkung; sascha@3332: private Ssiebung ssiebung; sascha@3332: sascha@3332: public Siebanalyse() { sascha@3332: } sascha@3332: sascha@3332: public Siebanalyse(long siebanalyseid, Sohlprobe sohlprobe, boolean istdigital) { sascha@3332: this.siebanalyseid = siebanalyseid; sascha@3332: this.sohlprobe = sohlprobe; sascha@3332: this.istdigital = istdigital; sascha@3332: } sascha@3332: public Siebanalyse(long siebanalyseid, Sohlprobe sohlprobe, boolean istdigital, String standort, BigDecimal dm, BigDecimal so, BigDecimal sk, 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, String bemerkung, Ssiebung ssiebung) { sascha@3332: this.siebanalyseid = siebanalyseid; sascha@3332: this.sohlprobe = sohlprobe; sascha@3332: this.istdigital = istdigital; sascha@3332: this.standort = standort; sascha@3332: this.dm = dm; sascha@3332: this.so = so; sascha@3332: this.sk = sk; sascha@3332: this.u = u; sascha@3332: this.d90 = d90; sascha@3332: this.d84 = d84; sascha@3332: this.d80 = d80; sascha@3332: this.d75 = d75; sascha@3332: this.d70 = d70; sascha@3332: this.d60 = d60; sascha@3332: this.d50 = d50; sascha@3332: this.d40 = d40; sascha@3332: this.d30 = d30; sascha@3332: this.d25 = d25; sascha@3332: this.d20 = d20; sascha@3332: this.d16 = d16; sascha@3332: this.d10 = d10; sascha@3332: this.dmin = dmin; sascha@3332: this.durchdmin = durchdmin; sascha@3332: this.dmax = dmax; sascha@3332: this.durchdmax = durchdmax; sascha@3332: this.bemerkung = bemerkung; sascha@3332: this.ssiebung = ssiebung; sascha@3332: } sascha@3332: sascha@3334: @Id sascha@3334: sascha@3334: sascha@3332: @Column(name="SIEBANALYSEID", unique=true, nullable=false, precision=11, scale=0) sascha@3332: public long getSiebanalyseid() { sascha@3332: return this.siebanalyseid; sascha@3332: } sascha@3334: sascha@3332: public void setSiebanalyseid(long siebanalyseid) { sascha@3332: this.siebanalyseid = siebanalyseid; sascha@3332: } sascha@3332: sascha@3332: @ManyToOne(fetch=FetchType.LAZY) sascha@3332: @JoinColumn(name="SOHLPROBEID", nullable=false) sascha@3332: public Sohlprobe getSohlprobe() { sascha@3332: return this.sohlprobe; sascha@3332: } sascha@3334: sascha@3332: public void setSohlprobe(Sohlprobe sohlprobe) { sascha@3332: this.sohlprobe = sohlprobe; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="ISTDIGITAL", nullable=false, precision=1, scale=0) sascha@3332: public boolean isIstdigital() { sascha@3332: return this.istdigital; sascha@3332: } sascha@3334: sascha@3332: public void setIstdigital(boolean istdigital) { sascha@3332: this.istdigital = istdigital; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="STANDORT", length=50) sascha@3332: public String getStandort() { sascha@3332: return this.standort; sascha@3332: } sascha@3334: sascha@3332: public void setStandort(String standort) { sascha@3332: this.standort = standort; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="DM", precision=7, scale=4) sascha@3332: public BigDecimal getDm() { sascha@3332: return this.dm; sascha@3332: } sascha@3334: sascha@3332: public void setDm(BigDecimal dm) { sascha@3332: this.dm = dm; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="SO", precision=8, scale=3) sascha@3332: public BigDecimal getSo() { sascha@3332: return this.so; sascha@3332: } sascha@3334: sascha@3332: public void setSo(BigDecimal so) { sascha@3332: this.so = so; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="SK", precision=8, scale=3) sascha@3332: public BigDecimal getSk() { sascha@3332: return this.sk; sascha@3332: } sascha@3334: sascha@3332: public void setSk(BigDecimal sk) { sascha@3332: this.sk = sk; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="U", precision=8, scale=3) sascha@3332: public BigDecimal getU() { sascha@3332: return this.u; sascha@3332: } sascha@3334: sascha@3332: public void setU(BigDecimal u) { sascha@3332: this.u = u; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="D90", precision=7, scale=4) sascha@3332: public BigDecimal getD90() { sascha@3332: return this.d90; sascha@3332: } sascha@3334: sascha@3332: public void setD90(BigDecimal d90) { sascha@3332: this.d90 = d90; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="D84", precision=7, scale=4) sascha@3332: public BigDecimal getD84() { sascha@3332: return this.d84; sascha@3332: } sascha@3334: sascha@3332: public void setD84(BigDecimal d84) { sascha@3332: this.d84 = d84; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="D80", precision=7, scale=4) sascha@3332: public BigDecimal getD80() { sascha@3332: return this.d80; sascha@3332: } sascha@3334: sascha@3332: public void setD80(BigDecimal d80) { sascha@3332: this.d80 = d80; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="D75", precision=7, scale=4) sascha@3332: public BigDecimal getD75() { sascha@3332: return this.d75; sascha@3332: } sascha@3334: sascha@3332: public void setD75(BigDecimal d75) { sascha@3332: this.d75 = d75; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="D70", precision=7, scale=4) sascha@3332: public BigDecimal getD70() { sascha@3332: return this.d70; sascha@3332: } sascha@3334: sascha@3332: public void setD70(BigDecimal d70) { sascha@3332: this.d70 = d70; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="D60", precision=7, scale=4) sascha@3332: public BigDecimal getD60() { sascha@3332: return this.d60; sascha@3332: } sascha@3334: sascha@3332: public void setD60(BigDecimal d60) { sascha@3332: this.d60 = d60; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="D50", precision=7, scale=4) sascha@3332: public BigDecimal getD50() { sascha@3332: return this.d50; sascha@3332: } sascha@3334: sascha@3332: public void setD50(BigDecimal d50) { sascha@3332: this.d50 = d50; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="D40", precision=7, scale=4) sascha@3332: public BigDecimal getD40() { sascha@3332: return this.d40; sascha@3332: } sascha@3334: sascha@3332: public void setD40(BigDecimal d40) { sascha@3332: this.d40 = d40; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="D30", precision=7, scale=4) sascha@3332: public BigDecimal getD30() { sascha@3332: return this.d30; sascha@3332: } sascha@3334: sascha@3332: public void setD30(BigDecimal d30) { sascha@3332: this.d30 = d30; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="D25", precision=7, scale=4) sascha@3332: public BigDecimal getD25() { sascha@3332: return this.d25; sascha@3332: } sascha@3334: sascha@3332: public void setD25(BigDecimal d25) { sascha@3332: this.d25 = d25; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="D20", precision=7, scale=4) sascha@3332: public BigDecimal getD20() { sascha@3332: return this.d20; sascha@3332: } sascha@3334: sascha@3332: public void setD20(BigDecimal d20) { sascha@3332: this.d20 = d20; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="D16", precision=7, scale=4) sascha@3332: public BigDecimal getD16() { sascha@3332: return this.d16; sascha@3332: } sascha@3334: sascha@3332: public void setD16(BigDecimal d16) { sascha@3332: this.d16 = d16; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="D10", precision=7, scale=4) sascha@3332: public BigDecimal getD10() { sascha@3332: return this.d10; sascha@3332: } sascha@3334: sascha@3332: public void setD10(BigDecimal d10) { sascha@3332: this.d10 = d10; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="DMIN", precision=7, scale=4) sascha@3332: public BigDecimal getDmin() { sascha@3332: return this.dmin; sascha@3332: } sascha@3334: sascha@3332: public void setDmin(BigDecimal dmin) { sascha@3332: this.dmin = dmin; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="DURCHDMIN", precision=6, scale=3) sascha@3332: public BigDecimal getDurchdmin() { sascha@3332: return this.durchdmin; sascha@3332: } sascha@3334: sascha@3332: public void setDurchdmin(BigDecimal durchdmin) { sascha@3332: this.durchdmin = durchdmin; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="DMAX", precision=7, scale=4) sascha@3332: public BigDecimal getDmax() { sascha@3332: return this.dmax; sascha@3332: } sascha@3334: sascha@3332: public void setDmax(BigDecimal dmax) { sascha@3332: this.dmax = dmax; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="DURCHDMAX", precision=6, scale=3) sascha@3332: public BigDecimal getDurchdmax() { sascha@3332: return this.durchdmax; sascha@3332: } sascha@3334: sascha@3332: public void setDurchdmax(BigDecimal durchdmax) { sascha@3332: this.durchdmax = durchdmax; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="BEMERKUNG", length=240) sascha@3332: public String getBemerkung() { sascha@3332: return this.bemerkung; sascha@3332: } sascha@3334: sascha@3332: public void setBemerkung(String bemerkung) { sascha@3332: this.bemerkung = bemerkung; sascha@3332: } sascha@3332: sascha@3332: @OneToOne(fetch=FetchType.LAZY, mappedBy="siebanalyse") sascha@3332: public Ssiebung getSsiebung() { sascha@3332: return this.ssiebung; sascha@3332: } sascha@3334: sascha@3332: public void setSsiebung(Ssiebung ssiebung) { sascha@3332: this.ssiebung = ssiebung; sascha@3332: } sascha@3332: }