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
KeyValuesFinder.getKeyLabelMap()
public String getKeyLabel(String key)
KeyValuesFinder
getKeyLabel
in interface KeyValuesFinder
KeyValuesFinder.getKeyLabel(String)
public List<KeyValue> getKeyValues(boolean includeActiveOnly)
KeyValuesFinder
getKeyValues
in interface KeyValuesFinder
includeActiveOnly
- whether to only include active values in the listKeyValuesFinder.getKeyValues(boolean)
public void clearInternalCache()
KeyValuesFinder
clearInternalCache
in interface KeyValuesFinder
KeyValuesFinder.clearInternalCache()
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.