changeset 34:fa44e69fc2e2

Added mst_id and umw_id to LProbe model.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 23 May 2013 14:10:26 +0200
parents 5f93f1af0192
children f425150ea2b5
files src/main/java/de/intevation/lada/model/LProbe.java
diffstat 1 files changed, 23 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/model/LProbe.java	Thu May 23 14:09:20 2013 +0200
+++ b/src/main/java/de/intevation/lada/model/LProbe.java	Thu May 23 14:10:26 2013 +0200
@@ -24,6 +24,8 @@
 public class LProbe implements java.io.Serializable {
 
 	private String probeId;
+	private String mstId;
+	private String umwId;
 	private boolean test;
 	private String hauptprobenNr;
 	private String baId;
@@ -49,13 +51,15 @@
 		this.test = test;
 	}
 
-	public LProbe(String probeId, boolean test,
+	public LProbe(String probeId, String mstId, String umwId, boolean test,
 			String hauptprobenNr, String baId, String mediaDesk, String media,
 			Date probeentnahmeBeginn, Date probeentnahmeEnde,
 			Long mittelungsdauer, Date letzteAenderung, Integer erzeugerId,
 			Integer probeNehmerId, Character mpKat, String mplId,
 			Integer mprId, Date solldatumBeginn, Date solldatumEnde) {
 		this.probeId = probeId;
+		this.mstId = mstId;
+		this.umwId = umwId;
 		this.test = test;
 		this.hauptprobenNr = hauptprobenNr;
 		this.baId = baId;
@@ -232,4 +236,22 @@
 	public void setSolldatumEnde(Date solldatumEnde) {
 		this.solldatumEnde = solldatumEnde;
 	}
+	
+	public void setMstId(String mstId) {
+		this.mstId = mstId;
+	}
+
+	@Column(name = "mst_id")
+	public String getMstId() {
+		return this.mstId;
+	}
+
+	public void setUmwId(String umwId) {
+		this.umwId = umwId;
+	}
+
+	@Column(name = "umw_id")
+	public String getUmwId() {
+		return this.umwId;
+	}
 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)