comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/DefaultOutputMode.java @ 64:5db77e0a8594

Integrated Output Methods and Interfacsstructure gnv-artifacts/trunk@47 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Wed, 09 Sep 2009 11:01:55 +0000
parents
children bd284d8306db
comparison
equal deleted inserted replaced
63:6ae2d4134da3 64:5db77e0a8594
1 /**
2 *
3 */
4 package de.intevation.gnv.transition;
5 /**
6 * @author Tim Englich <tim.englich@intevation.de>
7 *
8 */
9 public class DefaultOutputMode implements OutputMode {
10
11 private String name = null;
12 private String description = null;
13 private String mimeType = null;
14
15 /**
16 * Constructor
17 * @param name
18 * @param description
19 * @param mimeType
20 */
21 public DefaultOutputMode(String name, String description, String mimeType) {
22 super();
23 this.name = name;
24 this.description = description;
25 this.mimeType = mimeType;
26 }
27
28 /**
29 * @see de.intevation.gnv.transition.OutputMode#getDescription()
30 */
31 public String getDescription() {
32 return this.description;
33 }
34
35 /**
36 * @see de.intevation.gnv.transition.OutputMode#getMimeType()
37 */
38 public String getMimeType() {
39 return this.mimeType;
40 }
41
42 /**
43 * @see de.intevation.gnv.transition.OutputMode#getName()
44 */
45 public String getName() {
46 return this.name;
47 }
48
49 /**
50 * @see java.lang.Object#toString()
51 */
52 @Override
53 public String toString() {
54 return "Name: "+this.name+" ; Description: "+this.description+" ; Mime-Type: "+this.mimeType;
55 }
56
57 }

http://dive4elements.wald.intevation.org