-
public interface ExpressionPathA dot notation expression path.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringassocIdExpression(String propName, String bindOperator)Return the Id expression string.Object[]assocIdValues(EntityBean bean)Return the Id values for the given bean value.booleancontainsMany()Return true if there is a property on the path that is a many property.Objectconvert(Object value)Convert the value to the expected type.StringelName()The ElPrefix plus name.booleanisAssocId()Return true if this is an ManyToOne or OneToOne associated bean property.intjdbcType()Return the underlying JDBC type or 0 if this is not a scalar type.ObjectpathGet(Object bean)Return the value from a given entity bean.voidpathSet(Object bean, Object value)Set a value to the bean for this expression path.Propertyproperty()Return the underlying bean property.StringParserstringParser()Return the default StringParser for the scalar property.
-
-
-
Method Detail
-
containsMany
boolean containsMany()
Return true if there is a property on the path that is a many property.
-
pathSet
void pathSet(Object bean, Object value)
Set a value to the bean for this expression path.- Parameters:
bean- the bean to set the value onvalue- the value to set
-
convert
Object convert(Object value)
Convert the value to the expected type.Typically useful for converting strings to the appropriate number type etc.
-
stringParser
StringParser stringParser()
Return the default StringParser for the scalar property.
-
jdbcType
int jdbcType()
Return the underlying JDBC type or 0 if this is not a scalar type.
-
isAssocId
boolean isAssocId()
Return true if this is an ManyToOne or OneToOne associated bean property.
-
assocIdExpression
String assocIdExpression(String propName, String bindOperator)
Return the Id expression string.Typically used to produce id = ? expression strings.
-
assocIdValues
Object[] assocIdValues(EntityBean bean)
Return the Id values for the given bean value.
-
property
Property property()
Return the underlying bean property.
-
elName
String elName()
The ElPrefix plus name.
-
-