changeset 523:b28ad2ee8920

Updated staat model.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 19 Feb 2015 14:49:53 +0100
parents 90e6bc0d653e
children 19115c067ff9
files src/main/java/de/intevation/lada/model/stamm/Staat.java
diffstat 1 files changed, 6 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/model/stamm/Staat.java	Thu Feb 19 14:49:36 2015 +0100
+++ b/src/main/java/de/intevation/lada/model/stamm/Staat.java	Thu Feb 19 14:49:53 2015 +0100
@@ -47,10 +47,8 @@
     @Column(name="staat_kurz")
     private String staatKurz;
 
-    //bi-directional many-to-one association to KoordinatenArt
-    @ManyToOne
-    @JoinColumn(name="kda_id")
-    private KoordinatenArt koordinatenArt;
+    @Column(name="kda_id")
+    private Integer koordinatenartId;
 
     public Staat() {
     }
@@ -119,12 +117,12 @@
         this.staatKurz = staatKurz;
     }
 
-    public KoordinatenArt getKoordinatenArt() {
-        return this.koordinatenArt;
+    public Integer getKoordinatenartId() {
+        return this.koordinatenartId;
     }
 
-    public void setKoordinatenArt(KoordinatenArt koordinatenArt) {
-        this.koordinatenArt = koordinatenArt;
+    public void setKoordinatenartId(Integer koordinatenartId) {
+        this.koordinatenartId = koordinatenartId;
     }
 
 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)