changeset 7753:a0913c206b91

Include river model_uuid in RiverService.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 27 Feb 2014 14:49:58 +0100
parents b73b1ab2155c
children 9aa0bd26ce7f
files artifacts/src/main/java/org/dive4elements/river/artifacts/services/RiverService.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/services/RiverService.java	Thu Feb 27 14:48:59 2014 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/services/RiverService.java	Thu Feb 27 14:49:58 2014 +0100
@@ -59,6 +59,7 @@
         for (River river: allRivers) {
             Element r = ec.create("river");
             ec.addAttr(r, "name", river.getName(), true);
+            ec.addAttr(r, "modeluuid", river.getModelUuid(), true);
 
             rivers.appendChild(r);
         }

http://dive4elements.wald.intevation.org