01: package org.emforge.xfer;
02:
03: /** Transfer Object for Select Values
04: *
05: */
06: public class SelectValueTO {
07:
08: private String label;
09: private String value;
10:
11: public SelectValueTO() {
12:
13: }
14:
15: public SelectValueTO(String value, String label) {
16: this .value = value;
17: this .label = label;
18: }
19:
20: /** Label to display in select Controls */
21: public String getLabel() {
22: return label;
23: }
24:
25: public void setLabel(String i_label) {
26: label = i_label;
27: }
28:
29: /** real-value, should be used for changing and selecting */
30: public String getValue() {
31: return value;
32: }
33:
34: public void setValue(String i_value) {
35: value = i_value;
36: }
37: }
|