[Lada-commits] [PATCH 3 of 9] Moved haupt-/nebenproben nr from translation tables to probe/messung

Wald Commits scm-commit at wald.intevation.org
Wed Feb 11 13:02:41 CET 2015


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1423655364 -3600
# Node ID c18284cdd1019c6c8d6669fdc74208081c3e6fff
# Parent  1a95ca383681bf6a2742965b5b994e7ae59d31b5
Moved haupt-/nebenproben nr from translation tables to probe/messung.

diff -r 1a95ca383681 -r c18284cdd101 src/main/java/de/intevation/lada/model/land/LMessung.java
--- a/src/main/java/de/intevation/lada/model/land/LMessung.java	Wed Feb 11 12:47:29 2015 +0100
+++ b/src/main/java/de/intevation/lada/model/land/LMessung.java	Wed Feb 11 12:49:24 2015 +0100
@@ -7,6 +7,7 @@
  */
 package de.intevation.lada.model.land;
 
+import javax.persistence.Column;
 import javax.persistence.Entity;
 import javax.persistence.Table;
 
@@ -21,11 +22,15 @@
 public class LMessung extends Messung {
     private static final long serialVersionUID = 1L;
 
+    @Column(name="nebenproben_nr")
+    private String nebenprobenNr;
+
     private Boolean geplant;
 
     public LMessung() {
     }
 
+
     public Boolean getGeplant() {
         return this.geplant;
     }
@@ -33,4 +38,12 @@
     public void setGeplant(Boolean geplant) {
         this.geplant = geplant;
     }
+
+    public String getNebenprobenNr() {
+        return nebenprobenNr;
+    }
+
+    public void setNebenprobenNr(String nebenprobenNr) {
+        this.nebenprobenNr = nebenprobenNr;
+    }
 }
diff -r 1a95ca383681 -r c18284cdd101 src/main/java/de/intevation/lada/model/land/LProbe.java
--- a/src/main/java/de/intevation/lada/model/land/LProbe.java	Wed Feb 11 12:47:29 2015 +0100
+++ b/src/main/java/de/intevation/lada/model/land/LProbe.java	Wed Feb 11 12:49:24 2015 +0100
@@ -24,6 +24,9 @@
 public class LProbe extends Probe {
     private static final long serialVersionUID = 1L;
 
+    @Column(name="hauptproben_nr")
+    private String hauptprobenNr;
+
     @Column(name="erzeuger_id")
     private Integer erzeugerId;
 
@@ -103,4 +106,12 @@
     public void setSolldatumEnde(Timestamp solldatumEnde) {
         this.solldatumEnde = solldatumEnde;
     }
+
+    public String getHauptprobenNr() {
+        return this.hauptprobenNr;
+    }
+
+    public void setHauptprobenNr(String hauptprobenNr) {
+        this.hauptprobenNr = hauptprobenNr;
+    }
 }


More information about the Lada-commits mailing list