de.upb.hni.vmagic.declaration
Class Attribute

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

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

Attribute declaration.


Constructor Summary
Attribute(java.lang.String identifier, SubtypeIndication type)
          Creates a attribute declartion.
 
Method Summary
 java.lang.String getIdentifier()
          Returns the identifier of this attribtue.
 SubtypeIndication getType()
          Returns the type of this attribtue.
 void setIdentifier(java.lang.String identifier)
          Sets the identifier of this attribute.
 void setType(SubtypeIndication type)
          Sets the type of this attribtue.
 
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

Attribute

public Attribute(java.lang.String identifier,
                 SubtypeIndication type)
Creates a attribute declartion.

Parameters:
identifier - the identifer
type - the type of this attribtue
Method Detail

getIdentifier

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

Specified by:
getIdentifier in interface NamedEntity
Returns:
the identifier

setIdentifier

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

Parameters:
identifier - the identifier

getType

public SubtypeIndication getType()
Returns the type of this attribtue.

Returns:
the type

setType

public void setType(SubtypeIndication type)
Sets the type of this attribtue.

Parameters:
type - the type