View Javadoc

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.keyvalues.KeyValuesBase;
6   
7   import java.util.ArrayList;
8   import java.util.List;
9   
10  /**
11   * Created with IntelliJ IDEA.
12   * User: ?
13   * Date: 2/7/13
14   * Time: 3:27 PM
15   * To change this template use File | Settings | File Templates.
16   */
17  public class OleDiscoveryExportFormatValueFinder extends KeyValuesBase {
18      /**
19       * This method will populate the code as a key and name as a value and return it as list
20       *
21       * @return keyValues(list)
22       */
23      @Override
24      public List getKeyValues() {
25          List<KeyValue> keyValues = new ArrayList<KeyValue>();
26  
27          keyValues.add(new ConcreteKeyValue("MARC XML", "MARC XML"));
28          keyValues.add(new ConcreteKeyValue("MARC21", "MARC21"));
29          return keyValues;
30      }
31  
32  }