changeset 528:435e1399f887

Updated umwelt model.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 19 Feb 2015 15:20:16 +0100
parents ddb83d20e52a
children 727d18d8fc26
files src/main/java/de/intevation/lada/model/stamm/Umwelt.java
diffstat 1 files changed, 6 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/model/stamm/Umwelt.java	Thu Feb 19 15:19:58 2015 +0100
+++ b/src/main/java/de/intevation/lada/model/stamm/Umwelt.java	Thu Feb 19 15:20:16 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;
 
 
@@ -33,9 +31,8 @@
     @Column(name="umwelt_bereich")
     private String umweltBereich;
 
-    @ManyToOne
-    @JoinColumn(name="meh_id")
-    private MessEinheit messEinheit;
+    @Column(name="meh_id")
+    private Integer mehId;
 
     public Umwelt() {
     }
@@ -64,12 +61,12 @@
         this.umweltBereich = umweltBereich;
     }
 
-    public MessEinheit getMessEinheit() {
-        return this.messEinheit;
+    public Integer getMehId() {
+        return this.mehId;
     }
 
-    public void setMessEinheit(MessEinheit messEinheit) {
-        this.messEinheit = messEinheit;
+    public void setMehId(Integer mehId) {
+        this.mehId = mehId;
     }
 
 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)