Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/describedata/DefaultSingleValueDescribeData.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 | a6a33ef35809 |
comparison
equal
deleted
inserted
replaced
334:e37930705daa | 335:e964a3d8f7bc |
---|---|
1 /** | |
2 * | |
3 */ | |
4 package de.intevation.gnv.state.describedata; | |
5 | |
6 /** | |
7 * @author Tim Englich <tim.englich@intevation.de> | |
8 * | |
9 */ | |
10 public class DefaultSingleValueDescribeData implements SingleValueDescribeData { | |
11 | |
12 /** | |
13 * | |
14 */ | |
15 private static final long serialVersionUID = 3580176842483316917L; | |
16 | |
17 private String name = null; | |
18 | |
19 private String value = null; | |
20 | |
21 /** | |
22 * Constructor | |
23 * | |
24 * @param name | |
25 * @param value | |
26 */ | |
27 public DefaultSingleValueDescribeData(String name, String value) { | |
28 super(); | |
29 this.name = name; | |
30 this.value = value; | |
31 } | |
32 | |
33 /** | |
34 * @see de.intevation.gnv.state.describedata.SingleValueDescribeData#getName() | |
35 */ | |
36 public String getName() { | |
37 return this.name; | |
38 } | |
39 | |
40 /** | |
41 * @see de.intevation.gnv.state.describedata.SingleValueDescribeData#getValue() | |
42 */ | |
43 public String getValue() { | |
44 return this.value; | |
45 } | |
46 | |
47 public void setValue(String value) { | |
48 this.value = value; | |
49 } | |
50 | |
51 } |