public class MapValuesFinder extends Object implements KeyValuesFinder
Constructor and Description |
---|
MapValuesFinder(Map<String,String> keyValues) |
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()
Builds a list of key values representations for valid value selections.
|
List<KeyValue> |
getKeyValues(boolean includeActiveOnly)
Builds a list of key values representations for valid value selections.
|
void |
setKeyValues(Map<String,String> keyValues) |
public MapValuesFinder(Map<String,String> keyValues)
public void setKeyValues(Map<String,String> keyValues)
public List<KeyValue> getKeyValues()
KeyValuesFinder
getKeyValues
in interface KeyValuesFinder
public List<KeyValue> getKeyValues(boolean includeActiveOnly)
KeyValuesFinder
getKeyValues
in interface KeyValuesFinder
includeActiveOnly
- whether to only include active values in the listpublic Map<String,String> getKeyLabelMap()
KeyValuesFinder
getKeyLabelMap
in interface KeyValuesFinder
public String getKeyLabel(String key)
KeyValuesFinder
getKeyLabel
in interface KeyValuesFinder
public void clearInternalCache()
KeyValuesFinder
clearInternalCache
in interface KeyValuesFinder
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.