[PATCH 03 of 17] Include river model_uuid in RiverInfoService

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


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1393508939 -3600
# Node ID b73b1ab2155c7c5d45e8bab05f57c37f7d778c7d
# Parent  24408bce2fdb43db9a0ba5924ac4f40076689c9e
Include river model_uuid in RiverInfoService.

diff -r 24408bce2fdb -r b73b1ab2155c artifacts/src/main/java/org/dive4elements/river/artifacts/services/RiverInfoService.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/services/RiverInfoService.java	Thu Feb 27 14:46:30 2014 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/services/RiverInfoService.java	Thu Feb 27 14:48:59 2014 +0100
@@ -75,6 +75,7 @@
         ec.addAttr(r, "maxq", Double.toString(minmaxq[1]), true);
         ec.addAttr(r, "official", Long.toString(river.getOfficialNumber()),
                     true);
+        ec.addAttr(r, "model-uuid", river.getModelUuid(), true);
 
         riverele.appendChild(r);
         result.appendChild(riverele);


More information about the Dive4elements-commits mailing list