Mercurial > dive4elements > river
view flys-backend/src/main/java/de/intevation/seddb/model/Bild.java @ 5370:2a5d7f9f268f
MainValuesArtifact: Spawn two new facets (for his. w/q diagrams).
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 22 Mar 2013 09:08:04 +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 javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; /** * Bild generated by hbm2java */ @Entity @Table(name="BILD" ,schema="SEDDB" ) public class Bild implements java.io.Serializable { private long bildid; private Zzthema zzthema; private Sohltest sohltest; private int lfdnr; private boolean istdigital; private String pfad; private String standort; private String medium; private String medpfad; private String bemerkung; private String typklein; private String typmittel; private String typgross; public Bild() { } public Bild(long bildid, Zzthema zzthema, Sohltest sohltest, int lfdnr, boolean istdigital) { this.bildid = bildid; this.zzthema = zzthema; this.sohltest = sohltest; this.lfdnr = lfdnr; this.istdigital = istdigital; } public Bild(long bildid, Zzthema zzthema, Sohltest sohltest, int lfdnr, boolean istdigital, String pfad, String standort, String medium, String medpfad, String bemerkung, String typklein, String typmittel, String typgross) { this.bildid = bildid; this.zzthema = zzthema; this.sohltest = sohltest; this.lfdnr = lfdnr; this.istdigital = istdigital; this.pfad = pfad; this.standort = standort; this.medium = medium; this.medpfad = medpfad; this.bemerkung = bemerkung; this.typklein = typklein; this.typmittel = typmittel; this.typgross = typgross; } @Id @Column(name="BILDID", unique=true, nullable=false, precision=11, scale=0) public long getBildid() { return this.bildid; } public void setBildid(long bildid) { this.bildid = bildid; } @ManyToOne(fetch=FetchType.LAZY) @JoinColumn(name="THEMAID", nullable=false) public Zzthema getZzthema() { return this.zzthema; } public void setZzthema(Zzthema zzthema) { this.zzthema = zzthema; } @ManyToOne(fetch=FetchType.LAZY) @JoinColumn(name="SOHLTESTID", nullable=false) public Sohltest getSohltest() { return this.sohltest; } public void setSohltest(Sohltest sohltest) { this.sohltest = sohltest; } @Column(name="LFDNR", nullable=false, precision=5, scale=0) public int getLfdnr() { return this.lfdnr; } public void setLfdnr(int lfdnr) { this.lfdnr = lfdnr; } @Column(name="ISTDIGITAL", nullable=false, precision=1, scale=0) public boolean isIstdigital() { return this.istdigital; } public void setIstdigital(boolean istdigital) { this.istdigital = istdigital; } @Column(name="PFAD", length=512) public String getPfad() { return this.pfad; } public void setPfad(String pfad) { this.pfad = pfad; } @Column(name="STANDORT", length=50) public String getStandort() { return this.standort; } public void setStandort(String standort) { this.standort = standort; } @Column(name="MEDIUM", length=50) public String getMedium() { return this.medium; } public void setMedium(String medium) { this.medium = medium; } @Column(name="MEDPFAD", length=50) public String getMedpfad() { return this.medpfad; } public void setMedpfad(String medpfad) { this.medpfad = medpfad; } @Column(name="BEMERKUNG", length=240) public String getBemerkung() { return this.bemerkung; } public void setBemerkung(String bemerkung) { this.bemerkung = bemerkung; } @Column(name="TYPKLEIN", length=8) public String getTypklein() { return this.typklein; } public void setTypklein(String typklein) { this.typklein = typklein; } @Column(name="TYPMITTEL", length=8) public String getTypmittel() { return this.typmittel; } public void setTypmittel(String typmittel) { this.typmittel = typmittel; } @Column(name="TYPGROSS", length=8) public String getTypgross() { return this.typgross; } public void setTypgross(String typgross) { this.typgross = typgross; } }