[PATCH 10 of 17] Added model_uuid to river info

Wald Commits scm-commit at wald.intevation.org
Thu Feb 27 16:47:56 CET 2014


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1393510244 -3600
# Node ID 1b48b74a2f113226f36ca757eac75f71c858546a
# Parent  cc214753adcadeda4d4c38ad7668507302d7eb09
Added model_uuid to river info.

diff -r cc214753adca -r 1b48b74a2f11 gwt-client/src/main/java/org/dive4elements/river/client/shared/model/DefaultRiverInfo.java
--- 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.
      */


More information about the Dive4elements-commits mailing list