[Dive4elements-commits] [PATCH 04 of 11] Added new member variable for zone type
Wald Commits
scm-commit at wald.intevation.org
Mon Dec 3 17:27:24 CET 2012
# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1354550293 -3600
# Node ID 25c5e344733e9a9f829cb5372e66686871a8f465
# Parent 4a30d1d62cafe383f88aa4e3a8e4320cfcbccf71
Added new member variable for zone type.
diff -r 4a30d1d62caf -r 25c5e344733e flys-backend/src/main/java/de/intevation/flys/model/DischargeZone.java
--- 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();
More information about the Dive4elements-commits
mailing list