View Javadoc
1   package org.kuali.ole.batch.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: rajeshbabuk
13   * Date: 7/26/13
14   * Time: 3:36 PM
15   * To change this template use File | Settings | File Templates.
16   */
17  public class OLEBatchProcessMonthValuesFinder extends KeyValuesBase {
18  
19      public List<KeyValue> getKeyValues() {
20          List<KeyValue> keyValues = new ArrayList<KeyValue>();
21          keyValues.add(new ConcreteKeyValue("",""));
22          for(int monthDay=1;monthDay<=31;monthDay++){
23              keyValues.add(new ConcreteKeyValue(""+monthDay,""+monthDay));
24          }
25          return keyValues;
26      }
27  }