Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultOutputMode.java @ 36:ad381cc47217
Format Code to max 80 Chars per Row
gnv/trunk@172 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 02 Oct 2009 08:54:13 +0000 |
parents | 07e9c137a2f1 |
children | 183850730a90 |
comparison
equal
deleted
inserted
replaced
35:4405f31bbc30 | 36:ad381cc47217 |
---|---|
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 | |
15 private String name = null; | 14 private String name = null; |
16 | 15 |
17 private String mimeType = null; | 16 private String mimeType = null; |
18 | 17 |
19 private Collection<OutputParameter> outputParameter = null; | 18 private Collection<OutputParameter> outputParameter = null; |
20 | 19 |
21 public DefaultOutputMode(String name, String mimeType, | 20 public DefaultOutputMode(String name, String mimeType, |
22 Collection<OutputParameter> outputParameter) { | 21 Collection<OutputParameter> outputParameter) { |
23 super(); | 22 super(); |
24 this.name = name; | 23 this.name = name; |
25 this.mimeType = mimeType; | 24 this.mimeType = mimeType; |
26 this.outputParameter = outputParameter; | 25 this.outputParameter = outputParameter; |
27 } | 26 } |
28 | |
29 | 27 |
30 /** | 28 /** |
31 * @see de.intevation.gnv.artifactdatabase.objects.OutputMode#getMimeType() | 29 * @see de.intevation.gnv.artifactdatabase.objects.OutputMode#getMimeType() |
32 */ | 30 */ |
33 public String getMimeType() { | 31 public String getMimeType() { |
38 * @see de.intevation.gnv.artifactdatabase.objects.OutputMode#getName() | 36 * @see de.intevation.gnv.artifactdatabase.objects.OutputMode#getName() |
39 */ | 37 */ |
40 public String getName() { | 38 public String getName() { |
41 return this.name; | 39 return this.name; |
42 } | 40 } |
43 | 41 |
44 /** | 42 /** |
45 * @see de.intevation.gnv.artifactdatabase.objects.OutputMode#getOutputParameters() | 43 * @see de.intevation.gnv.artifactdatabase.objects.OutputMode#getOutputParameters() |
46 */ | 44 */ |
47 public Collection<OutputParameter> getOutputParameters() { | 45 public Collection<OutputParameter> getOutputParameters() { |
48 return this.outputParameter; | 46 return this.outputParameter; |