comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/DefaultOutputMode.java @ 127:f6f0e4ce4a35

merged gnv-artifacts/0.1
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:13:41 +0200
parents bd284d8306db
children 7fb9441dd8af
comparison
equal deleted inserted replaced
49:94a07d1d9316 127:f6f0e4ce4a35
1 /**
2 *
3 */
4 package de.intevation.gnv.transition;
5
6 import java.util.Collection;
7
8 /**
9 * @author Tim Englich <tim.englich@intevation.de>
10 *
11 */
12 public class DefaultOutputMode implements OutputMode {
13
14 /**
15 * The UID of this Class.
16 */
17 private static final long serialVersionUID = -6459085460904827056L;
18 private String name = null;
19 private String description = null;
20 private String mimeType = null;
21 private Collection<InputValue> inputParameters = null;
22
23 /**
24 * Constructor
25 * @param name
26 * @param description
27 * @param mimeType
28 */
29 public DefaultOutputMode(String name, String description, String mimeType, Collection<InputValue> inputParameters) {
30 super();
31 this.name = name;
32 this.description = description;
33 this.mimeType = mimeType;
34 this.inputParameters = inputParameters;
35 }
36
37 /**
38 * @see de.intevation.gnv.transition.OutputMode#getDescription()
39 */
40 public String getDescription() {
41 return this.description;
42 }
43
44 /**
45 * @see de.intevation.gnv.transition.OutputMode#getMimeType()
46 */
47 public String getMimeType() {
48 return this.mimeType;
49 }
50
51 /**
52 * @see de.intevation.gnv.transition.OutputMode#getName()
53 */
54 public String getName() {
55 return this.name;
56 }
57
58 /**
59 * @see java.lang.Object#toString()
60 */
61 @Override
62 public String toString() {
63 return "Name: "+this.name+" ; Description: "+this.description+" ; Mime-Type: "+this.mimeType;
64 }
65
66 /**
67 * @see de.intevation.gnv.transition.OutputMode#getInputParameters()
68 */
69 public Collection<InputValue> getInputParameters() {
70 return this.inputParameters;
71 }
72
73 }

http://dive4elements.wald.intevation.org