de.upb.hni.vmagic.declaration
Class Subtype

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

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

Subtype declaration.


Constructor Summary
Subtype(java.lang.String identifier, SubtypeIndication subtypeIndication)
          Creates a subtype declaration.
 
Method Summary
 java.lang.String getIdentifier()
          Returns the identifier of this subtye.
 SubtypeIndication getSubtypeIndication()
          Return the subtype indication.
 void setIdentifier(java.lang.String identifier)
          Sets the identifier of this subtype.
 void setSubtypeIndication(SubtypeIndication subtypeIndication)
          Sets the subtype indication.
 
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

Subtype

public Subtype(java.lang.String identifier,
               SubtypeIndication subtypeIndication)
Creates a subtype declaration.

Parameters:
identifier - the identifier of this subtype declaration
subtypeIndication - the subtype indication
Method Detail

getIdentifier

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

Specified by:
getIdentifier in interface NamedEntity
Returns:
the identifier

setIdentifier

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

Parameters:
identifier - the identifier

getSubtypeIndication

public SubtypeIndication getSubtypeIndication()
Return the subtype indication.

Returns:
the subtype indication

setSubtypeIndication

public void setSubtypeIndication(SubtypeIndication subtypeIndication)
Sets the subtype indication.

Parameters:
subtypeIndication - the subtype indication