sascha@3332: package de.intevation.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 java.util.HashSet; sascha@3332: import java.util.Set; 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.OneToMany; sascha@3332: import javax.persistence.Table; sascha@3332: sascha@3332: /** sascha@3332: * Slotrechte generated by hbm2java sascha@3332: */ sascha@3332: @Entity sascha@3332: @Table(name="SLOTRECHTE" sascha@3332: ,schema="SEDDB" sascha@3332: ) sascha@3332: public class Slotrechte implements java.io.Serializable { sascha@3332: sascha@3332: sascha@3332: private long slotrechteid; sascha@3332: private Messung messung; sascha@3332: private BigDecimal uferabst; sascha@3332: private BigDecimal tsand; sascha@3332: private BigDecimal tschweb; sascha@3332: private BigDecimal fv; sascha@3332: private BigDecimal vm; sascha@3332: private BigDecimal tiefe; sascha@3332: private BigDecimal vsohle; sascha@3332: private String bemerkung; sascha@3332: private BigDecimal uferablinks; sascha@3332: private Set sprobes = new HashSet(0); sascha@3332: sascha@3332: public Slotrechte() { sascha@3332: } sascha@3332: sascha@3332: public Slotrechte(long slotrechteid, Messung messung, BigDecimal uferabst) { sascha@3332: this.slotrechteid = slotrechteid; sascha@3332: this.messung = messung; sascha@3332: this.uferabst = uferabst; sascha@3332: } sascha@3332: public Slotrechte(long slotrechteid, Messung messung, BigDecimal uferabst, BigDecimal tsand, BigDecimal tschweb, BigDecimal fv, BigDecimal vm, BigDecimal tiefe, BigDecimal vsohle, String bemerkung, BigDecimal uferablinks, Set sprobes) { sascha@3332: this.slotrechteid = slotrechteid; sascha@3332: this.messung = messung; sascha@3332: this.uferabst = uferabst; sascha@3332: this.tsand = tsand; sascha@3332: this.tschweb = tschweb; sascha@3332: this.fv = fv; sascha@3332: this.vm = vm; sascha@3332: this.tiefe = tiefe; sascha@3332: this.vsohle = vsohle; sascha@3332: this.bemerkung = bemerkung; sascha@3332: this.uferablinks = uferablinks; sascha@3332: this.sprobes = sprobes; sascha@3332: } sascha@3332: sascha@3334: @Id sascha@3334: sascha@3334: sascha@3332: @Column(name="SLOTRECHTEID", unique=true, nullable=false, precision=11, scale=0) sascha@3332: public long getSlotrechteid() { sascha@3332: return this.slotrechteid; sascha@3332: } sascha@3334: sascha@3332: public void setSlotrechteid(long slotrechteid) { sascha@3332: this.slotrechteid = slotrechteid; sascha@3332: } sascha@3332: sascha@3332: @ManyToOne(fetch=FetchType.LAZY) sascha@3332: @JoinColumn(name="MESSUNGID", nullable=false) sascha@3332: public Messung getMessung() { sascha@3332: return this.messung; sascha@3332: } sascha@3334: sascha@3332: public void setMessung(Messung messung) { sascha@3332: this.messung = messung; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="UFERABST", nullable=false, precision=8, scale=3) sascha@3332: public BigDecimal getUferabst() { sascha@3332: return this.uferabst; sascha@3332: } sascha@3334: sascha@3332: public void setUferabst(BigDecimal uferabst) { sascha@3332: this.uferabst = uferabst; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="TSAND", precision=8, scale=3) sascha@3332: public BigDecimal getTsand() { sascha@3332: return this.tsand; sascha@3332: } sascha@3334: sascha@3332: public void setTsand(BigDecimal tsand) { sascha@3332: this.tsand = tsand; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="TSCHWEB", precision=8, scale=3) sascha@3332: public BigDecimal getTschweb() { sascha@3332: return this.tschweb; sascha@3332: } sascha@3334: sascha@3332: public void setTschweb(BigDecimal tschweb) { sascha@3332: this.tschweb = tschweb; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="FV", precision=6, scale=3) sascha@3332: public BigDecimal getFv() { sascha@3332: return this.fv; sascha@3332: } sascha@3334: sascha@3332: public void setFv(BigDecimal fv) { sascha@3332: this.fv = fv; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="VM", precision=6, scale=4) sascha@3332: public BigDecimal getVm() { sascha@3332: return this.vm; sascha@3332: } sascha@3334: sascha@3332: public void setVm(BigDecimal vm) { sascha@3332: this.vm = vm; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="TIEFE", precision=8, scale=3) sascha@3332: public BigDecimal getTiefe() { sascha@3332: return this.tiefe; sascha@3332: } sascha@3334: sascha@3332: public void setTiefe(BigDecimal tiefe) { sascha@3332: this.tiefe = tiefe; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="VSOHLE", precision=6, scale=4) sascha@3332: public BigDecimal getVsohle() { sascha@3332: return this.vsohle; sascha@3332: } sascha@3334: sascha@3332: public void setVsohle(BigDecimal vsohle) { sascha@3332: this.vsohle = vsohle; 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@3334: sascha@3332: @Column(name="UFERABLINKS", precision=8, scale=3) sascha@3332: public BigDecimal getUferablinks() { sascha@3332: return this.uferablinks; sascha@3332: } sascha@3334: sascha@3332: public void setUferablinks(BigDecimal uferablinks) { sascha@3332: this.uferablinks = uferablinks; sascha@3332: } sascha@3332: sascha@3332: @OneToMany(fetch=FetchType.LAZY, mappedBy="slotrechte") sascha@3332: public Set getSprobes() { sascha@3332: return this.sprobes; sascha@3332: } sascha@3334: sascha@3332: public void setSprobes(Set sprobes) { sascha@3332: this.sprobes = sprobes; sascha@3332: } sascha@3332: }