comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/describedata/DefaultKeyValueDescribeData.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 DefaultKeyValueDescribeData implements KeyValueDescibeData {
11
12 /**
13 *
14 */
15 private static final long serialVersionUID = -924469415242703108L;
16
17 private String key;
18
19 private String value = null;
20
21 private boolean selected = false;
22
23 public DefaultKeyValueDescribeData(String key, String value) {
24 super();
25 this.key = key;
26 this.value = value;
27 }
28
29 /**
30 * @see de.intevation.gnv.state.describedata.KeyValueDescibeData#getKey()
31 */
32 public String getKey() {
33 return this.key;
34 }
35
36 /**
37 * @see de.intevation.gnv.state.describedata.KeyValueDescibeData#getValue()
38 */
39 public String getValue() {
40 return this.value;
41 }
42
43 /**
44 * @see de.intevation.gnv.state.describedata.KeyValueDescibeData#isSelected()
45 */
46 public boolean isSelected() {
47 return this.selected;
48 }
49
50 /**
51 * @see de.intevation.gnv.state.describedata.KeyValueDescibeData#setSelected(boolean)
52 */
53 public void setSelected(boolean selected) {
54 this.selected = selected;
55 }
56
57 }

http://dive4elements.wald.intevation.org