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, toStringpublic Object getValue(Object o, Query q) throws QueryExecutionException
ExpressiongetValue in class Expressiono - 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
QueryExecutionExceptionCopyright © 2000–2018. All rights reserved.