Package org.apache.cayenne.ejbql.parser
Class EJBQLOr
java.lang.Object
org.apache.cayenne.ejbql.parser.SimpleNode
org.apache.cayenne.ejbql.parser.AggregateConditionNode
org.apache.cayenne.ejbql.parser.EJBQLOr
- All Implemented Interfaces:
- Serializable,- EJBQLExpression,- Node
public class EJBQLOr extends AggregateConditionNode
- Since:
- 3.0
- See Also:
- Serialized Form
- 
Constructor SummaryConstructors Constructor Description EJBQLOr(int id)
- 
Method SummaryModifier and Type Method Description intgetPriority()Returns priority of conditional operator.protected booleanvisitChild(EJBQLExpressionVisitor visitor, int childIndex)Recursively visits a child at the specified index.protected booleanvisitNode(EJBQLExpressionVisitor visitor)Visits this node without recursion.Methods inherited from class org.apache.cayenne.ejbql.parser.SimpleNodegetChild, getChildrenCount, getName, getText, isNegated, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setText, toString, visit
- 
Constructor Details- 
EJBQLOrpublic EJBQLOr(int id)
 
- 
- 
Method Details- 
visitNodeDescription copied from class:SimpleNodeVisits this node without recursion. Default implementation simply returns true. Subclasses override this method to call an appropriate visitor method.- Overrides:
- visitNodein class- SimpleNode
 
- 
visitChildDescription copied from class:SimpleNodeRecursively visits a child at the specified index. Subclasses override this method if they desire to implement callbacks after visiting each child.- Overrides:
- visitChildin class- SimpleNode
 
- 
getPrioritypublic int getPriority()Description copied from class:AggregateConditionNodeReturns priority of conditional operator. This is used to decide whether brackets are needed in resulting SQL- Specified by:
- getPriorityin class- AggregateConditionNode
 
 
-