org.kuali.kfs.sys.businessobject.options
Class ParameterValuesFinder

java.lang.Object
  extended by org.kuali.rice.kns.lookup.keyvalues.KeyValuesBase
      extended by org.kuali.kfs.sys.businessobject.options.ParameterValuesFinder
All Implemented Interfaces:
org.kuali.rice.kns.lookup.keyvalues.KeyValuesFinder

public class ParameterValuesFinder
extends org.kuali.rice.kns.lookup.keyvalues.KeyValuesBase

This class gets all the values of a parameter and then builds a list of key label pairs out of them, using each parameter value as both key and label


Constructor Summary
ParameterValuesFinder()
           
ParameterValuesFinder(Class componentClass, String parameterName)
           
 
Method Summary
 Class getComponentClass()
          Gets the componentClass attribute.
 List getKeyValues()
           
 String getParameterName()
          Gets the parameterName attribute.
 void setComponentClass(Class componentClass)
          Sets the componentClass attribute value.
 void setInsertBlankRow(boolean insertBlankRow)
          Sets the insertBlankRow attribute value.
 void setParameterName(String parameterName)
          Sets the parameterName attribute value.
 boolean shouldInsertBlankRow()
          Gets the insertBlankRow attribute.
 
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

ParameterValuesFinder

public ParameterValuesFinder()

ParameterValuesFinder

public ParameterValuesFinder(Class componentClass,
                             String parameterName)
Method Detail

getKeyValues

public List getKeyValues()

shouldInsertBlankRow

public boolean shouldInsertBlankRow()
Gets the insertBlankRow attribute.

Returns:
Returns the insertBlankRow.

setInsertBlankRow

public void setInsertBlankRow(boolean insertBlankRow)
Sets the insertBlankRow attribute value.

Parameters:
insertBlankRow - The insertBlankRow to set.

getComponentClass

public Class getComponentClass()
Gets the componentClass attribute.

Returns:
Returns the componentClass.

getParameterName

public String getParameterName()
Gets the parameterName attribute.

Returns:
Returns the parameterName.

setComponentClass

public void setComponentClass(Class componentClass)
Sets the componentClass attribute value.

Parameters:
componentClass - The componentClass to set.

setParameterName

public void setParameterName(String parameterName)
Sets the parameterName attribute value.

Parameters:
parameterName - The parameterName to set.


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