Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/describedata/DefaultKeyValueDescribeData.java @ 82:5eb62df21f9a
Added Support for Vertical Profiles Marnet, STAUN, IMIS
gnv-artifacts/trunk@111 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 22 Sep 2009 13:20:30 +0000 |
parents | e33c61735a4e |
children | 7fb9441dd8af |
comparison
equal
deleted
inserted
replaced
81:9b41f3688610 | 82:5eb62df21f9a |
---|---|
11 /** | 11 /** |
12 * | 12 * |
13 */ | 13 */ |
14 private static final long serialVersionUID = -924469415242703108L; | 14 private static final long serialVersionUID = -924469415242703108L; |
15 | 15 |
16 private int key; | 16 private String key; |
17 | 17 |
18 private String value = null; | 18 private String value = null; |
19 | 19 |
20 private boolean selected = false; | 20 private boolean selected = false; |
21 | 21 |
22 public DefaultKeyValueDescribeData(int key, String value) { | 22 public DefaultKeyValueDescribeData(String key, String value) { |
23 super(); | 23 super(); |
24 this.key = key; | 24 this.key = key; |
25 this.value = value; | 25 this.value = value; |
26 } | 26 } |
27 | 27 |
28 /** | 28 /** |
29 * @see de.intevation.gnv.transition.describedata.KeyValueDescibeData#getKey() | 29 * @see de.intevation.gnv.transition.describedata.KeyValueDescibeData#getKey() |
30 */ | 30 */ |
31 public int getKey() { | 31 public String getKey() { |
32 return this.key; | 32 return this.key; |
33 } | 33 } |
34 | 34 |
35 /** | 35 /** |
36 * @see de.intevation.gnv.transition.describedata.KeyValueDescibeData#getValue() | 36 * @see de.intevation.gnv.transition.describedata.KeyValueDescibeData#getValue() |