diff flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultCollection.java @ 1430:6bb6d43eeb2d

Cosmetics. flys-client/trunk@3383 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 12 Dec 2011 07:23:24 +0000
parents ec5c75da5c7a
children f6fbfdc813f0
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultCollection.java	Fri Dec 09 14:45:53 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultCollection.java	Mon Dec 12 07:23:24 2011 +0000
@@ -17,14 +17,16 @@
     /** The uuid of the collection. */
     protected String uuid;
 
-    /** The name of the collection.*/
+    /** The name of the collection. */
     protected String name;
 
-    /** The creation time of this collection.*/
+    /** The creation time of this collection. */
     protected Date creation;
 
-    /** The time to live of the collection. If this value is 0, it will never
-     * die.*/
+    /**
+     * The time to live of the collection.
+     * If this value is 0, it will never die.
+     */
     protected long ttl;
 
     /** The list of artifacts that are managed by this Collection.*/
@@ -32,6 +34,9 @@
 
     protected List<Recommendation> recommendations;
 
+    /**
+     * ThemeList by outputmode name.
+     */
     protected Map<String, ThemeList> themeLists;
 
 
@@ -43,11 +48,11 @@
 
 
     public DefaultCollection(String uuid, long ttl, String name) {
-        this.uuid       = uuid;
-        this.ttl        = ttl;
-        this.name       = name;
-        this.items      = new ArrayList<CollectionItem>();
-        this.themeLists = new HashMap<String, ThemeList>();
+        this.uuid            = uuid;
+        this.ttl             = ttl;
+        this.name            = name;
+        this.items           = new ArrayList<CollectionItem>();
+        this.themeLists      = new HashMap<String, ThemeList>();
         this.recommendations = new ArrayList<Recommendation>();
     }
 
@@ -105,6 +110,10 @@
     }
 
 
+    /**
+     * Returns now.
+     * TODO candidate for removal?
+     */
     public Date getLastAccess() {
         return new Date();
     }
@@ -172,6 +181,9 @@
     }
 
 
+    /**
+     * Returns ThemeList for given output name.
+     */
     public ThemeList getThemeList(String outName) {
         if (themeLists != null) {
             return themeLists.get(outName);

http://dive4elements.wald.intevation.org