Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/DefaultOutputMode.java @ 171:7fb9441dd8af
Format Code to max 80 Chars per Row and Cleanup
gnv-artifacts/trunk@208 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 09 Oct 2009 07:54:48 +0000 |
parents | bd284d8306db |
children |
comparison
equal
deleted
inserted
replaced
170:7be22e76c270 | 171:7fb9441dd8af |
---|---|
5 | 5 |
6 import java.util.Collection; | 6 import java.util.Collection; |
7 | 7 |
8 /** | 8 /** |
9 * @author Tim Englich <tim.englich@intevation.de> | 9 * @author Tim Englich <tim.englich@intevation.de> |
10 * | 10 * |
11 */ | 11 */ |
12 public class DefaultOutputMode implements OutputMode { | 12 public class DefaultOutputMode implements OutputMode { |
13 | 13 |
14 /** | 14 /** |
15 * The UID of this Class. | 15 * The UID of this Class. |
17 private static final long serialVersionUID = -6459085460904827056L; | 17 private static final long serialVersionUID = -6459085460904827056L; |
18 private String name = null; | 18 private String name = null; |
19 private String description = null; | 19 private String description = null; |
20 private String mimeType = null; | 20 private String mimeType = null; |
21 private Collection<InputValue> inputParameters = null; | 21 private Collection<InputValue> inputParameters = null; |
22 | 22 |
23 /** | 23 /** |
24 * Constructor | 24 * Constructor |
25 * | |
25 * @param name | 26 * @param name |
26 * @param description | 27 * @param description |
27 * @param mimeType | 28 * @param mimeType |
28 */ | 29 */ |
29 public DefaultOutputMode(String name, String description, String mimeType, Collection<InputValue> inputParameters) { | 30 public DefaultOutputMode(String name, String description, String mimeType, |
31 Collection<InputValue> inputParameters) { | |
30 super(); | 32 super(); |
31 this.name = name; | 33 this.name = name; |
32 this.description = description; | 34 this.description = description; |
33 this.mimeType = mimeType; | 35 this.mimeType = mimeType; |
34 this.inputParameters = inputParameters; | 36 this.inputParameters = inputParameters; |
35 } | 37 } |
36 | 38 |
37 /** | 39 /** |
38 * @see de.intevation.gnv.transition.OutputMode#getDescription() | 40 * @see de.intevation.gnv.transition.OutputMode#getDescription() |
39 */ | 41 */ |
40 public String getDescription() { | 42 public String getDescription() { |
41 return this.description; | 43 return this.description; |
58 /** | 60 /** |
59 * @see java.lang.Object#toString() | 61 * @see java.lang.Object#toString() |
60 */ | 62 */ |
61 @Override | 63 @Override |
62 public String toString() { | 64 public String toString() { |
63 return "Name: "+this.name+" ; Description: "+this.description+" ; Mime-Type: "+this.mimeType; | 65 return "Name: " + this.name + " ; Description: " + this.description |
66 + " ; Mime-Type: " + this.mimeType; | |
64 } | 67 } |
65 | 68 |
66 /** | 69 /** |
67 * @see de.intevation.gnv.transition.OutputMode#getInputParameters() | 70 * @see de.intevation.gnv.transition.OutputMode#getInputParameters() |
68 */ | 71 */ |