Class EJBQLIdentifier
java.lang.Object
org.apache.cayenne.ejbql.parser.SimpleNode
org.apache.cayenne.ejbql.parser.EJBQLIdentifier
- All Implemented Interfaces:
Serializable, EJBQLExpression, Node
- Since:
- 3.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvisit(EJBQLExpressionVisitor visitor) A recursive visit method that passes a visitor to this node and all its children, depth first.Methods inherited from class SimpleNode
getChild, getChildrenCount, getName, getText, isNegated, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setText, toString, visitChild, visitNodeModifier 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()protected booleanvisitChild(EJBQLExpressionVisitor visitor, int childIndex) Recursively visits a child at the specified index.protected booleanvisitNode(EJBQLExpressionVisitor visitor) Visits this node without recursion.
-
Constructor Details
-
EJBQLIdentifier
public EJBQLIdentifier(int id)
-
-
Method Details
-
visit
Description copied from class:SimpleNodeA recursive visit method that passes a visitor to this node and all its children, depth first.- Specified by:
visitin interfaceEJBQLExpression- Overrides:
visitin classSimpleNode
-