comparison flys-client/src/main/java/org/dive4elements/river/client/shared/model/CollectionItem.java @ 5834:f507086aa94b

Repaired internal references.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 12:31:32 +0200
parents flys-client/src/main/java/de/intevation/flys/client/shared/model/CollectionItem.java@f6fbfdc813f0
children 821a02bbfb4e
comparison
equal deleted inserted replaced
5833:a2bdc0f524e8 5834:f507086aa94b
1 package de.intevation.flys.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 :

http://dive4elements.wald.intevation.org