view flys-backend/src/main/java/de/intevation/seddb/model/Gsiebung.java @ 3961:f5912365619c

Adapted the spatial schema for DEMs and the DgmSqlConverter. flys-backend/trunk@5632 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 28 Sep 2012 08:37:08 +0000
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.OneToOne;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Parameter;

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


     private long glotrechteid;
     private Glotrechte glotrechte;
     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;
     private String bemerkung;

    public Gsiebung() {
    }

    public Gsiebung(Glotrechte glotrechte) {
        this.glotrechte = glotrechte;
    }
    public Gsiebung(Glotrechte glotrechte, 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, String bemerkung) {
       this.glotrechte = glotrechte;
       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;
       this.bemerkung = bemerkung;
    }

     @GenericGenerator(name="generator", strategy="foreign", parameters=@Parameter(name="property", value="glotrechte"))@Id @GeneratedValue(generator="generator")


    @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;
    }

@OneToOne(fetch=FetchType.LAZY)@PrimaryKeyJoinColumn
    public Glotrechte getGlotrechte() {
        return this.glotrechte;
    }

    public void setGlotrechte(Glotrechte glotrechte) {
        this.glotrechte = glotrechte;
    }


    @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;
    }


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

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

http://dive4elements.wald.intevation.org