public interface IndexableItem
Modifier and Type | Method and Description |
---|---|
<T> T |
getValue(String propertyName)
Gets the first value of the property, in case of multivalue
picks the first value in the collection.
|
<T> List<T> |
getValues(String propertyName)
Gets a collection of objects representing the values of a given
property
|
boolean |
hasValue(String propertyName)
Returns whether a property has a value
|
boolean |
isMultiValue(String propertyName)
Returns wether a property is multivalue or not
|
boolean hasValue(String propertyName)
propertyName
- The name of the property to check for a value<T> T getValue(String propertyName)
propertyName
- The name of the property to retrieve the value for<T> List<T> getValues(String propertyName)
propertyName
- The name of the property to get the values forboolean isMultiValue(String propertyName)
propertyName
- THe name of the property to check for multivalueCopyright © 2015. All rights reserved.