org.apache.cayenne.ejbql.parser
Class EJBQLPath

java.lang.Object
  extended by org.apache.cayenne.ejbql.parser.SimpleNode
      extended by org.apache.cayenne.ejbql.parser.EJBQLPath
All Implemented Interfaces:
Serializable, EJBQLExpression, Node
Direct Known Subclasses:
EJBQLDbPath

public class EJBQLPath
extends SimpleNode

Since:
3.0
See Also:
Serialized Form

Constructor Summary
EJBQLPath(int id)
           
 
Method Summary
 String getAbsolutePath()
           
 String getId()
           
 String getRelativePath()
           
protected  boolean visitChild(EJBQLExpressionVisitor visitor, int childIndex)
          Recursively visits a child at the specified index.
protected  boolean visitNode(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EJBQLPath

public EJBQLPath(int id)
Method Detail

getId

public String getId()

getRelativePath

public String getRelativePath()

getAbsolutePath

public String getAbsolutePath()

visitNode

protected boolean visitNode(EJBQLExpressionVisitor visitor)
Description copied from class: SimpleNode
Visits this node without recursion. Default implementation simply returns true. Subclasses override this method to call an appropriate visitor method.

Overrides:
visitNode in class SimpleNode

visitChild

protected boolean visitChild(EJBQLExpressionVisitor visitor,
                             int childIndex)
Description copied from class: SimpleNode
Recursively visits a child at the specified index. Subclasses override this method if they desire to implement callbacks after visiting each child.

Overrides:
visitChild in class SimpleNode


Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.