T - the generic type of the values listpublic abstract class PropertiesKeysListResolver<T>
extends java.lang.Object
| Constructor and Description |
|---|
PropertiesKeysListResolver(java.lang.String propertiesKeyPrefix,
java.util.List<T> values)
Instantiates a new properties list view renderer.
|
PropertiesKeysListResolver(java.lang.String propertiesKeyPrefix,
java.lang.String propertiesKeySuffix,
java.util.List<T> values)
Instantiates a new properties list view renderer.
|
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getDisplayValue(T object)
Gets the display value for the given object.
|
protected java.lang.String |
getPropertiesKey(java.lang.String object)
Gets the properties key from the given object.
|
java.util.List<java.lang.String> |
getResultList()
Gets the result list from the display values.
|
public PropertiesKeysListResolver(java.lang.String propertiesKeyPrefix,
java.util.List<T> values)
propertiesKeyPrefix - the properties key prefixvalues - the valuespublic PropertiesKeysListResolver(java.lang.String propertiesKeyPrefix,
java.lang.String propertiesKeySuffix,
java.util.List<T> values)
propertiesKeyPrefix - the properties key prefixpropertiesKeySuffix - the properties key suffixvalues - the valuespublic abstract java.lang.String getDisplayValue(T object)
object - is a value in the list 'values'. the objectprotected java.lang.String getPropertiesKey(java.lang.String object)
object - is a value in the list 'values'.public java.util.List<java.lang.String> getResultList()