1 package org.kuali.ole.deliver.keyvalue.drools;
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.keyvalues.KeyValuesBase;
6
7 import java.util.ArrayList;
8 import java.util.Collection;
9 import java.util.List;
10
11
12
13
14 public class DroolEditorRuleOperatorKeyValuesFinder extends KeyValuesBase {
15 @Override
16 public List getKeyValues() {
17 List<KeyValue> keyValues = new ArrayList<KeyValue>();
18 keyValues.add(new ConcreteKeyValue("",""));
19 keyValues.add(new ConcreteKeyValue("=","="));
20 keyValues.add(new ConcreteKeyValue("!=","!="));
21 keyValues.add(new ConcreteKeyValue(">",">"));
22 keyValues.add(new ConcreteKeyValue(">=",">="));
23 keyValues.add(new ConcreteKeyValue("<","<"));
24 keyValues.add(new ConcreteKeyValue("<=","<="));
25 keyValues.add(new ConcreteKeyValue("!=null","!=null"));
26 keyValues.add(new ConcreteKeyValue("=null","=null"));
27 return keyValues;
28 }
29 }