diff flys-client/src/main/java/de/intevation/flys/client/shared/model/DistanceInfoObjectImpl.java @ 567:d9fc58e30a53

Loop through 'Unterkante' 'Oberkante' from service. flys-client/trunk@2114 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 14 Jun 2011 14:19:45 +0000
parents 79fb4d900643
children
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/DistanceInfoObjectImpl.java	Tue Jun 14 14:01:08 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/DistanceInfoObjectImpl.java	Tue Jun 14 14:19:45 2011 +0000
@@ -14,6 +14,10 @@
 
     protected String riverside;
 
+    protected Double bottom;
+
+    protected Double top;
+
 
     public DistanceInfoObjectImpl() {
     }
@@ -23,15 +27,18 @@
         String description,
         Double from,
         Double to,
-        String riverside)
-    {
+        String riverside,
+        Double bottom,
+        Double top
+    ) {
         this.description = description;
         this.from        = from;
         this.to          = to;
         this.riverside   = riverside;
+        this.bottom      = bottom;
+        this.top         = top;
     }
 
-
     public String getDescription() {
         return description;
     }
@@ -50,5 +57,13 @@
     public String getRiverside() {
         return riverside;
     }
+
+    public Double getBottom() {
+        return bottom;
+    }
+
+    public Double getTop() {
+        return top;
+    }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org