Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/describedata/DefaultKeyValueDescribeData.java @ 67:0e9762ebd18d
Refactor ChartFactory so that it is able to be compiled without errors.
gnv-artifacts/trunk@50 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Wed, 09 Sep 2009 13:14:12 +0000 |
parents | |
children | 0e38f512f7e4 |
comparison
equal
deleted
inserted
replaced
66:bf883222b675 | 67:0e9762ebd18d |
---|---|
1 /** | |
2 * | |
3 */ | |
4 package de.intevation.gnv.transition.describedata; | |
5 /** | |
6 * @author Tim Englich <tim.englich@intevation.de> | |
7 * | |
8 */ | |
9 public class DefaultKeyValueDescribeData implements KeyValueDescibeData { | |
10 | |
11 private int key; | |
12 | |
13 private String value = null; | |
14 | |
15 public DefaultKeyValueDescribeData(int key, String value) { | |
16 super(); | |
17 this.key = key; | |
18 this.value = value; | |
19 } | |
20 | |
21 /** | |
22 * @see de.intevation.gnv.transition.describedata.KeyValueDescibeData#getKey() | |
23 */ | |
24 public int getKey() { | |
25 return this.key; | |
26 } | |
27 | |
28 /** | |
29 * @see de.intevation.gnv.transition.describedata.KeyValueDescibeData#getValue() | |
30 */ | |
31 public String getValue() { | |
32 return this.value; | |
33 } | |
34 | |
35 } |