1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.uif.util;
17
18 import org.kuali.rice.core.api.util.AbstractKeyValue;
19 import org.kuali.rice.krad.datadictionary.parse.BeanTag;
20 import org.kuali.rice.krad.datadictionary.parse.BeanTagAttribute;
21 import org.kuali.rice.krad.datadictionary.parse.BeanTags;
22
23
24
25
26 @BeanTags({@BeanTag(name = "keyValuePair-bean", parent = "Uif-KeyLabelPair"),
27 @BeanTag(name = "keyLabelPair-bean", parent = "Uif-KeyLabelPair")})
28 public class UifKeyValue extends AbstractKeyValue {
29 private static final long serialVersionUID = 1176799455504861488L;
30
31 public UifKeyValue() {
32 super();
33 }
34
35 public UifKeyValue(String key, String value) {
36 super(key, value);
37 }
38
39 @Override
40 @BeanTagAttribute(name = "key")
41 public String getKey() {
42 return super.getKey();
43 }
44
45 @Override
46 @BeanTagAttribute(name = "value")
47 public String getValue() {
48 return super.getValue();
49 }
50
51 public void setKey(String key) {
52 this.key = key;
53 }
54
55 public void setValue(String value) {
56 this.value = value;
57 }
58 }