changeset 5:14bf7895a2ec

Added a new method that returns the UUID of a Collection. flys-client/trunk@1313 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 11 Feb 2011 09:45:59 +0000
parents 89976499e013
children e2b3966b40ca
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/shared/model/Collection.java flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultCollection.java
diffstat 3 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Thu Feb 10 14:52:49 2011 +0000
+++ b/flys-client/ChangeLog	Fri Feb 11 09:45:59 2011 +0000
@@ -1,3 +1,9 @@
+2011-02-11  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/shared/model/DefaultCollection.java,
+	  src/main/java/de/intevation/flys/client/shared/model/Collection.java:
+	  Added a new method that returns the UUID of the collection.
+
 2011-02-10  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: The
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/Collection.java	Thu Feb 10 14:52:49 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/Collection.java	Fri Feb 11 09:45:59 2011 +0000
@@ -10,6 +10,8 @@
  */
 public interface Collection {
 
+    public String identifier();
+
     public String getName();
 
     public Date getLastAccess();
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultCollection.java	Thu Feb 10 14:52:49 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultCollection.java	Fri Feb 11 09:45:59 2011 +0000
@@ -24,6 +24,11 @@
     }
 
 
+    public String identifier() {
+        return uuid;
+    }
+
+
     public Date getLastAccess() {
         return new Date();
     }

http://dive4elements.wald.intevation.org