view flys-backend/src/main/java/de/intevation/seddb/model/Gsiebsatz.java @ 5221:aa043641d9c8

Fix syntax error when river id is not found (pylint could have told me this)
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 11 Mar 2013 16:47:05 +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 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.OneToMany;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

/**
 * Gsiebsatz generated by hbm2java
 */
@Entity
@Table(name="GSIEBSATZ"
    ,schema="SEDDB"
    , uniqueConstraints = @UniqueConstraint(columnNames="NAME")
)
public class Gsiebsatz  implements java.io.Serializable {


     private long gsiebsatzid;
     private String name;
     private boolean istaktiv;
     private BigDecimal sieb01;
     private BigDecimal sieb02;
     private BigDecimal sieb03;
     private BigDecimal sieb04;
     private BigDecimal sieb05;
     private BigDecimal sieb06;
     private BigDecimal sieb07;
     private BigDecimal sieb08;
     private BigDecimal sieb09;
     private BigDecimal sieb10;
     private BigDecimal sieb11;
     private BigDecimal sieb12;
     private BigDecimal sieb13;
     private BigDecimal sieb14;
     private BigDecimal sieb15;
     private BigDecimal sieb16;
     private BigDecimal sieb17;
     private BigDecimal sieb18;
     private BigDecimal sieb19;
     private BigDecimal sieb20;
     private BigDecimal sieb21;
     private String bemerkung;
     private Set<Ssiebung> ssiebungs = new HashSet<Ssiebung>(0);
     private Set<Messung> messungs = new HashSet<Messung>(0);

    public Gsiebsatz() {
    }


    public Gsiebsatz(long gsiebsatzid, String name, boolean istaktiv) {
        this.gsiebsatzid = gsiebsatzid;
        this.name = name;
        this.istaktiv = istaktiv;
    }
    public Gsiebsatz(long gsiebsatzid, String name, boolean istaktiv, BigDecimal sieb01, BigDecimal sieb02, BigDecimal sieb03, BigDecimal sieb04, BigDecimal sieb05, BigDecimal sieb06, BigDecimal sieb07, BigDecimal sieb08, BigDecimal sieb09, BigDecimal sieb10, BigDecimal sieb11, BigDecimal sieb12, BigDecimal sieb13, BigDecimal sieb14, BigDecimal sieb15, BigDecimal sieb16, BigDecimal sieb17, BigDecimal sieb18, BigDecimal sieb19, BigDecimal sieb20, BigDecimal sieb21, String bemerkung, Set<Ssiebung> ssiebungs, Set<Messung> messungs) {
       this.gsiebsatzid = gsiebsatzid;
       this.name = name;
       this.istaktiv = istaktiv;
       this.sieb01 = sieb01;
       this.sieb02 = sieb02;
       this.sieb03 = sieb03;
       this.sieb04 = sieb04;
       this.sieb05 = sieb05;
       this.sieb06 = sieb06;
       this.sieb07 = sieb07;
       this.sieb08 = sieb08;
       this.sieb09 = sieb09;
       this.sieb10 = sieb10;
       this.sieb11 = sieb11;
       this.sieb12 = sieb12;
       this.sieb13 = sieb13;
       this.sieb14 = sieb14;
       this.sieb15 = sieb15;
       this.sieb16 = sieb16;
       this.sieb17 = sieb17;
       this.sieb18 = sieb18;
       this.sieb19 = sieb19;
       this.sieb20 = sieb20;
       this.sieb21 = sieb21;
       this.bemerkung = bemerkung;
       this.ssiebungs = ssiebungs;
       this.messungs = messungs;
    }

     @Id


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

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


