Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/DefaultInputData.java @ 598:9681ac6b6527
Added the possibility to use the data which are send using the MapServer-Interface during the Workflow of the GNV-Artifacts.
gnv-artifacts/trunk@656 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 02 Feb 2010 13:12:11 +0000 |
parents | e964a3d8f7bc |
children | 292fbcd5e9ac |
comparison
equal
deleted
inserted
replaced
597:cf38b983d1f3 | 598:9681ac6b6527 |
---|---|
11 | 11 |
12 /** | 12 /** |
13 * | 13 * |
14 */ | 14 */ |
15 private static final long serialVersionUID = 4308041648698108066L; | 15 private static final long serialVersionUID = 4308041648698108066L; |
16 | |
17 private final static String VALUE_SEPARATOR = " , "; | |
18 | |
16 private String name = null; | 19 private String name = null; |
17 private String value = null; | 20 private String value = null; |
18 | 21 |
19 /** | 22 /** |
20 * Constructor | 23 * Constructor |
48 | 51 |
49 /** | 52 /** |
50 * @see de.intevation.gnv.state.InputData#concartValue(java.lang.String) | 53 * @see de.intevation.gnv.state.InputData#concartValue(java.lang.String) |
51 */ | 54 */ |
52 public void concartValue(String value) { | 55 public void concartValue(String value) { |
53 this.value = this.value + " , " + value; | 56 this.value = this.value + VALUE_SEPARATOR + value; |
57 } | |
58 | |
59 /** | |
60 * @see de.intevation.gnv.state.InputData#splitValue() | |
61 */ | |
62 public String[] splitValue() { | |
63 if (this.value != null){ | |
64 return this.value.split(VALUE_SEPARATOR); | |
65 } | |
66 return null; | |
54 } | 67 } |
55 | 68 |
56 } | 69 } |