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

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

public class EdifLibraryNameReference
extends EdifGenericNameReference
implements java.io.Serializable

Represents a name reference to a real EdifLibrary

See Also:
Serialized Form

Field Summary
protected  java.lang.String _libraryName
           
protected static SerializationNameReferenceCache<EdifLibrary,EdifLibraryNameReference> _referenceCache
           
private static long serialVersionUID
           
 
Fields inherited from class edu.byu.ece.edif.util.export.serialize.EdifGenericNameReference
_shouldResolve
 
Constructor Summary
protected EdifLibraryNameReference(EdifLibrary lib)
           
protected EdifLibraryNameReference(EdifLibrary lib, boolean shouldResolve)
           
protected EdifLibraryNameReference(EdifLibrary lib, boolean shouldResolve, boolean cacheReference)
           
 
Method Summary
static EdifLibraryNameReference getReference(EdifLibrary lib)
           
static EdifLibraryNameReference getReference(EdifLibrary lib, boolean shouldResolve)
           
 EdifLibrary getReferencedLibrary(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

_referenceCache

protected static SerializationNameReferenceCache<EdifLibrary,EdifLibraryNameReference> _referenceCache

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

_libraryName

protected java.lang.String _libraryName
Constructor Detail

EdifLibraryNameReference

protected EdifLibraryNameReference(EdifLibrary lib)

EdifLibraryNameReference

protected EdifLibraryNameReference(EdifLibrary lib,
                                   boolean shouldResolve)

EdifLibraryNameReference

protected EdifLibraryNameReference(EdifLibrary lib,
                                   boolean shouldResolve,
                                   boolean cacheReference)
Method Detail

getReference

public static EdifLibraryNameReference getReference(EdifLibrary lib)

getReference

public static EdifLibraryNameReference getReference(EdifLibrary lib,
                                                    boolean shouldResolve)

getReferencedLibrary

public EdifLibrary getReferencedLibrary(EdifEnvironment referenceEnvironment)
                                 throws EdifDeserializationException
Throws:
EdifDeserializationException