1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.rice.kew.engine.node;
18
19 import org.apache.commons.collections.KeyValue;
20 import java.io.Serializable;
21
22 import javax.persistence.Column;
23 import javax.persistence.MappedSuperclass;
24
25
26
27
28
29
30 @MappedSuperclass
31 public class KeyValuePair implements KeyValue, Serializable {
32
33 private static final long serialVersionUID = -3819394562029060331L;
34
35 @Column(name="KEY_CD")
36 protected String key;
37 @Column(name="VAL")
38 protected String value;
39
40 public KeyValuePair() {}
41
42 public KeyValuePair(String key, String value) {
43 this.key = key;
44 this.value = value;
45 }
46
47 public void setKey(String key) {
48 this.key = key;
49 }
50
51 public String getKey() {
52 return key;
53 }
54
55 public void setValue(String value) {
56 this.value = value;
57 }
58
59 public String getValue() {
60 return value;
61 }
62 }