public interface PropertyHelper
Modifier and Type | Method and Description |
---|---|
Object |
convertToBackendType(String entityType,
List<String> propertyPath,
Object value)
Converts the given property value into the type expected by the query backend.
|
Object |
convertToPropertyType(String entityType,
List<String> propertyPath,
String value)
Converts the given string value specified via JP-QL into the actual type of the given property.
|
Object convertToPropertyType(String entityType, List<String> propertyPath, String value)
entityType
- the entity type owning the propertypropertyPath
- the path from the entity to the property (will only contain more than one element in case the
entity is hosted on an embedded entity).value
- the value of the propertyObject convertToBackendType(String entityType, List<String> propertyPath, Object value)
entityType
- the entity type owning the propertypropertyPath
- the path from the entity to the property (will only contain more than one element in case the
entity is hosted on an embedded entity).value
- the value of the propertyCopyright © 2017. All rights reserved.