edu.sampleu.travel.document.keyvalue
Class SimpleTestKeyValueLocations

java.lang.Object
  extended by org.kuali.rice.krad.keyvalues.KeyValuesBase
      extended by edu.sampleu.travel.document.keyvalue.SimpleTestKeyValues
          extended by edu.sampleu.travel.document.keyvalue.SimpleTestKeyValueLocations
All Implemented Interfaces:
Serializable, KeyValuesFinder

public class SimpleTestKeyValueLocations
extends SimpleTestKeyValues

Test class for KeyValueLocations KeyValuesFinder

See Also:
Serialized Form

Constructor Summary
SimpleTestKeyValueLocations()
           
 
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.
 
Methods inherited from class edu.sampleu.travel.document.keyvalue.SimpleTestKeyValues
isBlankOption, setBlankOption
 
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

SimpleTestKeyValueLocations

public SimpleTestKeyValueLocations()
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.

Specified by:
getKeyValues in interface KeyValuesFinder
Overrides:
getKeyValues in class SimpleTestKeyValues
Returns:
List of KeyValue objects
See Also:
KeyValuesFinder.getKeyValues()


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.