org.eigenbase.lurql
Class LurqlPlanFollowEdge

java.lang.Object
  extended by org.jgrapht.graph.DefaultEdge
      extended by org.eigenbase.lurql.LurqlPlanEdge
          extended by org.eigenbase.lurql.LurqlPlanFollowEdge
All Implemented Interfaces:
Serializable, Cloneable

public class LurqlPlanFollowEdge
extends LurqlPlanEdge

LurqlPlanEdge is a follow edge in a LURQL plan graph.

Version:
$Id: //open/dev/farrago/src/org/eigenbase/lurql/LurqlPlanFollowEdge.java#1 $
Author:
John V. Sichi
See Also:
Serialized Form

Field Summary
private  JmiAssocEdge assocEdge
          The model edge representing the association to be traversed.
private  JmiClassVertex destinationTypeFilter
          If non-null, traverse to only those destination objects which instantiate the given class.
private  int iOriginEnd
          The end number (0 or 1) of the origin of the traversal.
 
Fields inherited from class org.eigenbase.lurql.LurqlPlanEdge
stringRep
 
Constructor Summary
LurqlPlanFollowEdge(LurqlPlanVertex source, LurqlPlanVertex target, JmiAssocEdge assocEdge, int iOriginEnd, JmiClassVertex destinationTypeFilter)
           
 
Method Summary
 Object clone()
           
 JmiAssocEdge getAssocEdge()
           
 AssociationEnd getDestinationEnd()
           
 JmiClassVertex getDestinationTypeFilter()
           
 AssociationEnd getOriginEnd()
           
 
Methods inherited from class org.eigenbase.lurql.LurqlPlanEdge
equals, getPlanSource, getPlanTarget, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

assocEdge

private final JmiAssocEdge assocEdge
The model edge representing the association to be traversed.


iOriginEnd

private final int iOriginEnd
The end number (0 or 1) of the origin of the traversal.


destinationTypeFilter

private final JmiClassVertex destinationTypeFilter
If non-null, traverse to only those destination objects which instantiate the given class.

Constructor Detail

LurqlPlanFollowEdge

LurqlPlanFollowEdge(LurqlPlanVertex source,
                    LurqlPlanVertex target,
                    JmiAssocEdge assocEdge,
                    int iOriginEnd,
                    JmiClassVertex destinationTypeFilter)
Method Detail

getAssocEdge

public JmiAssocEdge getAssocEdge()

getDestinationTypeFilter

public JmiClassVertex getDestinationTypeFilter()

getOriginEnd

public AssociationEnd getOriginEnd()

getDestinationEnd

public AssociationEnd getDestinationEnd()

clone

public Object clone()
Overrides:
clone in class Object