edu.byu.ece.edif.util.export.serialize
Class EdifPortNameReference

java.lang.Object
  extended by edu.byu.ece.edif.util.export.serialize.EdifGenericNameReference
      extended by edu.byu.ece.edif.util.export.serialize.EdifPortNameReference
All Implemented Interfaces:
java.io.Serializable

public class EdifPortNameReference
extends EdifGenericNameReference
implements java.io.Serializable

Represents a name reference to a real EdifPort

See Also:
Serialized Form

Field Summary
protected  EdifCellNameReference _cellReference
           
protected  java.lang.String _portName
           
protected static SerializationNameReferenceCache<EdifPort,EdifPortNameReference> _referenceCache
           
private static long serialVersionUID
           
 
Fields inherited from class edu.byu.ece.edif.util.export.serialize.EdifGenericNameReference
_shouldResolve
 
Constructor Summary
protected EdifPortNameReference(EdifPort port)
           
protected EdifPortNameReference(EdifPort port, boolean shouldResolve)
           
protected EdifPortNameReference(EdifPort port, boolean shouldResolve, boolean cacheReference)
           
 
Method Summary
static EdifPortNameReference getReference(EdifPort port)
           
static EdifPortNameReference getReference(EdifPort port, boolean shouldResolve)
           
 EdifPort getReferencedPort(EdifEnvironment referenceEnvironment)
           
 
Methods inherited from class edu.byu.ece.edif.util.export.serialize.EdifGenericNameReference
shouldResolve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

_referenceCache

protected static SerializationNameReferenceCache<EdifPort,EdifPortNameReference> _referenceCache

_portName

protected java.lang.String _portName

_cellReference

protected EdifCellNameReference _cellReference
Constructor Detail

EdifPortNameReference

protected EdifPortNameReference(EdifPort port)

EdifPortNameReference

protected EdifPortNameReference(EdifPort port,
                                boolean shouldResolve)

EdifPortNameReference

protected EdifPortNameReference(EdifPort port,
                                boolean shouldResolve,
                                boolean cacheReference)
Method Detail

getReference

public static EdifPortNameReference getReference(EdifPort port)

getReference

public static EdifPortNameReference getReference(EdifPort port,
                                                 boolean shouldResolve)

getReferencedPort

public EdifPort getReferencedPort(EdifEnvironment referenceEnvironment)
                           throws EdifDeserializationException
Throws:
EdifDeserializationException