diff flys-backend/src/main/java/de/intevation/flys/model/DischargeZone.java @ 4621:25c5e344733e

Added new member variable for zone type.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 03 Dec 2012 16:58:13 +0100
parents cc6323401643
children
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/model/DischargeZone.java	Mon Dec 03 16:55:45 2012 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/model/DischargeZone.java	Mon Dec 03 16:58:13 2012 +0100
@@ -40,6 +40,7 @@
     private String lowerDischarge;
     private String upperDischarge;
 
+    private String type;
 
     public DischargeZone() {
     }
@@ -122,6 +123,13 @@
         this.upperDischarge = upperDischarge;
     }
 
+    public void putType(String type) {
+        this.type = type;
+    }
+
+    public String fetchType() {
+        return this.type;
+    }
 
     public static List<DischargeZone> getDischargeZones(River river) {
         Session session = SessionHolder.HOLDER.get();

http://dive4elements.wald.intevation.org