edu.byu.ece.edif.tools.replicate.wiring
Class PortConnection

java.lang.Object
  extended by edu.byu.ece.edif.tools.replicate.wiring.PortConnection
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
MultiPortConnection, SinglePortConnection

public abstract class PortConnection
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  EdifNameable _name
           
 
Constructor Summary
PortConnection()
           
PortConnection(EdifNameable name)
           
 
Method Summary
abstract  void connectToNet(EdifNet net)
          Wire the connection to the given net.
 EdifNameable getName()
          Get the name associated with the PortConnection or null if there is no name
 void setName(EdifNameable name)
          Associate a name with the PortConnection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_name

protected EdifNameable _name
Constructor Detail

PortConnection

public PortConnection()

PortConnection

public PortConnection(EdifNameable name)
Method Detail

connectToNet

public abstract void connectToNet(EdifNet net)
Wire the connection to the given net.

Parameters:
net -

getName

public EdifNameable getName()
Get the name associated with the PortConnection or null if there is no name

Returns:

setName

public void setName(EdifNameable name)
Associate a name with the PortConnection.

Parameters:
name -