1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.keyvalues;
17
18 import java.util.ArrayList;
19 import java.util.Collections;
20 import java.util.List;
21
22 import org.kuali.rice.core.util.ConcreteKeyValue;
23 import org.kuali.rice.core.util.KeyValue;
24 import org.kuali.rice.krad.keyvalues.KeyValuesBase;
25
26
27
28
29
30
31 public class OpenCloseValuesFinder extends KeyValuesBase {
32
33 private static final List<KeyValue> KEY_VALUES;
34
35 static {
36 final List<KeyValue> keyValues = new ArrayList<KeyValue>();
37 keyValues.add(new ConcreteKeyValue("O", "Open"));
38 keyValues.add(new ConcreteKeyValue("C", "Closed"));
39 KEY_VALUES = Collections.unmodifiableList(keyValues);
40 }
41
42
43
44
45 @Override
46 public List<KeyValue> getKeyValues() {
47 return KEY_VALUES;
48 }
49
50 }