    @Column(name="NAME", unique=true, nullable=false, length=20)
    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }


    @Column(name="ISTAKTIV", nullable=false, precision=1, scale=0)
    public boolean isIstaktiv() {
        return this.istaktiv;
    }

    public void setIstaktiv(boolean istaktiv) {
        this.istaktiv = istaktiv;
    }


    @Column(name="SIEB01", precision=7, scale=4)
    public BigDecimal getSieb01() {
        return this.sieb01;
    }

    public void setSieb01(BigDecimal sieb01) {
        this.sieb01 = sieb01;
    }


    @Column(name="SIEB02", precision=7, scale=4)
    public BigDecimal getSieb02() {
        return this.sieb02;
    }

    public void setSieb02(BigDecimal sieb02) {
        this.sieb02 = sieb02;
    }


    @Column(name="SIEB03", precision=7, scale=4)
    public BigDecimal getSieb03() {
        return this.sieb03;
    }

    public void setSieb03(BigDecimal sieb03) {
        this.sieb03 = sieb03;
    }


    @Column(name="SIEB04", precision=7, scale=4)
    public BigDecimal getSieb04() {
        return this.sieb04;
    }

    public void setSieb04(BigDecimal sieb04) {
        this.sieb04 = sieb04;
    }


    @Column(name="SIEB05", precision=7, scale=4)
    public BigDecimal getSieb05() {
        return this.sieb05;
    }

    public void setSieb05(BigDecimal sieb05) {
        this.sieb05 = sieb05;
    }


    @Column(name="SIEB06", precision=7, scale=4)
    public BigDecimal getSieb06() {
        return this.sieb06;
    }

    public void setSieb06(BigDecimal sieb06) {
        this.sieb06 = sieb06;
    }


    @Column(name="SIEB07", precision=7, scale=4)
    public BigDecimal getSieb07() {
        return this.sieb07;
    }

    public void setSieb07(BigDecimal sieb07) {
        this.sieb07 = sieb07;
    }


    @Column(name="SIEB08", precision=7, scale=4)
    public BigDecimal getSieb08() {
        return this.sieb08;
    }

    public void setSieb08(BigDecimal sieb08) {
        this.sieb08 = sieb08;
    }


    @Column(name="SIEB09", precision=7, scale=4)
    public BigDecimal getSieb09() {
        return this.sieb09;
    }

    public void setSieb09(BigDecimal sieb09) {
        this.sieb09 = sieb09;
    }


    @Column(name="SIEB10", precision=7, scale=4)
    public BigDecimal getSieb10() {
        return this.sieb10;
    }

    public void setSieb10(BigDecimal sieb10) {
        this.sieb10 = sieb10;
    }


    @Column(name="SIEB11", precision=7, scale=4)
    public BigDecimal getSieb11() {
        return this.sieb11;
    }

    public void setSieb11(BigDecimal sieb11) {
        this.sieb11 = sieb11;
    }


    @Column(name="SIEB12", precision=7, scale=4)
    public BigDecimal getSieb12() {
        return this.sieb12;
    }

    public void setSieb12(BigDecimal sieb12) {
        this.sieb12 = sieb12;
    }


    @Column(name="SIEB13", precision=7, scale=4)
    public BigDecimal getSieb13() {
        return this.sieb13;
    }

    public void setSieb13(BigDecimal sieb13) {
        this.sieb13 = sieb13;
    }


    @Column(name="SIEB14", precision=7, scale=4)
    public BigDecimal getSieb14() {
        return this.sieb14;
    }

    public void setSieb14(BigDecimal sieb14) {
        this.sieb14 = sieb14;
    }


    @Column(name="SIEB15", precision=7, scale=4)
    public BigDecimal getSieb15() {
        return this.sieb15;
    }

    public void setSieb15(BigDecimal sieb15) {
        this.sieb15 = sieb15;
    }


    @Column(name="SIEB16", precision=7, scale=4)
    public BigDecimal getSieb16() {
        return this.sieb16;
    }

    public void setSieb16(BigDecimal sieb16) {
        this.sieb16 = sieb16;
    }


    @Column(name="SIEB17", precision=7, scale=4)
    public BigDecimal getSieb17() {
        return this.sieb17;
    }

    public void setSieb17(BigDecimal sieb17) {
        this.sieb17 = sieb17;
    }


    @Column(name="SIEB18", precision=7, scale=4)
    public BigDecimal getSieb18() {
        return this.sieb18;
    }

    public void setSieb18(BigDecimal sieb18) {
        this.sieb18 = sieb18;
    }


    @Column(name="SIEB19", precision=7, scale=4)
    public BigDecimal getSieb19() {
        return this.sieb19;
    }

    public void setSieb19(BigDecimal sieb19) {
        this.sieb19 = sieb19;
    }


    @Column(name="SIEB20", precision=7, scale=4)
    public BigDecimal getSieb20() {
        return this.sieb20;
    }

    public void setSieb20(BigDecimal sieb20) {
        this.sieb20 = sieb20;
    }


    @Column(name="SIEB21", precision=7, scale=4)
    public BigDecimal getSieb21() {
        return this.sieb21;
    }

    public void setSieb21(BigDecimal sieb21) {
        this.sieb21 = sieb21;
    }


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

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

@OneToMany(fetch=FetchType.LAZY, mappedBy="gsiebsatz")
    public Set<Ssiebung> getSsiebungs() {
        return this.ssiebungs;
    }

    public void setSsiebungs(Set<Ssiebung> ssiebungs) {
        this.ssiebungs = ssiebungs;
    }

@OneToMany(fetch=FetchType.LAZY, mappedBy="gsiebsatz")
    public Set<Messung> getMessungs() {
        return this.messungs;
    }

    public void setMessungs(Set<Messung> messungs) {
        this.messungs = messungs;
    }
}

http://dive4elements.wald.intevation.org