de.upb.hni.vmagic.libraryunit
Class Architecture

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

public class Architecture
extends LibraryUnit
implements NamedEntity

Architecture body.


Constructor Summary
Architecture(java.lang.String identifier, Entity entity)
          Creates an architecture.
 
Method Summary
 java.util.List<BlockDeclarativeItem> getDeclarations()
          Returns the list of declarations in this architecture.
 Entity getEntity()
          Returns the entity that belogs to this architecture.
 java.lang.String getIdentifier()
          Returns the identifier of this architecture.
 Scope getScope()
          Returns the scope of this declarative region.
 java.util.List<ConcurrentStatement> getStatements()
          Returns the list of statements in this architecture.
 void setEntity(Entity entity)
          Sets the entity that belongs to this architecture.
 void setIdentifier(java.lang.String identifier)
          Sets the identifier of this architecture.
 
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

Architecture

public Architecture(java.lang.String identifier,
                    Entity entity)
Creates an architecture.

Parameters:
identifier - the architectures identifier
entity - the associated entity
Method Detail

getEntity

public Entity getEntity()
Returns the entity that belogs to this architecture.

Returns:
the entity

setEntity

public void setEntity(Entity entity)
Sets the entity that belongs to this architecture.

Parameters:
entity - the entity

getIdentifier

public java.lang.String getIdentifier()
Returns the identifier of this architecture.

Specified by:
getIdentifier in interface NamedEntity
Returns:
the identifier

setIdentifier

public void setIdentifier(java.lang.String identifier)
Sets the identifier of this architecture.

Parameters:
identifier - the identifier

getDeclarations

public java.util.List<BlockDeclarativeItem> getDeclarations()
Returns the list of declarations in this architecture.

Returns:
the list of declarations

getStatements

public java.util.List<ConcurrentStatement> getStatements()
Returns the list of statements in this architecture.

Returns:
the list of statements

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