001package org.kuali.ole.describe.keyvalue; 002 003import org.kuali.rice.core.api.util.ConcreteKeyValue; 004import org.kuali.rice.core.api.util.KeyValue; 005import org.kuali.rice.krad.keyvalues.KeyValuesBase; 006 007import java.util.ArrayList; 008import java.util.List; 009 010/** 011 * Created with IntelliJ IDEA. 012 * User: ? 013 * Date: 2/7/13 014 * Time: 3:27 PM 015 * To change this template use File | Settings | File Templates. 016 */ 017public class OleDiscoveryExportFormatValueFinder extends KeyValuesBase { 018 /** 019 * This method will populate the code as a key and name as a value and return it as list 020 * 021 * @return keyValues(list) 022 */ 023 @Override 024 public List getKeyValues() { 025 List<KeyValue> keyValues = new ArrayList<KeyValue>(); 026 027 keyValues.add(new ConcreteKeyValue("MARC XML", "MARC XML")); 028 keyValues.add(new ConcreteKeyValue("MARC21", "MARC21")); 029 return keyValues; 030 } 031 032}