comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/DefaultInputData.java @ 607:292fbcd5e9ac

Parted the cache blob into pieces and changed the way how user input is stored on each state. gnv-artifacts/trunk@673 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 10 Feb 2010 11:43:35 +0000
parents 9681ac6b6527
children 01054ddccb0f
comparison
equal deleted inserted replaced
606:9efc1c256dbb 607:292fbcd5e9ac
14 */ 14 */
15 private static final long serialVersionUID = 4308041648698108066L; 15 private static final long serialVersionUID = 4308041648698108066L;
16 16
17 private final static String VALUE_SEPARATOR = " , "; 17 private final static String VALUE_SEPARATOR = " , ";
18 18
19 private String name = null; 19 protected String name;
20 private String value = null; 20 protected String value;
21 protected String description;
22 protected Object object;
23
21 24
22 /** 25 /**
23 * Constructor 26 * Constructor
24 */ 27 */
25 public DefaultInputData(String name, String value) { 28 public DefaultInputData(String name, String value) {
26 this.name = name; 29 this.name = name;
27 this.value = value; 30 this.value = value;
31 }
32
33 public DefaultInputData(String name, Object object) {
34 this.name = name;
35 this.object = object;
28 } 36 }
29 37
30 /** 38 /**
31 * @see de.intevation.gnv.state.InputData#getName() 39 * @see de.intevation.gnv.state.InputData#getName()
32 */ 40 */
37 /** 45 /**
38 * @see de.intevation.gnv.state.InputData#getValue() 46 * @see de.intevation.gnv.state.InputData#getValue()
39 */ 47 */
40 public String getValue() { 48 public String getValue() {
41 return this.value; 49 return this.value;
50 }
51
52 public void setObject(Object object) {
53 this.object = object;
54 }
55
56 public Object getObject() {
57 return object;
58 }
59
60 public String getDescription() {
61 return description;
62 }
63
64 public void setDescription(String description) {
65 this.description = description;
42 } 66 }
43 67
44 /** 68 /**
45 * @see java.lang.Object#toString() 69 * @see java.lang.Object#toString()
46 */ 70 */

http://dive4elements.wald.intevation.org