View Javadoc
1   package org.kuali.ole.vnd.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.keyvalues.KeyValuesBase;
6   
7   import java.util.ArrayList;
8   import java.util.List;
9   
10  /**
11   * Created by srirams on 6/11/14.
12   */
13  public class OLEFormatKeyValueFinder extends KeyValuesBase {
14  
15      @Override
16      public List<KeyValue> getKeyValues() {
17          List<KeyValue> keyValues = new ArrayList<KeyValue>();
18          keyValues.add(new ConcreteKeyValue("1","All"));
19          keyValues.add(new ConcreteKeyValue("2","Databases"));
20          keyValues.add(new ConcreteKeyValue("3","Ebooks"));
21          keyValues.add(new ConcreteKeyValue("4","Journals"));
22          keyValues.add(new ConcreteKeyValue("5 Media","Streaming Media"));
23          return keyValues;
24      }
25  }