diff flys-aft/src/main/java/de/intevation/aft/DIPSGauge.java @ 4085:067341e86375

Separate FLYS gauges to be updated or to create. flys-aft/trunk@3523 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 22 Dec 2011 12:07:29 +0000
parents d13011e53022
children aad1886ea226
line wrap: on
line diff
--- a/flys-aft/src/main/java/de/intevation/aft/DIPSGauge.java	Wed Dec 21 15:16:58 2011 +0000
+++ b/flys-aft/src/main/java/de/intevation/aft/DIPSGauge.java	Thu Dec 22 12:07:29 2011 +0000
@@ -67,14 +67,21 @@
 
     protected String name;
 
+    protected String riverName;
+
     protected List<Datum> datums;
 
+    protected int flysId;
+
+    protected String aftName;
+
     public DIPSGauge() {
     }
 
     public DIPSGauge(Element element) {
 
-        name = element.getAttribute("NAME");
+        name      = element.getAttribute("NAME");
+        riverName = element.getAttribute("GEWAESSER");
 
         String aeoString = element.getAttribute("EINZUGSGEBIET_AEO");
         if (aeoString.length() == 0) {
@@ -100,5 +107,27 @@
     public String getName() {
         return name;
     }
+
+    public String getRiverName() {
+        return riverName;
+    }
+
+    public int getFlysId() {
+        return flysId;
+    }
+
+    public void setFlysId(int flysId) {
+        this.flysId = flysId;
+    }
+
+    public String getAftName() {
+        return aftName != null ? aftName : name;
+    }
+
+    public void setAftName(String aftName) {
+        this.aftName = aftName;
+    }
+
+
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org