Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/describedata/DefaultSingleValueDescribeData.java @ 657:af3f56758f59
merged gnv-artifacts/0.5
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:13:53 +0200 |
parents | a6a33ef35809 |
children | 9a828e5a2390 |
comparison
equal
deleted
inserted
replaced
590:5f5f273c8566 | 657:af3f56758f59 |
---|---|
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 private String state = null; | |
22 | |
23 public DefaultSingleValueDescribeData(String name, String value) { | |
24 this(name, value, null); | |
25 } | |
26 | |
27 /** | |
28 * Constructor | |
29 * | |
30 * @param name | |
31 * @param value | |
32 */ | |
33 public DefaultSingleValueDescribeData( | |
34 String name, | |
35 String value, | |
36 String state | |
37 ) { | |
38 super(); | |
39 this.name = name; | |
40 this.value = value; | |
41 this.state = state; | |
42 } | |
43 | |
44 /** | |
45 * @see de.intevation.gnv.state.describedata.SingleValueDescribeData#getName() | |
46 */ | |
47 public String getName() { | |
48 return this.name; | |
49 } | |
50 | |
51 /** | |
52 * @see de.intevation.gnv.state.describedata.SingleValueDescribeData#getValue() | |
53 */ | |
54 public String getValue() { | |
55 return this.value; | |
56 } | |
57 | |
58 public void setValue(String value) { | |
59 this.value = value; | |
60 } | |
61 | |
62 public String getState() { | |
63 return this.state; | |
64 } | |
65 } |