de.upb.hni.vmagic.declaration
Class GroupTemplate

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.GroupTemplate
All Implemented Interfaces:
BlockDeclarativeItem, DeclarativeItemMarker, EntityDeclarativeItem, PackageBodyDeclarativeItem, PackageDeclarativeItem, ProcessDeclarativeItem, SubprogramDeclarativeItem, NamedEntity

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

Group template.


Constructor Summary
GroupTemplate(java.lang.String identifier)
          Creates a group template.
 
Method Summary
 java.util.List<EntityClass> getEntityClasses()
          Returns the entity classes.
 java.lang.String getIdentifier()
          Returns the identifier of this group template.
 boolean isRepeatLast()
          Returns if the last entity class is repeated.
 void setIdentifier(java.lang.String identifier)
          Sets the identifier of this group template.
 void setRepeatLast(boolean repeatLast)
          Sets if the last entity class can be repeated.
 
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

GroupTemplate

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

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

getIdentifier

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

Specified by:
getIdentifier in interface NamedEntity
Returns:
the identifier

setIdentifier

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

Parameters:
identifier - the identifier

getEntityClasses

public java.util.List<EntityClass> getEntityClasses()
Returns the entity classes.

Returns:
a modifiable list of entity classes

isRepeatLast

public boolean isRepeatLast()
Returns if the last entity class is repeated.

Returns:
true, if the last entity class is repeated

setRepeatLast

public void setRepeatLast(boolean repeatLast)
Sets if the last entity class can be repeated.

Parameters:
repeatLast - true, if the last entity class can be repeated