org.kuali.kfs.coa.businessobject.options
Class KualiSystemCodeValuesFinder

java.lang.Object
  extended by org.kuali.rice.kns.lookup.keyvalues.KeyValuesBase
      extended by org.kuali.kfs.coa.businessobject.options.KualiSystemCodeValuesFinder
All Implemented Interfaces:
org.kuali.rice.kns.lookup.keyvalues.KeyValuesFinder
Direct Known Subclasses:
BudgetRecordingLevelValuesFinder, SufficientFundsCodeValuesFinder

public abstract class KualiSystemCodeValuesFinder
extends org.kuali.rice.kns.lookup.keyvalues.KeyValuesBase

This class is the base class for all the ValueFinders for any class extending KualiSystemCode. Subclasses should extend this, but do nothing. Just extending this class will be sufficient to work.


Constructor Summary
KualiSystemCodeValuesFinder()
           
 
Method Summary
 List getKeyValues()
          Calls getValuesClass() to generate a list of key/value pairs from the KualiCodeBase's code as the key and the code and description as the value
protected abstract  Class getValuesClass()
          This method must be implemented by the base class, should return the Class of the object being looked up
 
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

KualiSystemCodeValuesFinder

public KualiSystemCodeValuesFinder()
Method Detail

getKeyValues

public List getKeyValues()
Calls getValuesClass() to generate a list of key/value pairs from the KualiCodeBase's code as the key and the code and description as the value

Returns:
list of key/value pairs for displaying on the client side
See Also:
KeyValuesFinder.getKeyValues()

getValuesClass

protected abstract Class getValuesClass()
This method must be implemented by the base class, should return the Class of the object being looked up

Returns:
class of object being looked up


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