Package org.apache.cayenne.ejbql.parser
Class EJBQLFromItem
java.lang.Object
org.apache.cayenne.ejbql.parser.SimpleNode
org.apache.cayenne.ejbql.parser.EJBQLFromItem
- All Implemented Interfaces:
Serializable,EJBQLExpression,Node
- Since:
- 3.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Returns an id generated from the entity name.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.SimpleNode
getChild, getChildrenCount, getName, getText, isNegated, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setText, toString, visit
-
Constructor Details
-
EJBQLFromItem
public EJBQLFromItem(int id)
-
-
Method Details
-
getSyntheticId
Returns an id generated from the entity name. It is used when no user-specified id exists. -
getId
-
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
-
visitChild
Description 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 classSimpleNode
-