diff flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultCollectionItem.java @ 87:c8cd1b918901

Bugfix: Step back will remove duplicated output tab and an extended chart image URL bypasses the browser cache. flys-client/trunk@1599 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 28 Mar 2011 17:04:17 +0000
parents 74257b95567b
children f6fbfdc813f0
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultCollectionItem.java	Mon Mar 28 16:20:45 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultCollectionItem.java	Mon Mar 28 17:04:17 2011 +0000
@@ -13,6 +13,9 @@
     /** The identifier that specifies the artifact related to this item.*/
     protected String identifier;
 
+    /** The hash that specifies the artifact related to this item.*/
+    protected String hash;
+
     /** The list of output modes supported by the artifact of this item.*/
     protected List<OutputMode> outputModes;
 
@@ -31,8 +34,12 @@
      * @param identifier The identifier of an artifact.
      * @param outputModes The output modes supported by this item.
      */
-    public DefaultCollectionItem(String identifier, List<OutputMode> modes) {
+    public DefaultCollectionItem(
+        String           identifier,
+        String           hash,
+        List<OutputMode> modes) {
         this.identifier  = identifier;
+        this.hash        = hash;
         this.outputModes = modes;
     }
 
@@ -42,6 +49,11 @@
     }
 
 
+    public String hash() {
+        return hash;
+    }
+
+
     public List<OutputMode> getOutputModes() {
         return outputModes;
     }

http://dive4elements.wald.intevation.org