org.tranql.ql
Class Path

java.lang.Object
  extended by org.tranql.ql.AbstractNode
      extended by org.tranql.ql.Path
All Implemented Interfaces:
java.io.Serializable, Node

public class Path
extends AbstractNode

This node represents a navigation in the object graph. a.b.c.d

Version:
$Revision: 233 $ $Date: 2005-08-20 05:48:40 +0200 (Sat, 20 Aug 2005) $
See Also:
Serialized Form

Constructor Summary
Path(AliasedEntity root, java.util.List path)
           
 
Method Summary
 java.lang.Object getEnd()
           
 AssociationEnd getEndAssociationEnd()
           
 Attribute getEndAttribute()
           
 java.util.List getPath()
           
 AliasedEntity getRoot()
           
 boolean isEndAssociationEnd()
           
 boolean isEndAttribute()
           
 java.lang.Object visit(QueryVisitor visitor, java.lang.Object param)
           
 
Methods inherited from class org.tranql.ql.AbstractNode
addChild, getChild, getSibling, isOnlyChild, setSibling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Path

public Path(AliasedEntity root,
            java.util.List path)
Method Detail

getRoot

public AliasedEntity getRoot()

getPath

public java.util.List getPath()

isEndAttribute

public boolean isEndAttribute()

isEndAssociationEnd

public boolean isEndAssociationEnd()

getEnd

public java.lang.Object getEnd()

getEndAttribute

public Attribute getEndAttribute()

getEndAssociationEnd

public AssociationEnd getEndAssociationEnd()

visit

public java.lang.Object visit(QueryVisitor visitor,
                              java.lang.Object param)
                       throws QueryException
Throws:
QueryException


Copyright © -2010 The Codehaus. All Rights Reserved.