Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/shared/model/CollectionItem.java @ 5838:5aa05a7a34b7
Rename modules to more fitting names.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 15:23:37 +0200 |
parents | flys-client/src/main/java/org/dive4elements/river/client/shared/model/CollectionItem.java@821a02bbfb4e |
children | 172338b1407f |
comparison
equal
deleted
inserted
replaced
5837:d9901a08d0a6 | 5838:5aa05a7a34b7 |
---|---|
1 package org.dive4elements.river.client.shared.model; | |
2 | |
3 import java.io.Serializable; | |
4 import java.util.List; | |
5 import java.util.Map; | |
6 | |
7 | |
8 /** | |
9 * The CollectionItem interface that provides methods to get information about | |
10 * artifacts and its output modes. | |
11 * | |
12 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
13 */ | |
14 public interface CollectionItem extends Serializable { | |
15 | |
16 /** | |
17 * Returns the identifier of the wrapped artifact. | |
18 * | |
19 * @return the identifier of the wrapped artifact. | |
20 */ | |
21 String identifier(); | |
22 | |
23 | |
24 /** | |
25 * Returns the hash of the wrapped artifact. | |
26 * | |
27 * @return the hash of the wrapped artifact. | |
28 */ | |
29 String hash(); | |
30 | |
31 | |
32 /** | |
33 * Returns the output modes of the wrapped artifact. | |
34 * | |
35 * @return the output modes of the wrapped artifact. | |
36 */ | |
37 List<OutputMode> getOutputModes(); | |
38 | |
39 | |
40 /** | |
41 * Returns the facets of the wrapped artifact for a specific output mode. | |
42 * | |
43 * @param outputmode The name of an output mode that is supported by this | |
44 * item. | |
45 * | |
46 * @return the facets of the wrapped artifact for a specific output mode. | |
47 */ | |
48 List<Facet> getFacets(String outputmode); | |
49 | |
50 | |
51 /** | |
52 * Returns data key/value map. | |
53 * @return key/value data map | |
54 */ | |
55 Map<String, String> getData(); | |
56 } | |
57 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |