org.nuxeo.ecm.core.query.sql.model
Class Expression
java.lang.Object
org.nuxeo.ecm.core.query.sql.model.Expression
- All Implemented Interfaces:
- Serializable, ASTNode, Operand
- Direct Known Subclasses:
- Predicate
public class Expression
- extends Object
- implements Operand
An infix expression.
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
operator
public final Operator operator
lvalue
public final Operand lvalue
rvalue
public final Operand rvalue
Expression
public Expression(Operand lvalue,
Operator operator,
Operand rvalue)
accept
public void accept(IVisitor visitor)
- Description copied from interface:
ASTNode
- Accept the given visitor.
- Specified by:
accept
in interface ASTNode
- Parameters:
visitor
- the AST node visitor
isSuffix
public boolean isSuffix()
- Is the unary operator pretty-printed after the operand?
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
isPathExpression
public boolean isPathExpression()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.