edu.byu.ece.edif.util.graph
Class SourceEPREdge

java.lang.Object
  extended by edu.byu.ece.graph.BasicEdge
      extended by edu.byu.ece.edif.util.graph.SourceEPREdge
All Implemented Interfaces:
EdifPortRefEdge, Edge, java.io.Serializable

 class SourceEPREdge
extends BasicEdge
implements EdifPortRefEdge

Allows sink object to be different from sink EPR.


Field Summary
protected  EdifPortRef _sinkEPR
           
 
Constructor Summary
SourceEPREdge(EdifPortRef sourceEPR, EdifPortRef sinkEPR)
           
SourceEPREdge(EdifPortRef sourceEPR, java.lang.Object sink, EdifPortRef sinkEPR)
           
 
Method Summary
 EdifNet getNet()
           
 EdifPortRef getSinkEPR()
           
 EdifPortRef getSourceEPR()
           
 
Methods inherited from class edu.byu.ece.graph.BasicEdge
getSink, getSource, invert, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.byu.ece.graph.Edge
getSink, getSource, invert
 

Field Detail

_sinkEPR

protected EdifPortRef _sinkEPR
Constructor Detail

SourceEPREdge

public SourceEPREdge(EdifPortRef sourceEPR,
                     EdifPortRef sinkEPR)

SourceEPREdge

public SourceEPREdge(EdifPortRef sourceEPR,
                     java.lang.Object sink,
                     EdifPortRef sinkEPR)
Method Detail

getSinkEPR

public EdifPortRef getSinkEPR()
Specified by:
getSinkEPR in interface EdifPortRefEdge
Returns:
The EdifPortRef associated with the "sink" of this edge.

getSourceEPR

public EdifPortRef getSourceEPR()
Specified by:
getSourceEPR in interface EdifPortRefEdge
Returns:
The EdifPortRef associated with the "source" of this edge.

getNet

public EdifNet getNet()
Specified by:
getNet in interface EdifPortRefEdge