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.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.OneToMany; sascha@3332: import javax.persistence.Table; sascha@3332: sascha@3332: /** sascha@3332: * Zzprobenahmeart generated by hbm2java sascha@3332: */ sascha@3332: @Entity sascha@3332: @Table(name="ZZPROBENAHMEART" sascha@3332: ,schema="SEDDB" sascha@3332: ) sascha@3332: public class Zzprobenahmeart implements java.io.Serializable { sascha@3332: sascha@3332: sascha@3332: private long probenahmeartid; sascha@3332: private boolean istkern; sascha@3332: private String name; sascha@3332: private boolean istaktiv; sascha@3332: private String bemerkung; sascha@3332: private Set sohlprobes = new HashSet(0); sascha@3332: sascha@3332: public Zzprobenahmeart() { sascha@3332: } sascha@3332: sascha@3334: sascha@3332: public Zzprobenahmeart(long probenahmeartid, boolean istkern, String name, boolean istaktiv) { sascha@3332: this.probenahmeartid = probenahmeartid; sascha@3332: this.istkern = istkern; sascha@3332: this.name = name; sascha@3332: this.istaktiv = istaktiv; sascha@3332: } sascha@3332: public Zzprobenahmeart(long probenahmeartid, boolean istkern, String name, boolean istaktiv, String bemerkung, Set sohlprobes) { sascha@3332: this.probenahmeartid = probenahmeartid; sascha@3332: this.istkern = istkern; sascha@3332: this.name = name; sascha@3332: this.istaktiv = istaktiv; sascha@3332: this.bemerkung = bemerkung; sascha@3332: this.sohlprobes = sohlprobes; sascha@3332: } sascha@3332: sascha@3334: @Id sascha@3334: sascha@3334: sascha@3332: @Column(name="PROBENAHMEARTID", unique=true, nullable=false, precision=11, scale=0) sascha@3332: public long getProbenahmeartid() { sascha@3332: return this.probenahmeartid; sascha@3332: } sascha@3334: sascha@3332: public void setProbenahmeartid(long probenahmeartid) { sascha@3332: this.probenahmeartid = probenahmeartid; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="ISTKERN", nullable=false, precision=1, scale=0) sascha@3332: public boolean isIstkern() { sascha@3332: return this.istkern; sascha@3332: } sascha@3334: sascha@3332: public void setIstkern(boolean istkern) { sascha@3332: this.istkern = istkern; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="NAME", nullable=false, length=50) sascha@3332: public String getName() { sascha@3332: return this.name; sascha@3332: } sascha@3334: sascha@3332: public void setName(String name) { sascha@3332: this.name = name; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="ISTAKTIV", nullable=false, precision=1, scale=0) sascha@3332: public boolean isIstaktiv() { sascha@3332: return this.istaktiv; sascha@3332: } sascha@3334: sascha@3332: public void setIstaktiv(boolean istaktiv) { sascha@3332: this.istaktiv = istaktiv; 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: @OneToMany(fetch=FetchType.LAZY, mappedBy="zzprobenahmeart") sascha@3332: public Set getSohlprobes() { sascha@3332: return this.sohlprobes; sascha@3332: } sascha@3334: sascha@3332: public void setSohlprobes(Set sohlprobes) { sascha@3332: this.sohlprobes = sohlprobes; sascha@3332: } sascha@3332: }