diff src/main/java/de/intevation/lada/model/land/Probe.java @ 1097:186d602e031a

Merged branch schema-update into default.
author Tom Gottfried <tom@intevation.de>
date Fri, 14 Oct 2016 18:17:42 +0200
parents
children 830a47aeb15d
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/java/de/intevation/lada/model/land/Probe.java	Fri Oct 14 18:17:42 2016 +0200
@@ -0,0 +1,303 @@
+package de.intevation.lada.model.land;
+
+import java.io.Serializable;
+import java.sql.Timestamp;
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import javax.persistence.Transient;
+
+import org.hibernate.annotations.DynamicInsert;
+
+
+/**
+ * The persistent class for the probe database table.
+ * 
+ */
+// The DynamicInsert Annotation has the effect, that the persisted object still
+// has all the "null"-values. There is no reloading after the persistence
+// process!
+@Entity
+@DynamicInsert(true)
+public class Probe implements Serializable {
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @GeneratedValue(strategy=GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name="ba_id")
+    private Integer baId;
+
+    @Column(name="datenbasis_id")
+    private Integer datenbasisId;
+
+    @Column(name="erzeuger_id")
+    private Integer erzeugerId;
+
+    @Column(name="hauptproben_nr")
+    private String hauptprobenNr;
+
+    @Column(name="id_alt")
+    private String idAlt;
+
+    @Column(name="labor_mst_id")
+    private String laborMstId;
+
+    @Column(name="letzte_aenderung")
+    private Timestamp letzteAenderung;
+
+    private String media;
+
+    @Column(name="media_desk")
+    private String mediaDesk;
+
+    private Long mittelungsdauer;
+
+    @Column(name="mpl_id")
+    private Integer mplId;
+
+    @Column(name="mpr_id")
+    private Integer mprId;
+
+    @Column(name="mst_id")
+    private String mstId;
+
+    @Column(name="probe_nehmer_id")
+    private Integer probeNehmerId;
+
+    @Column(name="probeentnahme_beginn")
+    private Timestamp probeentnahmeBeginn;
+
+    @Column(name="probeentnahme_ende")
+    private Timestamp probeentnahmeEnde;
+
+    @Column(name="probenart_id")
+    private Integer probenartId;
+
+    @Column(name="solldatum_beginn")
+    private Timestamp solldatumBeginn;
+
+    @Column(name="solldatum_ende")
+    private Timestamp solldatumEnde;
+
+    private Boolean test;
+
+    @Column(name="tree_modified")
+    private Timestamp treeModified;
+
+    @Column(name="umw_id")
+    private String umwId;
+
+    @Transient
+    private boolean readonly;
+
+    @Transient
+    private boolean owner;
+
+    public Probe() {
+    }
+
+    public Integer getId() {
+        return this.id;
+    }
+
+    public void setId(Integer id) {
+        this.id = id;
+    }
+
+    public Integer getBaId() {
+        return this.baId;
+    }
+
+    public void setBaId(Integer baId) {
+        this.baId = baId;
+    }
+
+    public Integer getDatenbasisId() {
+        return this.datenbasisId;
+    }
+
+    public void setDatenbasisId(Integer datenbasisId) {
+        this.datenbasisId = datenbasisId;
+    }
+
+    public Integer getErzeugerId() {
+        return this.erzeugerId;
+    }
+
+    public void setErzeugerId(Integer erzeugerId) {
+        this.erzeugerId = erzeugerId;
+    }
+
+    public String getHauptprobenNr() {
+        return this.hauptprobenNr;
+    }
+
+    public void setHauptprobenNr(String hauptprobenNr) {
+        this.hauptprobenNr = hauptprobenNr;
+    }
+
+    public String getIdAlt() {
+        return this.idAlt;
+    }
+
+    public void setIdAlt(String idAlt) {
+        this.idAlt = idAlt;
+    }
+
+    public String getLaborMstId() {
+        return this.laborMstId;
+    }
+
+    public void setLaborMstId(String laborMstId) {
+        this.laborMstId = laborMstId;
+    }
+
+    public Timestamp getLetzteAenderung() {
+        return this.letzteAenderung;
+    }
+
+    public void setLetzteAenderung(Timestamp letzteAenderung) {
+        this.letzteAenderung = letzteAenderung;
+    }
+
+    public String getMedia() {
+        return this.media;
+    }
+
+    public void setMedia(String media) {
+        this.media = media;
+    }
+
+    public String getMediaDesk() {
+        return this.mediaDesk;
+    }
+
+    public void setMediaDesk(String mediaDesk) {
+        this.mediaDesk = mediaDesk;
+    }
+
+    public Long getMittelungsdauer() {
+        return this.mittelungsdauer;
+    }
+
+    public void setMittelungsdauer(Long mittelungsdauer) {
+        this.mittelungsdauer = mittelungsdauer;
+    }
+
+    public Integer getMplId() {
+        return this.mplId;
+    }
+
+    public void setMplId(Integer mplId) {
+        this.mplId = mplId;
+    }
+
+    public Integer getMprId() {
+        return this.mprId;
+    }
+
+    public void setMprId(Integer mprId) {
+        this.mprId = mprId;
+    }
+
+    public String getMstId() {
+        return this.mstId;
+    }
+
+    public void setMstId(String mstId) {
+        this.mstId = mstId;
+    }
+
+    public Integer getProbeNehmerId() {
+        return this.probeNehmerId;
+    }
+
+    public void setProbeNehmerId(Integer probeNehmerId) {
+        this.probeNehmerId = probeNehmerId;
+    }
+
+    public Timestamp getProbeentnahmeBeginn() {
+        return this.probeentnahmeBeginn;
+    }
+
+    public void setProbeentnahmeBeginn(Timestamp probeentnahmeBeginn) {
+        this.probeentnahmeBeginn = probeentnahmeBeginn;
+    }
+
+    public Timestamp getProbeentnahmeEnde() {
+        return this.probeentnahmeEnde;
+    }
+
+    public void setProbeentnahmeEnde(Timestamp probeentnahmeEnde) {
+        this.probeentnahmeEnde = probeentnahmeEnde;
+    }
+
+    public Integer getProbenartId() {
+        return this.probenartId;
+    }
+
+    public void setProbenartId(Integer probenartId) {
+        this.probenartId = probenartId;
+    }
+
+    public Timestamp getSolldatumBeginn() {
+        return this.solldatumBeginn;
+    }
+
+    public void setSolldatumBeginn(Timestamp solldatumBeginn) {
+        this.solldatumBeginn = solldatumBeginn;
+    }
+
+    public Timestamp getSolldatumEnde() {
+        return this.solldatumEnde;
+    }
+
+    public void setSolldatumEnde(Timestamp solldatumEnde) {
+        this.solldatumEnde = solldatumEnde;
+    }
+
+    public Boolean getTest() {
+        return this.test;
+    }
+
+    public void setTest(Boolean test) {
+        this.test = test;
+    }
+
+    public Timestamp getTreeModified() {
+        return this.treeModified;
+    }
+
+    public void setTreeModified(Timestamp treeModified) {
+        this.treeModified = treeModified;
+    }
+
+    public String getUmwId() {
+        return this.umwId;
+    }
+
+    public void setUmwId(String umwId) {
+        this.umwId = umwId;
+    }
+
+    public boolean isReadonly() {
+        return readonly;
+    }
+
+    public void setReadonly(boolean readonly) {
+        this.readonly = readonly;
+    }
+
+    public boolean isOwner() {
+        return owner;
+    }
+
+    public void setOwner(boolean owner) {
+        this.owner = owner;
+    }
+}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)