001package org.kuali.ole.deliver.bo; 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: 10/9/12 014 * Time: 6:11 PM 015 * To change this template use File | Settings | File Templates. 016 */ 017public class OleDeliverRequestCreatorKeyValue 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("Patron", "Patron")); 028 keyValues.add(new ConcreteKeyValue("Proxy Patron", "Proxy Patron")); 029 keyValues.add(new ConcreteKeyValue("Operator", "Operator")); 030 031 return keyValues; 032 } 033 034}