1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 package com.finalist.mmbase.uml;
16
17 /***
18 * This class contains the information about the options in an optionlist.
19 * @author Kors van Beem
20 * @version $Revision: 1.3 $, $Date: 2004/10/23 08:54:39 $
21 */
22 public class MMBaseOptionVo {
23
24 private String key;
25 private String value;
26
27 /***
28 *
29 * @param key The identifier for this option.
30 * @param value The value to be displayed in the optionList.
31 */
32 public MMBaseOptionVo(String key, String value) {
33 this.key = key;
34 this.value = value;
35 }
36
37 /***
38 *
39 * @return The key value.
40 */
41 public String getKey() {
42 return key;
43 }
44
45 /***
46 *
47 * @param key The key value to set.
48 */
49 public void setKey(String key) {
50 this.key = key;
51 }
52
53 /***
54 *
55 * @return the display value to return.
56 */
57 public String getValue() {
58 return value;
59 }
60
61 /***
62 *
63 * @param value The display value to be set.
64 */
65 public void setValue(String value) {
66 this.value = value;
67 }
68 }