de.upb.hni.vmagic
Class AssociationElement

java.lang.Object
  extended by de.upb.hni.vmagic.VhdlElement
      extended by de.upb.hni.vmagic.AssociationElement

public class AssociationElement
extends VhdlElement

Association element.


Constructor Summary
AssociationElement(Expression actual)
          Creates an association element without a formal part.
AssociationElement(java.lang.String formal, Expression actual)
          Creates an association element with a formal and actual part.
 
Method Summary
 Expression getActual()
          Return the actual part of this association.
 java.lang.String getFormal()
          Returns the formal part of this association.
 void setActual(Expression actual)
          Sets the actual part of this association.
 void setFormal(java.lang.String formal)
          Sets the formal part of this association.
 
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

AssociationElement

public AssociationElement(Expression actual)
Creates an association element without a formal part.

Parameters:
actual - the actual part

AssociationElement

public AssociationElement(java.lang.String formal,
                          Expression actual)
Creates an association element with a formal and actual part.

Parameters:
formal - the formal part
actual - the actual part
Method Detail

getActual

public Expression getActual()
Return the actual part of this association.

Returns:
the actual part

setActual

public void setActual(Expression actual)
Sets the actual part of this association.

Parameters:
actual - the actual part

getFormal

public java.lang.String getFormal()
Returns the formal part of this association.

Returns:
the formal part

setFormal

public void setFormal(java.lang.String formal)
Sets the formal part of this association.

Parameters:
formal - the formal part