Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.query.sql.model
Class Expression

java.lang.Object
  extended by org.nuxeo.ecm.core.query.sql.model.Expression
All Implemented Interfaces:
java.io.Serializable, ASTNode, Operand
Direct Known Subclasses:
Predicate

public class Expression
extends java.lang.Object
implements Operand

An infix expression.

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Field Summary
 Operand lvalue
           
 Operator operator
           
 Operand rvalue
           
 
Constructor Summary
Expression(Operand lvalue, Operator operator, Operand rvalue)
           
 
Method Summary
 void accept(IVisitor visitor)
          Accept the given visitor.
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 boolean isPathExpression()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

operator

public final Operator operator

lvalue

public final Operand lvalue

rvalue

public final Operand rvalue
Constructor Detail

Expression

public Expression(Operand lvalue,
                  Operator operator,
                  Operand rvalue)
Method Detail

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

isPathExpression

public boolean isPathExpression()

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.