View Javadoc
1   package org.kuali.ole.deliver.keyvalue;
2   
3   import org.kuali.ole.OLEConstants;
4   import org.kuali.rice.core.api.util.ConcreteKeyValue;
5   import org.kuali.rice.core.api.util.KeyValue;
6   import org.kuali.rice.krad.keyvalues.KeyValuesBase;
7   
8   import java.util.ArrayList;
9   import java.util.List;
10  
11  /**
12   * Created with IntelliJ IDEA.
13   * User: aurojyotit
14   * Date: 1/13/14
15   * Time: 2:48 PM
16   * To change this template use File | Settings | File Templates.
17   */
18  public class OLEItemsFlagKeyValue extends KeyValuesBase {
19      @Override
20      public List<KeyValue> getKeyValues() {
21          List<KeyValue> keyValues = new ArrayList<KeyValue>();
22          keyValues.add(new ConcreteKeyValue("", ""));
23          keyValues.add(new ConcreteKeyValue(OLEConstants.FLAG_TYP_ITM_DAMAGED, OLEConstants.FLAG_TYP_ITM_DAMAGED));
24          keyValues.add(new ConcreteKeyValue(OLEConstants.FLAG_TYP_ITM_MISSING, OLEConstants.FLAG_TYP_ITM_MISSING));
25          keyValues.add(new ConcreteKeyValue(OLEConstants.FLAG_TYP_ITM_CLAIMS_RETURNED, OLEConstants.FLAG_TYP_ITM_CLAIMS_RETURNED));
26          return keyValues;
27      }
28  }