comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/DefaultInputData.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 969faa37a11b
children 7fb9441dd8af
comparison
equal deleted inserted replaced
49:94a07d1d9316 127:f6f0e4ce4a35
1 /**
2 *
3 */
4 package de.intevation.gnv.transition;
5 /**
6 * @author Tim Englich <tim.englich@intevation.de>
7 *
8 */
9 public class DefaultInputData implements InputData {
10
11
12 /**
13 *
14 */
15 private static final long serialVersionUID = 4308041648698108066L;
16 private String name = null;
17 private String value = null;
18 /**
19 * Constructor
20 */
21 public DefaultInputData(String name , String value ) {
22 this.name = name;
23 this.value = value;
24 }
25
26 /**
27 * @see de.intevation.gnv.transition.InputData#getName()
28 */
29 public String getName() {
30 return this.name;
31 }
32
33 /**
34 * @see de.intevation.gnv.transition.InputData#getValue()
35 */
36 public String getValue() {
37 return this.value;
38 }
39
40 /**
41 * @see java.lang.Object#toString()
42 */
43 @Override
44 public String toString() {
45 return this.name + "==> "+ this.value;
46 }
47
48 /**
49 * @see de.intevation.gnv.transition.InputData#concartValue(java.lang.String)
50 */
51 public void concartValue(String value) {
52 this.value = this.value +" , "+value;
53 }
54
55 }

http://dive4elements.wald.intevation.org