Class EJBQLSelect
java.lang.Object
org.apache.cayenne.ejbql.parser.SimpleNode
org.apache.cayenne.ejbql.parser.EJBQLSelect
- All Implemented Interfaces:
Serializable, EJBQLExpression, Node
- Since:
- 3.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanvisitNode(EJBQLExpressionVisitor visitor) Visits this node without recursion.Methods inherited from class SimpleNode
getChild, getChildrenCount, getName, getText, isNegated, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setText, toString, visit, visitChildModifier and TypeMethodDescriptiongetChild(int index) Returns a child expression node at the specified index.intReturns a number of child operands of this expression node.getName()getText()Returns a text property of the node.booleanReturns an optional boolean flag that negates the value of the expression.voidjjtAddChild(Node n, int i) This method tells the node to add its argument to the node's list of children.voidjjtClose()This method is called after all the child nodes have been added.jjtGetChild(int i) This method returns a child node.intReturn the number of children the node has.voidjjtOpen()This method is called after the node has been made the current node.voidjjtSetParent(Node parent) This pair of methods are used to inform the node of its parent.voidtoString()voidvisit(EJBQLExpressionVisitor visitor) A recursive visit method that passes a visitor to this node and all its children, depth first.protected booleanvisitChild(EJBQLExpressionVisitor visitor, int childIndex) Recursively visits a child at the specified index.
-
Constructor Details
-
EJBQLSelect
public EJBQLSelect(int id)
-
-
Method Details
-
visitNode
Description 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 classSimpleNode
-