public abstract class KeyValuesBase extends Object implements KeyValuesFinder, Serializable
KeyValuesFinder
Constructor and Description |
---|
KeyValuesBase() |
Modifier and Type | Method and Description |
---|---|
void |
clearInternalCache()
Clears any internal cache that is being maintained by the value finder
|
String |
getKeyLabel(String key)
Returns the label for the associated key.
|
Map<String,String> |
getKeyLabelMap()
Returns a map with the key as the key of the map and the label as the value.
|
List<KeyValue> |
getKeyValues(boolean includeActiveOnly)
Builds a list of key values representations for valid value selections.
|
Collection<String> |
getOptionLabels() |
Collection<String> |
getOptionValues() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKeyValues
public KeyValuesBase()
public Collection<String> getOptionLabels()
public Collection<String> getOptionValues()
public Map<String,String> getKeyLabelMap()
KeyValuesFinder
getKeyLabelMap
in interface KeyValuesFinder
public String getKeyLabel(String key)
KeyValuesFinder
getKeyLabel
in interface KeyValuesFinder
public List<KeyValue> getKeyValues(boolean includeActiveOnly)
KeyValuesFinder
getKeyValues
in interface KeyValuesFinder
includeActiveOnly
- whether to only include active values in the listpublic void clearInternalCache()
KeyValuesFinder
clearInternalCache
in interface KeyValuesFinder
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.