Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/DefaultOutputMode.java @ 626:61f688a69a55
Split up export modes from output modes.
gnv-artifacts/trunk@700 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 23 Feb 2010 11:47:08 +0000 |
parents | e964a3d8f7bc |
children | 9a828e5a2390 |
comparison
equal
deleted
inserted
replaced
625:40ead2d2a08d | 626:61f688a69a55 |
---|---|
1 /** | |
2 * | |
3 */ | |
4 package de.intevation.gnv.state; | 1 package de.intevation.gnv.state; |
5 | 2 |
6 import java.util.Collection; | 3 import java.util.Collection; |
4 import java.util.List; | |
7 | 5 |
8 /** | 6 /** |
9 * @author Tim Englich <tim.englich@intevation.de> | 7 * @author Tim Englich (tim.englich@intevation.de) |
10 * | 8 * @author Ingo Weinzierl (ingo.weinzierl@intevation.de) |
11 */ | 9 */ |
12 public class DefaultOutputMode implements OutputMode { | 10 public class DefaultOutputMode implements OutputMode { |
13 | 11 |
14 /** | 12 /** |
15 * The UID of this Class. | 13 * The UID of this Class. |
17 private static final long serialVersionUID = -6459085460904827056L; | 15 private static final long serialVersionUID = -6459085460904827056L; |
18 private String name = null; | 16 private String name = null; |
19 private String description = null; | 17 private String description = null; |
20 private String mimeType = null; | 18 private String mimeType = null; |
21 private Collection<InputValue> inputParameters = null; | 19 private Collection<InputValue> inputParameters = null; |
20 private List<ExportMode> exportModes; | |
22 | 21 |
23 /** | 22 /** |
24 * Constructor | 23 * Constructor |
25 * | 24 * |
26 * @param name | 25 * @param name |
27 * @param description | 26 * @param description |
28 * @param mimeType | 27 * @param mimeType |
29 */ | 28 */ |
30 public DefaultOutputMode(String name, String description, String mimeType, | 29 public DefaultOutputMode( |
31 Collection<InputValue> inputParameters) { | 30 String name, |
31 String description, | |
32 String mimeType, | |
33 Collection<InputValue> inputParameters, | |
34 List<ExportMode> exportModes) | |
35 { | |
32 super(); | 36 super(); |
33 this.name = name; | 37 this.name = name; |
34 this.description = description; | 38 this.description = description; |
35 this.mimeType = mimeType; | 39 this.mimeType = mimeType; |
36 this.inputParameters = inputParameters; | 40 this.inputParameters = inputParameters; |
41 this.exportModes = exportModes; | |
37 } | 42 } |
38 | 43 |
39 /** | 44 /** |
40 * @see de.intevation.gnv.state.OutputMode#getDescription() | 45 * @see de.intevation.gnv.state.OutputMode#getDescription() |
41 */ | 46 */ |
71 */ | 76 */ |
72 public Collection<InputValue> getInputParameters() { | 77 public Collection<InputValue> getInputParameters() { |
73 return this.inputParameters; | 78 return this.inputParameters; |
74 } | 79 } |
75 | 80 |
81 public List<ExportMode> getExportModes() { | |
82 return exportModes; | |
83 } | |
84 | |
76 } | 85 } |
86 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8: |