Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/state/Output.java @ 473:d0ac790a6c89 dive4elements-move
Moved directories to org.dive4elements
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 10:57:18 +0200 |
parents | artifact-database/src/main/java/de/intevation/artifactdatabase/state/Output.java@b47d0464f0db |
children | 415df0fc4fa1 |
comparison
equal
deleted
inserted
replaced
472:783cc1b6b615 | 473:d0ac790a6c89 |
---|---|
1 package de.intevation.artifactdatabase.state; | |
2 | |
3 import java.util.List; | |
4 | |
5 | |
6 /** | |
7 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
8 */ | |
9 public interface Output { | |
10 | |
11 /** | |
12 * Retrieve the name of this output mode. | |
13 * | |
14 * @return the name of this output mode. | |
15 */ | |
16 public String getName(); | |
17 | |
18 /** | |
19 * Retrieve the description of an output. | |
20 * | |
21 * @return the description. | |
22 */ | |
23 public String getDescription(); | |
24 | |
25 /** | |
26 * Retrieve the mimetype used for the output. | |
27 * | |
28 * @return the mimetype. | |
29 */ | |
30 public String getMimeType(); | |
31 | |
32 | |
33 /** | |
34 * Returns the type of this output. | |
35 * | |
36 * @return the type. | |
37 */ | |
38 public String getType(); | |
39 | |
40 /** | |
41 * Retrieve the facets of this output. | |
42 * | |
43 * @return the facets of this output. | |
44 */ | |
45 public List<Facet> getFacets(); | |
46 | |
47 /** | |
48 * Add a new facet to this output. | |
49 * | |
50 * @param facet The new facet. | |
51 */ | |
52 public void addFacet(Facet facet); | |
53 | |
54 /** | |
55 * Add a list of facet to this output. | |
56 * | |
57 * @param facets A list of facets. | |
58 */ | |
59 public void addFacets(List<Facet> facets); | |
60 | |
61 /** | |
62 * Replaces the old list of facets with a new one. | |
63 * | |
64 * @param facets A list of new facets. | |
65 */ | |
66 public void setFacets(List<Facet> facets); | |
67 | |
68 /** | |
69 * Returns a Settings object for this Output. | |
70 */ | |
71 public Settings getSettings(); | |
72 | |
73 /** | |
74 * Sets the Settings for this Output. | |
75 * | |
76 * @param settings the Settings for this Output. | |
77 */ | |
78 public void setSettings(Settings settings); | |
79 } | |
80 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |