changeset 7758:cc214753adca

Added model_uuid to river model.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 27 Feb 2014 15:10:04 +0100
parents f4e4ee473472
children 1b48b74a2f11
files gwt-client/src/main/java/org/dive4elements/river/client/shared/model/DefaultRiver.java gwt-client/src/main/java/org/dive4elements/river/client/shared/model/River.java
diffstat 2 files changed, 25 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/shared/model/DefaultRiver.java	Thu Feb 27 15:00:09 2014 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/shared/model/DefaultRiver.java	Thu Feb 27 15:10:04 2014 +0100
@@ -19,6 +19,9 @@
     /** The name of the river.*/
     protected String name;
 
+    /** The model uuid of the river */
+    protected String modelUuid;
+
     /**
      * The default constructor that creates empty river objects.
      */
@@ -31,8 +34,9 @@
      *
      * @param name The name of the river.
      */
-    public DefaultRiver(String name) {
+    public DefaultRiver(String name, String modelUuid) {
         this.name = name;
+        this.modelUuid = modelUuid;
     }
 
 
@@ -54,5 +58,23 @@
     public String getName() {
         return name;
     }
+
+
+
+    /**
+     * @return the modelUuid
+     */
+    public String getModelUuid() {
+        return modelUuid;
+    }
+
+
+
+    /**
+     * @param modelUuid the modelUuid to set
+     */
+    public void setModelUuid(String modelUuid) {
+        this.modelUuid = modelUuid;
+    }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :
--- a/gwt-client/src/main/java/org/dive4elements/river/client/shared/model/River.java	Thu Feb 27 15:00:09 2014 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/shared/model/River.java	Thu Feb 27 15:10:04 2014 +0100
@@ -16,5 +16,7 @@
 public interface River extends Serializable {
 
     String getName();
+
+    String getModelUuid();
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org