com.ptc.windchill.upgrade.ius
Class DependencyGraphModel.Edge

java.lang.Object
  extended bycom.ptc.windchill.upgrade.ius.DependencyGraphModel.Edge
Direct Known Subclasses:
DependencyGraphModel.ExcludingEdge, DependencyGraphModel.RequiringEdge
Enclosing class:
DependencyGraphModel

private abstract class DependencyGraphModel.Edge
extends Object

Generic edge class.


Field Summary
private  DependencyGraphModel.Node fromNode_
           
private  DependencyGraphModel.Node toNode_
           
 
Constructor Summary
protected DependencyGraphModel.Edge(DependencyGraphModel.Node from_node, DependencyGraphModel.Node to_node)
          Create an edge directed from the from_node to the to_node.
 
Method Summary
abstract  String getArrowString()
          Should return a textual representation of the edge pointing from left-to-right.
 DependencyGraphModel.Node getPointedToNode()
          Gets the "to" node.
 DependencyGraphModel.Node getPointingNode()
          Gets the "from" node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fromNode_

private DependencyGraphModel.Node fromNode_

toNode_

private DependencyGraphModel.Node toNode_
Constructor Detail

DependencyGraphModel.Edge

protected DependencyGraphModel.Edge(DependencyGraphModel.Node from_node,
                                    DependencyGraphModel.Node to_node)
Create an edge directed from the from_node to the to_node. The edge is automatically added to the edge indices.

Method Detail

getPointingNode

public DependencyGraphModel.Node getPointingNode()
Gets the "from" node.


getPointedToNode

public DependencyGraphModel.Node getPointedToNode()
Gets the "to" node.


getArrowString

public abstract String getArrowString()
Should return a textual representation of the edge pointing from left-to-right.