Package org.apache.cayenne.ejbql.parser
Class EJBQLNot
java.lang.Object
org.apache.cayenne.ejbql.parser.SimpleNode
org.apache.cayenne.ejbql.parser.AggregateConditionNode
org.apache.cayenne.ejbql.parser.EJBQLNot
- All Implemented Interfaces:
Serializable
,EJBQLExpression
,Node
- Since:
- 3.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns priority of conditional operator.protected boolean
visitNode
(EJBQLExpressionVisitor visitor) Visits this node without recursion.Methods inherited from class org.apache.cayenne.ejbql.parser.SimpleNode
getChild, getChildrenCount, getName, getText, isNegated, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setText, toString, visit, visitChild
-
Constructor Details
-
EJBQLNot
public EJBQLNot(int id)
-
-
Method Details
-
visitNode
Description copied from class:SimpleNode
Visits this node without recursion. Default implementation simply returns true. Subclasses override this method to call an appropriate visitor method.- Overrides:
visitNode
in classSimpleNode
-
getPriority
public int getPriority()Description copied from class:AggregateConditionNode
Returns priority of conditional operator. This is used to decide whether brackets are needed in resulting SQL- Specified by:
getPriority
in classAggregateConditionNode
-