public class NoOpPropertyValueTransformer extends Object implements PropertyValueTransformer
PropertyValueTransformer
that does nothing but pass through the property value.
This is so that a PropertyValueTransformer
never has to be set to null
for a comparison operator if
no transformation is required.Constructor and Description |
---|
NoOpPropertyValueTransformer() |
Modifier and Type | Method and Description |
---|---|
Object |
transformPropertyValue(Object propertyValue)
Transforms the given property value into a format that's compatible with the comparison operator in the context
of the current query being built.
|
public Object transformPropertyValue(Object propertyValue)
PropertyValueTransformer
transformPropertyValue
in interface PropertyValueTransformer
propertyValue
- The property value to transform, which may be null
null
if invoked with null
Copyright © 2018 Neo Technology, Inc.. All rights reserved.