Package org.apache.cayenne.ejbql.parser
Class AggregateConditionNode
java.lang.Object
org.apache.cayenne.ejbql.parser.SimpleNode
org.apache.cayenne.ejbql.parser.AggregateConditionNode
- All Implemented Interfaces:
- Serializable,- EJBQLExpression,- Node
Superclass of aggregated conditional nodes such as NOT, AND, OR. 
 Defines priority of operations, so that SQL can be supplied with brackets as needed
- Since:
- 3.0
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract intReturns priority of conditional operator.Methods inherited from class org.apache.cayenne.ejbql.parser.SimpleNodegetChild, getChildrenCount, getName, getText, isNegated, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setText, toString, visit, visitChild, visitNode
- 
Constructor Details- 
AggregateConditionNodepublic AggregateConditionNode(int id) 
 
- 
- 
Method Details- 
getPrioritypublic abstract int getPriority()Returns priority of conditional operator. This is used to decide whether brackets are needed in resulting SQL
 
-