de.upb.hni.vmagic.declaration
Class AttributeSpecification.EntityNameList

java.lang.Object
  extended by de.upb.hni.vmagic.VhdlElement
      extended by de.upb.hni.vmagic.declaration.AttributeSpecification.EntityNameList
Enclosing class:
AttributeSpecification

public static class AttributeSpecification.EntityNameList
extends VhdlElement

Entity name list.


Nested Class Summary
static class AttributeSpecification.EntityNameList.EntityDesignator
          Entity designator.
 
Field Summary
static AttributeSpecification.EntityNameList ALL
          ALL
static AttributeSpecification.EntityNameList OTHERS
          OTHERS.
 
Constructor Summary
AttributeSpecification.EntityNameList()
          Creates an empty entity name list.
AttributeSpecification.EntityNameList(AttributeSpecification.EntityNameList.EntityDesignator... designators)
          Creates a entity name list.
AttributeSpecification.EntityNameList(java.util.List<AttributeSpecification.EntityNameList.EntityDesignator> designators)
          Creates a entity name list.
 
Method Summary
 AttributeSpecification.EntityNameList.EntityDesignator createDesignator(java.lang.String entityTag)
          Creates a entity designator and adds it to this entity name list.
 AttributeSpecification.EntityNameList.EntityDesignator createDesignator(java.lang.String entityTag, Signature signature)
          Creates a entity designator with a signature and adds it to this entity name list.
 java.util.List<AttributeSpecification.EntityNameList.EntityDesignator> getDesignators()
          Returns the list of designators in this entity name list.
 
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
 

Field Detail

OTHERS

public static final AttributeSpecification.EntityNameList OTHERS
OTHERS.


ALL

public static final AttributeSpecification.EntityNameList ALL
ALL

Constructor Detail

AttributeSpecification.EntityNameList

public AttributeSpecification.EntityNameList()
Creates an empty entity name list.


AttributeSpecification.EntityNameList

public AttributeSpecification.EntityNameList(java.util.List<AttributeSpecification.EntityNameList.EntityDesignator> designators)
Creates a entity name list.

Parameters:
designators - a list of designators used to initialize the entity name list

AttributeSpecification.EntityNameList

public AttributeSpecification.EntityNameList(AttributeSpecification.EntityNameList.EntityDesignator... designators)
Creates a entity name list.

Parameters:
designators - a list of designators used to initialize the entity name list
Method Detail

getDesignators

public java.util.List<AttributeSpecification.EntityNameList.EntityDesignator> getDesignators()
Returns the list of designators in this entity name list. The method returns null if there is no list of designators for this type of entity name list.

Returns:
a list of designators or null

createDesignator

public AttributeSpecification.EntityNameList.EntityDesignator createDesignator(java.lang.String entityTag)
Creates a entity designator and adds it to this entity name list.

Parameters:
entityTag - the tag of the designator
Returns:
the created entity designator

createDesignator

public AttributeSpecification.EntityNameList.EntityDesignator createDesignator(java.lang.String entityTag,
                                                                               Signature signature)
Creates a entity designator with a signature and adds it to this entity name list.

Parameters:
entityTag - the tag of the designator
signature - the signature of the designator
Returns:
the created designator