de.upb.hni.vmagic
Class LibraryDeclarativeRegion

java.lang.Object
  extended by de.upb.hni.vmagic.VhdlElement
      extended by de.upb.hni.vmagic.LibraryDeclarativeRegion
All Implemented Interfaces:
DeclarativeRegion, NamedEntity

public class LibraryDeclarativeRegion
extends VhdlElement
implements DeclarativeRegion, NamedEntity

Library declarative region.


Constructor Summary
LibraryDeclarativeRegion(java.lang.String identifier)
          Creates a library declarative region.
 
Method Summary
 java.util.List<VhdlFile> getFiles()
          Returns a list of files included in this libray.
 java.lang.String getIdentifier()
          Returns the identifier of this library declarative region.
 Scope getScope()
          Returns the scope of this declarative region.
 void setIdentifier(java.lang.String identifier)
          Sets the identifier of this libraray declarative region.
 
Methods inherited from class de.upb.hni.vmagic.VhdlElement
getParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LibraryDeclarativeRegion

public LibraryDeclarativeRegion(java.lang.String identifier)
Creates a library declarative region.

Parameters:
identifier - the identifier of the library
Method Detail

getIdentifier

public java.lang.String getIdentifier()
Returns the identifier of this library declarative region.

Specified by:
getIdentifier in interface NamedEntity
Returns:
the identifier

setIdentifier

public void setIdentifier(java.lang.String identifier)
Sets the identifier of this libraray declarative region.

Parameters:
identifier - the identifier

getFiles

public java.util.List<VhdlFile> getFiles()
Returns a list of files included in this libray.

Returns:
a modifiable list of files

getScope

public Scope getScope()
Description copied from interface: DeclarativeRegion
Returns the scope of this declarative region.

Specified by:
getScope in interface DeclarativeRegion
Returns:
the scope