de.upb.hni.vmagic
Class SubtypeDiscreteRange

java.lang.Object
  extended by de.upb.hni.vmagic.VhdlElement
      extended by de.upb.hni.vmagic.SubtypeDiscreteRange
All Implemented Interfaces:
Choice, DiscreteRange

public class SubtypeDiscreteRange
extends VhdlElement
implements DiscreteRange

Wrapper to use a subtype indication as discrete range.


Constructor Summary
SubtypeDiscreteRange(SubtypeIndication subtypeIndication)
          Creates a discrete range subtype indication wrapper.
 
Method Summary
 SubtypeIndication getSubtypeIndication()
          Returns the wrapped subtype indication.
 void setSubtypeIndication(SubtypeIndication subtypeIndication)
          Sets the wrapped 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

SubtypeDiscreteRange

public SubtypeDiscreteRange(SubtypeIndication subtypeIndication)
Creates a discrete range subtype indication wrapper.

Parameters:
subtypeIndication - the wrapped subtype indication
Method Detail

getSubtypeIndication

public SubtypeIndication getSubtypeIndication()
Returns the wrapped subtype indication.

Returns:
the subtype indication

setSubtypeIndication

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

Parameters:
subtypeIndication - the subtype indication