org.kuali.rice.krad.demo.uif.options
Class SimpleTestKeyValues

java.lang.Object
  extended by org.kuali.rice.krad.keyvalues.KeyValuesBase
      extended by org.kuali.rice.krad.demo.uif.options.SimpleTestKeyValues
All Implemented Interfaces:
Serializable, KeyValuesFinder

public class SimpleTestKeyValues
extends KeyValuesBase

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Constructor Summary
SimpleTestKeyValues()
           
 
Method Summary
 List<KeyValue> getKeyValues()
          This is a fake implementation of a key value finder, normally this would make a request to a database to obtain the necessary values.
 boolean isBlankOption()
           
 void setBlankOption(boolean blankOption)
           
 
Methods inherited from class org.kuali.rice.krad.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

SimpleTestKeyValues

public SimpleTestKeyValues()
Method Detail

getKeyValues

public List<KeyValue> getKeyValues()
This is a fake implementation of a key value finder, normally this would make a request to a database to obtain the necessary values. Used only for testing.

Returns:
List of KeyValue objects
See Also:
KeyValuesFinder.getKeyValues()

isBlankOption

public boolean isBlankOption()
Returns:
the blankOption

setBlankOption

public void setBlankOption(boolean blankOption)
Parameters:
blankOption - the blankOption to set


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