Interface Switch

All Superinterfaces:
AdditiveExpressionChild, AndExpressionChild, AnnotationValue, ArrayInitializationValue, AssignmentExpressionChild, Commentable, ConditionalAndExpressionChild, ConditionalExpressionChild, ConditionalOrExpressionChild, EObject, EqualityExpressionChild, ExclusiveOrExpressionChild, Expression, InclusiveOrExpressionChild, InstanceOfExpressionChild, LambdaBody, MultiplicativeExpressionChild, Notifier, RelationExpressionChild, ShiftExpressionChild, Statement, UnaryExpressionChild, UnaryModificationExpressionChild
All Known Implementing Classes:
SwitchImpl

public interface Switch extends Statement, UnaryModificationExpressionChild
A representation of the model object 'Switch'.

The following features are supported:

See Also:
Generated class or method.
EMF model class or method.
  • Method Details

    • getCases

      EList<SwitchCase> getCases()
      Returns the value of the 'Cases' containment reference list. The list contents are of type SwitchCase.
      Returns:
      the value of the 'Cases' containment reference list.
      See Also:
      Generated class or method.
      EMF model class or method.
      containment="true" resolveProxies="true"
    • getVariable

      Expression getVariable()
      Returns the value of the 'Variable' containment reference.
      Returns:
      the value of the 'Variable' containment reference.
      See Also:
      Generated class or method.
      EMF model class or method.
      containment="true" resolveProxies="true" required="true"
    • setVariable

      void setVariable(Expression value)
      Sets the value of the 'Variable' containment reference.
      Parameters:
      value - the new value of the 'Variable' containment reference.
      See Also:
      Generated class or method.