[Lada-commits] [PATCH 1 of 2] Use the laborMstId in generated probe objects
Wald Commits
scm-commit at wald.intevation.org
Mon Mar 14 10:15:45 CET 2016
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1457946906 -3600
# Node ID c94a0795906084e9312ef40b2e0f3b46dfe7434c
# Parent 0a69252ed7a0552e97c3381d3d2b65ab76230c3f
Use the laborMstId in generated probe objects.
diff -r 0a69252ed7a0 -r c94a07959060 src/main/java/de/intevation/lada/factory/ProbeFactory.java
--- 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());
diff -r 0a69252ed7a0 -r c94a07959060 src/main/java/de/intevation/lada/model/land/Messprogramm.java
--- 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;
}
More information about the Lada-commits
mailing list