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

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

public static class AttributeSpecification.EntityNameList.EntityDesignator
extends VhdlElement

Entity designator.


Constructor Summary
AttributeSpecification.EntityNameList.EntityDesignator(java.lang.String entityTag)
          Creates a entity designator.
AttributeSpecification.EntityNameList.EntityDesignator(java.lang.String entityTag, Signature signature)
          Creates a entity designator with a signature.
 
Method Summary
 java.lang.String getEntityTag()
          Returns the tag.
 Signature getSignature()
          Returns the signature.
 void setEntityTag(java.lang.String entityTag)
          Sets the tag.
 void setSignature(Signature signature)
          Sets the signature.
 
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

AttributeSpecification.EntityNameList.EntityDesignator

public AttributeSpecification.EntityNameList.EntityDesignator(java.lang.String entityTag)
Creates a entity designator.

Parameters:
entityTag - the tag of the designator

AttributeSpecification.EntityNameList.EntityDesignator

public AttributeSpecification.EntityNameList.EntityDesignator(java.lang.String entityTag,
                                                              Signature signature)
Creates a entity designator with a signature.

Parameters:
entityTag - the tag
signature - the signature
Method Detail

getEntityTag

public java.lang.String getEntityTag()
Returns the tag.

Returns:
the tag

setEntityTag

public void setEntityTag(java.lang.String entityTag)
Sets the tag.

Parameters:
entityTag - the tag

getSignature

public Signature getSignature()
Returns the signature. The function returns null if this designator has no signature.

Returns:
the signature or null

setSignature

public void setSignature(Signature signature)
Sets the signature. Use null as the parameter to disable the signature.

Parameters:
signature - the signature or null