Interface ExpressionPath


public interface ExpressionPath
A dot notation expression path.
  • Method Details

    • containsMany

      boolean containsMany()
      Return true if there is a property on the path that is a many property.
    • pathGet

      Object pathGet​(Object bean)
      Return the value from a given entity bean.
    • 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 on
      value - 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.

    • getStringParser

      Return the default StringParser for the scalar property.
    • parseDateTime

      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).
    • isDateTimeCapable

      Return true if the last type is "DateTime capable" - can support parseDateTime(long).
    • getJdbcType

      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.
    • getAssocIdExpression

      String getAssocIdExpression​(String propName, String bindOperator)
      Return the Id expression string.

      Typically used to produce id = ? expression strings.

    • getAssocIdValues

      Return the Id values for the given bean value.
    • getProperty

      Return the underlying bean property.
    • getElName

      The ElPrefix plus name.