changeset 896:c94a07959060

Use the laborMstId in generated probe objects.
author Raimund Renkert <raimund.renkert@intevation.de>
date Mon, 14 Mar 2016 10:15:06 +0100
parents 0a69252ed7a0
children 67c3d22372e4
files src/main/java/de/intevation/lada/factory/ProbeFactory.java src/main/java/de/intevation/lada/model/land/Messprogramm.java
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/factory/ProbeFactory.java	Fri Mar 11 14:00:10 2016 +0100
+++ b/src/main/java/de/intevation/lada/factory/ProbeFactory.java	Mon Mar 14 10:15:06 2016 +0100
@@ -154,6 +154,7 @@
         probe.setDatenbasisId(messprogramm.getDatenbasisId());
         probe.setMediaDesk(messprogramm.getMediaDesk());
         probe.setMstId(messprogramm.getMstId());
+        probe.setLaborMstId(messprogramm.getLaborMstId());
         probe.setNetzbetreiberId(messprogramm.getNetzbetreiberId());
         probe.setProbenartId(messprogramm.getProbenartId());
         probe.setProbeNehmerId(messprogramm.getProbeNehmerId());
--- a/src/main/java/de/intevation/lada/model/land/Messprogramm.java	Fri Mar 11 14:00:10 2016 +0100
+++ b/src/main/java/de/intevation/lada/model/land/Messprogramm.java	Mon Mar 14 10:15:06 2016 +0100
@@ -58,6 +58,9 @@
     @Column(name="mst_id")
     private String mstId;
 
+    @Column(name="labor_mst_id")
+    private String laborMstId;
+
     private String name;
 
     @Column(name="netzbetreiber_id")
@@ -171,6 +174,14 @@
         this.mstId = mstId;
     }
 
+    public String getLaborMstId() {
+        return laborMstId;
+    }
+
+    public void setLaborMstId(String laborMstId) {
+        this.laborMstId = laborMstId;
+    }
+
     public String getName() {
         return this.name;
     }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)