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 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.Table; sascha@3332: sascha@3332: /** sascha@3332: * Probebild generated by hbm2java sascha@3332: */ sascha@3332: @Entity sascha@3332: @Table(name="PROBEBILD" sascha@3332: ,schema="SEDDB" sascha@3332: ) sascha@3332: public class Probebild implements java.io.Serializable { sascha@3332: sascha@3332: sascha@3332: private long probebildid; sascha@3332: private Zzthema zzthema; sascha@3332: private Sohlprobe sohlprobe; sascha@3332: private int lfdnr; sascha@3332: private boolean istdigital; sascha@3332: private String pfad; sascha@3332: private String standort; sascha@3332: private String medium; sascha@3332: private String medpfad; sascha@3332: private String bemerkung; sascha@3332: private String typklein; sascha@3332: private String typmittel; sascha@3332: private String typgross; sascha@3332: sascha@3332: public Probebild() { sascha@3332: } sascha@3332: sascha@3332: public Probebild(long probebildid, Zzthema zzthema, Sohlprobe sohlprobe, int lfdnr, boolean istdigital) { sascha@3332: this.probebildid = probebildid; sascha@3332: this.zzthema = zzthema; sascha@3332: this.sohlprobe = sohlprobe; sascha@3332: this.lfdnr = lfdnr; sascha@3332: this.istdigital = istdigital; sascha@3332: } sascha@3332: public Probebild(long probebildid, Zzthema zzthema, Sohlprobe sohlprobe, int lfdnr, boolean istdigital, String pfad, String standort, String medium, String medpfad, String bemerkung, String typklein, String typmittel, String typgross) { sascha@3332: this.probebildid = probebildid; sascha@3332: this.zzthema = zzthema; sascha@3332: this.sohlprobe = sohlprobe; sascha@3332: this.lfdnr = lfdnr; sascha@3332: this.istdigital = istdigital; sascha@3332: this.pfad = pfad; sascha@3332: this.standort = standort; sascha@3332: this.medium = medium; sascha@3332: this.medpfad = medpfad; sascha@3332: this.bemerkung = bemerkung; sascha@3332: this.typklein = typklein; sascha@3332: this.typmittel = typmittel; sascha@3332: this.typgross = typgross; sascha@3332: } sascha@3332: sascha@3334: @Id sascha@3334: sascha@3334: sascha@3332: @Column(name="PROBEBILDID", unique=true, nullable=false, precision=11, scale=0) sascha@3332: public long getProbebildid() { sascha@3332: return this.probebildid; sascha@3332: } sascha@3334: sascha@3332: public void setProbebildid(long probebildid) { sascha@3332: this.probebildid = probebildid; sascha@3332: } sascha@3332: sascha@3332: @ManyToOne(fetch=FetchType.LAZY) sascha@3332: @JoinColumn(name="THEMAID", nullable=false) sascha@3332: public Zzthema getZzthema() { sascha@3332: return this.zzthema; sascha@3332: } sascha@3334: sascha@3332: public void setZzthema(Zzthema zzthema) { sascha@3332: this.zzthema = zzthema; sascha@3332: } sascha@3332: sascha@3332: @ManyToOne(fetch=FetchType.LAZY) sascha@3332: @JoinColumn(name="SOHLPROBEID", nullable=false) sascha@3332: public Sohlprobe getSohlprobe() { sascha@3332: return this.sohlprobe; sascha@3332: } sascha@3334: sascha@3332: public void setSohlprobe(Sohlprobe sohlprobe) { sascha@3332: this.sohlprobe = sohlprobe; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="LFDNR", nullable=false, precision=5, scale=0) sascha@3332: public int getLfdnr() { sascha@3332: return this.lfdnr; sascha@3332: } sascha@3334: sascha@3332: public void setLfdnr(int lfdnr) { sascha@3332: this.lfdnr = lfdnr; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="ISTDIGITAL", nullable=false, precision=1, scale=0) sascha@3332: public boolean isIstdigital() { sascha@3332: return this.istdigital; sascha@3332: } sascha@3334: sascha@3332: public void setIstdigital(boolean istdigital) { sascha@3332: this.istdigital = istdigital; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="PFAD", length=512) sascha@3332: public String getPfad() { sascha@3332: return this.pfad; sascha@3332: } sascha@3334: sascha@3332: public void setPfad(String pfad) { sascha@3332: this.pfad = pfad; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="STANDORT", length=50) sascha@3332: public String getStandort() { sascha@3332: return this.standort; sascha@3332: } sascha@3334: sascha@3332: public void setStandort(String standort) { sascha@3332: this.standort = standort; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="MEDIUM", length=50) sascha@3332: public String getMedium() { sascha@3332: return this.medium; sascha@3332: } sascha@3334: sascha@3332: public void setMedium(String medium) { sascha@3332: this.medium = medium; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="MEDPFAD", length=50) sascha@3332: public String getMedpfad() { sascha@3332: return this.medpfad; sascha@3332: } sascha@3334: sascha@3332: public void setMedpfad(String medpfad) { sascha@3332: this.medpfad = medpfad; 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="TYPKLEIN", length=8) sascha@3332: public String getTypklein() { sascha@3332: return this.typklein; sascha@3332: } sascha@3334: sascha@3332: public void setTypklein(String typklein) { sascha@3332: this.typklein = typklein; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="TYPMITTEL", length=8) sascha@3332: public String getTypmittel() { sascha@3332: return this.typmittel; sascha@3332: } sascha@3334: sascha@3332: public void setTypmittel(String typmittel) { sascha@3332: this.typmittel = typmittel; sascha@3332: } sascha@3332: sascha@3334: sascha@3332: @Column(name="TYPGROSS", length=8) sascha@3332: public String getTypgross() { sascha@3332: return this.typgross; sascha@3332: } sascha@3334: sascha@3332: public void setTypgross(String typgross) { sascha@3332: this.typgross = typgross; sascha@3332: } sascha@3332: }