org.josql.expressions
public abstract class ValueExpression extends Expression
Constructor and Description |
---|
ValueExpression() |
Modifier and Type | Method and Description |
---|---|
abstract Object |
evaluate(Object o,
Query q) |
Object |
getValue(Object o,
Query q)
Get the value for this expression based upon the object passed in.
|
getExpectedReturnType, hasFixedResult, init, isBracketed, isTrue, setBracketed, toString
public Object getValue(Object o, Query q) throws QueryExecutionException
Expression
getValue
in class Expression
o
- The current object that the expression should be evaluated on.q
- The Query object.QueryExecutionException
- If something goes wrong with gaining the value.public abstract Object evaluate(Object o, Query q) throws QueryExecutionException
QueryExecutionException