public class EqualsExpression extends BinaryExpression
Modifier and Type | Field and Description |
---|---|
boolean |
ignoreCase |
left, right
Constructor and Description |
---|
EqualsExpression() |
Modifier and Type | Method and Description |
---|---|
boolean |
isIgnoreCase() |
boolean |
isNot() |
boolean |
isTrue(Object o,
Query q)
Return whether this expression evaluates to
true . |
void |
setIgnoreCase(boolean v) |
void |
setNot(boolean v) |
String |
toString()
Return a string version of the expression.
|
getExpectedReturnType, getLeft, getRight, getValue, hasFixedResult, init, setLeft, setRight
isBracketed, setBracketed
public void setIgnoreCase(boolean v)
public boolean isIgnoreCase()
public boolean isNot()
public void setNot(boolean v)
public boolean isTrue(Object o, Query q) throws QueryExecutionException
true
.isTrue
in class Expression
o
- The current object to perform the expression on.q
- The Query object.true
if the expression evaluates to true
, false
otherwise.QueryExecutionException
- If the expression cannot be evaluated.public String toString()
Expression
[ $ ] [ ! ] = Expression
toString
in class Expression