org.nuxeo.ecm.core.query.sql.model
Class MultiExpression
java.lang.Object
org.nuxeo.ecm.core.query.sql.model.Expression
org.nuxeo.ecm.core.query.sql.model.Predicate
org.nuxeo.ecm.core.query.sql.model.MultiExpression
- All Implemented Interfaces:
- java.io.Serializable, ASTNode, Operand
public class MultiExpression
- extends Predicate
An expression for an single operator with an arbitrary number of operands.
It extends Predicate
but it's really not a real Predicate (some users
of Predicate expect it to have lvalue and rvalue fields, which are null in
this class).
- Author:
- Florent Guillaume
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
values
public final java.util.List<Operand> values
MultiExpression
public MultiExpression(Operator operator,
java.util.List<Operand> values)
accept
public void accept(IVisitor visitor)
- Description copied from interface:
ASTNode
- Accept the given visitor.
- Specified by:
accept
in interface ASTNode
- Overrides:
accept
in class Expression
- Parameters:
visitor
- the AST node visitor
toString
public java.lang.String toString()
- Overrides:
toString
in class Expression
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class Expression
hashCode
public int hashCode()
- Overrides:
hashCode
in class Expression
Copyright © 2010 Nuxeo SAS. All Rights Reserved.