org.kuali.kfs.gl.businessobject.options
Class PeriodCodeOptionFinder

java.lang.Object
  extended by org.kuali.rice.kns.lookup.keyvalues.KeyValuesBase
      extended by org.kuali.kfs.gl.businessobject.options.PeriodCodeOptionFinder
All Implemented Interfaces:
org.kuali.rice.kns.lookup.keyvalues.KeyValuesFinder, org.kuali.rice.kns.lookup.valueFinder.ValueFinder

public class PeriodCodeOptionFinder
extends org.kuali.rice.kns.lookup.keyvalues.KeyValuesBase
implements org.kuali.rice.kns.lookup.valueFinder.ValueFinder

An implementation of ValueFinder that allows the selection of a period code


Constructor Summary
PeriodCodeOptionFinder()
           
 
Method Summary
 List getKeyValues()
          Returns a list of possible options for this ValueFinder; here, each of the fiscal periods
 String getValue()
          Returns this default value of this ValueFinder, in this case the current period code
 
Methods inherited from class org.kuali.rice.kns.lookup.keyvalues.KeyValuesBase
clearInternalCache, getKeyLabel, getKeyLabelMap, getKeyValues, getOptionLabels, getOptionValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PeriodCodeOptionFinder

public PeriodCodeOptionFinder()
Method Detail

getValue

public String getValue()
Returns this default value of this ValueFinder, in this case the current period code

Specified by:
getValue in interface org.kuali.rice.kns.lookup.valueFinder.ValueFinder
Returns:
the key of the default Key/Value pair
See Also:
ValueFinder.getValue()

getKeyValues

public List getKeyValues()
Returns a list of possible options for this ValueFinder; here, each of the fiscal periods

Specified by:
getKeyValues in interface org.kuali.rice.kns.lookup.keyvalues.KeyValuesFinder
Returns:
a List of key/value pair options
See Also:
KeyValuesFinder.getKeyValues()


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.