getValue(Object o, Query q) Get the value for this expression.
Parameters: o - The object to perform the expression on. Parameters: q - The Query object.
isTrue(Object o, Query q) Indicate whether the expression evaluates to true.
Parameters: o - The object to perform the expression on. Parameters: q - The Query object.
Get the expected return type for the expression.
Parameters: q - The Query object. The class of the return type. throws: QueryParseException - If an error occurs whilst trying to determine thereturn type.
Get the value for this expression.
Parameters: o - The object to perform the expression on. Parameters: q - The Query object. The result of calling: Expression.getValue(ObjectQuery). throws: QueryExecutionException - If something goes wrong with the execution of theexpression.
Return whether this expression has a fixed result.
See:
Expression.hasFixedResult(Query) for more details.
Parameters: q - The Query object. true if the expression returns a fixed result, false otherwise.
Init this expression. All that occurs here is that the aliased expression is
inited via:
Expression.init(Query) .
Parameters: q - The Query object. throws: QueryParseException - If an error occurs during the initialisation of theexpression.
Indicate whether the expression evaluates to true.
Parameters: o - The object to perform the expression on. Parameters: q - The Query object. true if the expression evaulates to true, falseotherwise. throws: QueryExecutionException - If something goes wrong during execution of the:Expression.isTrue(ObjectQuery) method. See Also:Expression.isTrue(ObjectQuery)