public interface ExpressionPath
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMany()
Return true if there is a property on the path that is a many property.
|
Object |
convert(Object value)
Convert the value to the expected type.
|
int |
getJdbcType()
Return the underlying JDBC type or 0 if this is not a scalar type.
|
StringParser |
getStringParser()
Return the default StringParser for the scalar property.
|
boolean |
isDateTimeCapable()
Return true if the last type is "DateTime capable" - can support
parseDateTime(long). |
Object |
parseDateTime(long systemTimeMillis)
For DateTime capable scalar types convert the long systemTimeMillis into
an appropriate java time (Date,Timestamp,Time,Calendar, JODA type etc).
|
Object |
pathGet(Object bean)
Return the value from a given entity bean.
|
void |
pathSet(Object bean,
Object value)
Set a value to the bean for this expression path.
|
boolean containsMany()
void pathSet(Object bean, Object value)
bean - the bean to set the value onvalue - the value to setObject convert(Object value)
Typically useful for converting strings to the appropriate number type etc.
StringParser getStringParser()
Object parseDateTime(long systemTimeMillis)
boolean isDateTimeCapable()
parseDateTime(long).int getJdbcType()
Copyright © 2016. All rights reserved.