public abstract class UnaryExpression extends Object implements Expression
Modifier and Type | Field and Description |
---|---|
protected Expression |
right |
Constructor and Description |
---|
UnaryExpression(Expression left) |
Modifier and Type | Method and Description |
---|---|
static BooleanExpression |
createBooleanCast(Expression left) |
static BooleanExpression |
createInExpression(PropertyExpression right,
List<Object> elements,
boolean not) |
static Expression |
createNegate(Expression left) |
static BooleanExpression |
createNOT(BooleanExpression left) |
static BooleanExpression |
createXPath(String xpath) |
static BooleanExpression |
createXQuery(String xpath) |
boolean |
equals(Object o) |
abstract String |
getExpressionSymbol()
Returns the symbol that represents this binary expression.
|
Expression |
getRight() |
int |
hashCode() |
void |
setRight(Expression expression) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
evaluate
protected Expression right
public UnaryExpression(Expression left)
public static Expression createNegate(Expression left)
public static BooleanExpression createInExpression(PropertyExpression right, List<Object> elements, boolean not)
public static BooleanExpression createNOT(BooleanExpression left)
public static BooleanExpression createXPath(String xpath)
public static BooleanExpression createXQuery(String xpath)
public static BooleanExpression createBooleanCast(Expression left)
public Expression getRight()
public void setRight(Expression expression)
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object o)
equals
in class Object
Object.equals(java.lang.Object)
public abstract String getExpressionSymbol()
Copyright © 2018 JBoss by Red Hat. All rights reserved.