1 package org.kuali.ole.describe.keyvalue;
2
3 import org.kuali.rice.core.api.util.ConcreteKeyValue;
4 import org.kuali.rice.core.api.util.KeyValue;
5 import org.kuali.rice.krad.uif.control.UifKeyValuesFinderBase;
6 import org.kuali.rice.krad.uif.view.ViewModel;
7 import org.slf4j.Logger;
8 import org.slf4j.LoggerFactory;
9
10 import java.util.ArrayList;
11 import java.util.List;
12
13
14
15
16
17
18
19
20 public class OLEStaffFieldKeyValueFinder extends UifKeyValuesFinderBase {
21
22 public static final Logger LOG = LoggerFactory.getLogger(DocFormatKeyValueFinder.class);
23
24 @Override
25 public List<KeyValue> getKeyValues(ViewModel model) {
26 List<KeyValue> options = new ArrayList<KeyValue>();
27 options.add(new ConcreteKeyValue("Y", "Yes"));
28 options.add(new ConcreteKeyValue("N", "No"));
29 return options;
30 }
31 }