changeset 7759:1b48b74a2f11

Added model_uuid to river info.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 27 Feb 2014 15:10:44 +0100
parents cc214753adca
children 5811dfe22897
files gwt-client/src/main/java/org/dive4elements/river/client/shared/model/DefaultRiverInfo.java
diffstat 1 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/shared/model/DefaultRiverInfo.java	Thu Feb 27 15:10:04 2014 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/shared/model/DefaultRiverInfo.java	Thu Feb 27 15:10:44 2014 +0100
@@ -24,6 +24,7 @@
     private Double minq;
     private Double maxq;
     private Long officialnumber;
+    private String muuid;
 
     private List<GaugeInfo> gaugeinfo;
     private List<MeasurementStation> mstations;
@@ -39,7 +40,8 @@
             String wstunit,
             Double minq,
             Double maxq,
-            Long official)
+            Long official,
+            String muuid)
     {
         this.name           = name;
         this.kmup           = kmup;
@@ -49,6 +51,7 @@
         this.minq           = minq;
         this.maxq           = maxq;
         this.officialnumber = official;
+        this.muuid          = muuid;
     }
 
     public boolean isKmUp() {
@@ -112,6 +115,14 @@
     }
 
     /**
+     * Returns the model uuid of the river
+     * @return
+     */
+    public String getModelUuid() {
+        return muuid;
+    }
+
+    /**
      * Returns the MeasurementStations on this river or null if they aren't
      * available.
      */

http://dive4elements.wald.intevation.org