[PATCH 09 of 17] Added model_uuid to river model
Wald Commits
scm-commit at wald.intevation.org
Thu Feb 27 16:47:55 CET 2014
# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1393510204 -3600
# Node ID cc214753adcadeda4d4c38ad7668507302d7eb09
# Parent f4e4ee473472885843fd139549022c071beb26c4
Added model_uuid to river model.
diff -r f4e4ee473472 -r cc214753adca gwt-client/src/main/java/org/dive4elements/river/client/shared/model/DefaultRiver.java
--- 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 :
diff -r f4e4ee473472 -r cc214753adca gwt-client/src/main/java/org/dive4elements/river/client/shared/model/River.java
--- 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 :
More information about the Dive4elements-commits
mailing list