de.upb.hni.vmagic.expression
Class Aggregate.ElementAssociation

java.lang.Object
  extended by de.upb.hni.vmagic.VhdlElement
      extended by de.upb.hni.vmagic.expression.Aggregate.ElementAssociation
Enclosing class:
Aggregate

public static class Aggregate.ElementAssociation
extends VhdlElement

An ElementAssociation associates choices with and expression.


Method Summary
 java.util.List<Choice> getChoices()
          Returns the list of choices.
 Expression getExpression()
          Returns the associated expression.
 void setExpression(Expression expression)
          Sets the associated expression.
 
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
 

Method Detail

getChoices

public java.util.List<Choice> getChoices()
Returns the list of choices. A positional element association returns an empty list.

Returns:
the list of choices

getExpression

public Expression getExpression()
Returns the associated expression.

Returns:
the associated expression

setExpression

public void setExpression(Expression expression)
Sets the associated expression.

Parameters:
expression - the associated expression