changeset 510:7792ac182167

Updated pflichtmessgroesse model.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 19 Feb 2015 09:14:52 +0100
parents 7b3911b0d06e
children dd78b545e350
files src/main/java/de/intevation/lada/model/stamm/PflichtMessgroesse.java
diffstat 1 files changed, 21 insertions(+), 28 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/model/stamm/PflichtMessgroesse.java	Thu Feb 19 09:14:30 2015 +0100
+++ b/src/main/java/de/intevation/lada/model/stamm/PflichtMessgroesse.java	Thu Feb 19 09:14:52 2015 +0100
@@ -12,8 +12,6 @@
 import javax.persistence.Column;
 import javax.persistence.Entity;
 import javax.persistence.Id;
-import javax.persistence.JoinColumn;
-import javax.persistence.ManyToOne;
 import javax.persistence.Table;
 
 
@@ -31,18 +29,14 @@
     @Column(name="messgroesse_id")
     private Integer messgroesseId;
 
-    @ManyToOne
-    @JoinColumn(name="datenbasis_id")
-    private Datenbasis datenbasis;
+    @Column(name="datenbasis_id")
+    private Integer datenbasisId;
 
-    @ManyToOne
-    @JoinColumn(name="mmt_id")
-    private MessMethode messMethode;
+    @Column(name="mmt_id")
+    private String mmtId;
 
-    //bi-directional many-to-one association to Umwelt
-    @ManyToOne
-    @JoinColumn(name="umw_id")
-    private Umwelt umwelt;
+    @Column(name="umw_id")
+    private String umweltId;
 
     public PflichtMessgroesse() {
     }
@@ -63,28 +57,27 @@
         this.messgroesseId = messgroesseId;
     }
 
-    public Datenbasis getDatenbasi() {
-        return this.datenbasis;
-    }
-
-    public void setDatenbasi(Datenbasis datenbasi) {
-        this.datenbasis = datenbasi;
-    }
-
-    public MessMethode getMessMethode() {
-        return this.messMethode;
+    public Integer getDatenbasisId() {
+        return this.datenbasisId;
     }
 
-    public void setMessMethode(MessMethode messMethode) {
-        this.messMethode = messMethode;
+    public void setDatenbasisId(Integer datenbasisId) {
+        this.datenbasisId = datenbasisId;
     }
 
-    public Umwelt getUmwelt() {
-        return this.umwelt;
+    public String getMmtId() {
+        return this.mmtId;
     }
 
-    public void setUmwelt(Umwelt umwelt) {
-        this.umwelt = umwelt;
+    public void setMmtId(String mmtId) {
+        this.mmtId = mmtId;
     }
 
+    public String getUmweltId() {
+        return this.umweltId;
+    }
+
+    public void setUmweltId(String umweltId) {
+        this.umweltId = umweltId;
+    }
 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)