comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/DefaultOutputMode.java @ 335:e964a3d8f7bc

Some Refactoring work done. Moved Transition to State gnv-artifacts/trunk@401 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 08 Dec 2009 08:39:03 +0000
parents
children 61f688a69a55
comparison
equal deleted inserted replaced
334:e37930705daa 335:e964a3d8f7bc
1 /**
2 *
3 */
4 package de.intevation.gnv.state;
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 *
26 * @param name
27 * @param description
28 * @param mimeType
29 */
30 public DefaultOutputMode(String name, String description, String mimeType,
31 Collection<InputValue> inputParameters) {
32 super();
33 this.name = name;
34 this.description = description;
35 this.mimeType = mimeType;
36 this.inputParameters = inputParameters;
37 }
38
39 /**
40 * @see de.intevation.gnv.state.OutputMode#getDescription()
41 */
42 public String getDescription() {
43 return this.description;
44 }
45
46 /**
47 * @see de.intevation.gnv.state.OutputMode#getMimeType()
48 */
49 public String getMimeType() {
50 return this.mimeType;
51 }
52
53 /**
54 * @see de.intevation.gnv.state.OutputMode#getName()
55 */
56 public String getName() {
57 return this.name;
58 }
59
60 /**
61 * @see java.lang.Object#toString()
62 */
63 @Override
64 public String toString() {
65 return "Name: " + this.name + " ; Description: " + this.description
66 + " ; Mime-Type: " + this.mimeType;
67 }
68
69 /**
70 * @see de.intevation.gnv.state.OutputMode#getInputParameters()
71 */
72 public Collection<InputValue> getInputParameters() {
73 return this.inputParameters;
74 }
75
76 }

http://dive4elements.wald.intevation.org