de.upb.hni.vmagic.declaration
Class Group

java.lang.Object
  extended by de.upb.hni.vmagic.VhdlElement
      extended by de.upb.hni.vmagic.declaration.DeclarativeItem
          extended by de.upb.hni.vmagic.declaration.Group
All Implemented Interfaces:
BlockDeclarativeItem, ConfigurationDeclarativeItem, DeclarativeItemMarker, EntityDeclarativeItem, PackageBodyDeclarativeItem, PackageDeclarativeItem, ProcessDeclarativeItem, SubprogramDeclarativeItem, NamedEntity

public class Group
extends DeclarativeItem
implements BlockDeclarativeItem, ConfigurationDeclarativeItem, EntityDeclarativeItem, PackageBodyDeclarativeItem, PackageDeclarativeItem, ProcessDeclarativeItem, SubprogramDeclarativeItem, NamedEntity

Group declaration.


Constructor Summary
Group(java.lang.String identifier, GroupTemplate template)
          Creates a group declaration.
 
Method Summary
 java.util.List<java.lang.String> getConstituents()
          Returns the constituents.
 java.lang.String getIdentifier()
          Returns the identifier of this group.
 GroupTemplate getTemplate()
          Returns the group template.
 void setIdentifier(java.lang.String identifier)
          Sets the identifier of this group.
 void setTemplate(GroupTemplate template)
          Sets the group template.
 
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

Group

public Group(java.lang.String identifier,
             GroupTemplate template)
Creates a group declaration.

Parameters:
identifier - the identifier
template - the group template
Method Detail

getIdentifier

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

Specified by:
getIdentifier in interface NamedEntity
Returns:
the identifier

setIdentifier

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

Parameters:
identifier - the identifier

getTemplate

public GroupTemplate getTemplate()
Returns the group template.

Returns:
the template

setTemplate

public void setTemplate(GroupTemplate template)
Sets the group template.

Parameters:
template - the template

getConstituents

public java.util.List<java.lang.String> getConstituents()
Returns the constituents.

Returns:
a modifiable list of constituents