Mercurial > dive4elements > river
view flys-backend/src/main/java/de/intevation/seddb/model/Ssiebung.java @ 5115:c4b28de753de dami
removed unnecessary NOT NULL constraints from dem-table
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 27 Feb 2013 15:26:47 +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.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.OneToOne; import javax.persistence.PrimaryKeyJoinColumn; import javax.persistence.Table; import org.hibernate.annotations.GenericGenerator; import org.hibernate.annotations.Parameter; /** * Ssiebung generated by hbm2java */ @Entity @Table(name="SSIEBUNG" ,schema="SEDDB" ) public class Ssiebung implements java.io.Serializable { private long siebanalyseid; private Siebanalyse siebanalyse; private Gsiebsatz gsiebsatz; private BigDecimal gmasse; private BigDecimal rsieb01; private BigDecimal rsieb02; private BigDecimal rsieb03; private BigDecimal rsieb04; private BigDecimal rsieb05; private BigDecimal rsieb06; private BigDecimal rsieb07; private BigDecimal rsieb08; private BigDecimal rsieb09; private BigDecimal rsieb10; private BigDecimal rsieb11; private BigDecimal rsieb12; private BigDecimal rsieb13; private BigDecimal rsieb14; private BigDecimal rsieb15; private BigDecimal rsieb16; private BigDecimal rsieb17; private BigDecimal rsieb18; private BigDecimal rsieb19; private BigDecimal rsieb20; private BigDecimal rsieb21; private BigDecimal rest; public Ssiebung() { } public Ssiebung(Siebanalyse siebanalyse, Gsiebsatz gsiebsatz) { this.siebanalyse = siebanalyse; this.gsiebsatz = gsiebsatz; } public Ssiebung(Siebanalyse siebanalyse, Gsiebsatz gsiebsatz, BigDecimal gmasse, BigDecimal rsieb01, BigDecimal rsieb02, BigDecimal rsieb03, BigDecimal rsieb04, BigDecimal rsieb05, BigDecimal rsieb06, BigDecimal rsieb07, BigDecimal rsieb08, BigDecimal rsieb09, BigDecimal rsieb10, BigDecimal rsieb11, BigDecimal rsieb12, BigDecimal rsieb13, BigDecimal rsieb14, BigDecimal rsieb15, BigDecimal rsieb16, BigDecimal rsieb17, BigDecimal rsieb18, BigDecimal rsieb19, BigDecimal rsieb20, BigDecimal rsieb21, BigDecimal rest) { this.siebanalyse = siebanalyse; this.gsiebsatz = gsiebsatz; this.gmasse = gmasse; this.rsieb01 = rsieb01; this.rsieb02 = rsieb02; this.rsieb03 = rsieb03; this.rsieb04 = rsieb04; this.rsieb05 = rsieb05; this.rsieb06 = rsieb06; this.rsieb07 = rsieb07; this.rsieb08 = rsieb08; this.rsieb09 = rsieb09; this.rsieb10 = rsieb10; this.rsieb11 = rsieb11; this.rsieb12 = rsieb12; this.rsieb13 = rsieb13; this.rsieb14 = rsieb14; this.rsieb15 = rsieb15; this.rsieb16 = rsieb16; this.rsieb17 = rsieb17; this.rsieb18 = rsieb18; this.rsieb19 = rsieb19; this.rsieb20 = rsieb20; this.rsieb21 = rsieb21; this.rest = rest; } @GenericGenerator(name="generator", strategy="foreign", parameters=@Parameter(name="property", value="siebanalyse"))@Id @GeneratedValue(generator="generator") @Column(name="SIEBANALYSEID", unique=true, nullable=false, precision=11, scale=0) public long getSiebanalyseid() { return this.siebanalyseid; } public void setSiebanalyseid(long siebanalyseid) { this.siebanalyseid = siebanalyseid; } @OneToOne(fetch=FetchType.LAZY)@PrimaryKeyJoinColumn public Siebanalyse getSiebanalyse() { return this.siebanalyse; } public void setSiebanalyse(Siebanalyse siebanalyse) { this.siebanalyse = siebanalyse; } @ManyToOne(fetch=FetchType.LAZY) @JoinColumn(name="GSIEBSATZID", nullable=false) public Gsiebsatz getGsiebsatz() { return this.gsiebsatz; } public void setGsiebsatz(Gsiebsatz gsiebsatz) { this.gsiebsatz = gsiebsatz; } @Column(name="GMASSE", precision=9, scale=3) public BigDecimal getGmasse() { return this.gmasse; } public void setGmasse(BigDecimal gmasse) { this.gmasse = gmasse; } @Column(name="RSIEB01", precision=9, scale=3) public BigDecimal getRsieb01() { return this.rsieb01; } public void setRsieb01(BigDecimal rsieb01) { this.rsieb01 = rsieb01; } @Column(name="RSIEB02", precision=9, scale=3) public BigDecimal getRsieb02() { return this.rsieb02; } public void setRsieb02(BigDecimal rsieb02) { this.rsieb02 = rsieb02; } @Column(name="RSIEB03", precision=9, scale=3) public BigDecimal getRsieb03() { return this.rsieb03; } public void setRsieb03(BigDecimal rsieb03) { this.rsieb03 = rsieb03; } @Column(name="RSIEB04", precision=9, scale=3) public BigDecimal getRsieb04() { return this.rsieb04; } public void setRsieb04(BigDecimal rsieb04) { this.rsieb04 = rsieb04; } @Column(name="RSIEB05", precision=9, scale=3) public BigDecimal getRsieb05() { return this.rsieb05; } public void setRsieb05(BigDecimal rsieb05) { this.rsieb05 = rsieb05; } @Column(name="RSIEB06", precision=9, scale=3) public BigDecimal getRsieb06() { return this.rsieb06; } public void setRsieb06(BigDecimal rsieb06) { this.rsieb06 = rsieb06; } @Column(name="RSIEB07", precision=9, scale=3) public BigDecimal getRsieb07() { return this.rsieb07; } public void setRsieb07(BigDecimal rsieb07) { this.rsieb07 = rsieb07; } @Column(name="RSIEB08", precision=9, scale=3) public BigDecimal getRsieb08() { return this.rsieb08; } public void setRsieb08(BigDecimal rsieb08) { this.rsieb08 = rsieb08; } @Column(name="RSIEB09", precision=9, scale=3) public BigDecimal getRsieb09() { return this.rsieb09; } public void setRsieb09(BigDecimal rsieb09) { this.rsieb09 = rsieb09; } @Column(name="RSIEB10", precision=9, scale=3) public BigDecimal getRsieb10() { return this.rsieb10; } public void setRsieb10(BigDecimal rsieb10) { this.rsieb10 = rsieb10; } @Column(name="RSIEB11", precision=9, scale=3) public BigDecimal getRsieb11() { return this.rsieb11; } public void setRsieb11(BigDecimal rsieb11) { this.rsieb11 = rsieb11; } @Column(name="RSIEB12", precision=9, scale=3) public BigDecimal getRsieb12() { return this.rsieb12; } public void setRsieb12(BigDecimal rsieb12) { this.rsieb12 = rsieb12; } @Column(name="RSIEB13", precision=9, scale=3) public BigDecimal getRsieb13() { return this.rsieb13; } public void setRsieb13(BigDecimal rsieb13) { this.rsieb13 = rsieb13; } @Column(name="RSIEB14", precision=9, scale=3) public BigDecimal getRsieb14() { return this.rsieb14; } public void setRsieb14(BigDecimal rsieb14) { this.rsieb14 = rsieb14; } @Column(name="RSIEB15", precision=9, scale=3) public BigDecimal getRsieb15() { return this.rsieb15; } public void setRsieb15(BigDecimal rsieb15) { this.rsieb15 = rsieb15; } @Column(name="RSIEB16", precision=9, scale=3) public BigDecimal getRsieb16() { return this.rsieb16; } public void setRsieb16(BigDecimal rsieb16) { this.rsieb16 = rsieb16; } @Column(name="RSIEB17", precision=9, scale=3) public BigDecimal getRsieb17() { return this.rsieb17; } public void setRsieb17(BigDecimal rsieb17) { this.rsieb17 = rsieb17; } @Column(name="RSIEB18", precision=9, scale=3) public BigDecimal getRsieb18() { return this.rsieb18; } public void setRsieb18(BigDecimal rsieb18) { this.rsieb18 = rsieb18; } @Column(name="RSIEB19", precision=9, scale=3) public BigDecimal getRsieb19() { return this.rsieb19; } public void setRsieb19(BigDecimal rsieb19) { this.rsieb19 = rsieb19; } @Column(name="RSIEB20", precision=9, scale=3) public BigDecimal getRsieb20() { return this.rsieb20; } public void setRsieb20(BigDecimal rsieb20) { this.rsieb20 = rsieb20; } @Column(name="RSIEB21", precision=9, scale=3) public BigDecimal getRsieb21() { return this.rsieb21; } public void setRsieb21(BigDecimal rsieb21) { this.rsieb21 = rsieb21; } @Column(name="REST", precision=9, scale=3) public BigDecimal getRest() { return this.rest; } public void setRest(BigDecimal rest) { this.rest = rest; } }