Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
86:eae92a05282e | 87:c8cd1b918901 |
---|---|
10 */ | 10 */ |
11 public class DefaultCollectionItem implements CollectionItem { | 11 public class DefaultCollectionItem implements CollectionItem { |
12 | 12 |
13 /** The identifier that specifies the artifact related to this item.*/ | 13 /** The identifier that specifies the artifact related to this item.*/ |
14 protected String identifier; | 14 protected String identifier; |
15 | |
16 /** The hash that specifies the artifact related to this item.*/ | |
17 protected String hash; | |
15 | 18 |
16 /** The list of output modes supported by the artifact of this item.*/ | 19 /** The list of output modes supported by the artifact of this item.*/ |
17 protected List<OutputMode> outputModes; | 20 protected List<OutputMode> outputModes; |
18 | 21 |
19 | 22 |
29 * artifact with output modes. | 32 * artifact with output modes. |
30 * | 33 * |
31 * @param identifier The identifier of an artifact. | 34 * @param identifier The identifier of an artifact. |
32 * @param outputModes The output modes supported by this item. | 35 * @param outputModes The output modes supported by this item. |
33 */ | 36 */ |
34 public DefaultCollectionItem(String identifier, List<OutputMode> modes) { | 37 public DefaultCollectionItem( |
38 String identifier, | |
39 String hash, | |
40 List<OutputMode> modes) { | |
35 this.identifier = identifier; | 41 this.identifier = identifier; |
42 this.hash = hash; | |
36 this.outputModes = modes; | 43 this.outputModes = modes; |
37 } | 44 } |
38 | 45 |
39 | 46 |
40 public String identifier() { | 47 public String identifier() { |
41 return identifier; | 48 return identifier; |
49 } | |
50 | |
51 | |
52 public String hash() { | |
53 return hash; | |
42 } | 54 } |
43 | 55 |
44 | 56 |
45 public List<OutputMode> getOutputModes() { | 57 public List<OutputMode> getOutputModes() { |
46 return outputModes; | 58 return outputModes; |