- 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
A representation of the model object '
Switch'.
The following features are supported:
- See Also:
-
- Generated class or method.
- EMF model class or method.
-
Method Summary
Returns the value of the 'Cases' containment reference list.
Returns the value of the 'Variable' containment reference.
void
Sets the value of the '
Variable
' containment reference.
addAfterContainingStatement, addBeforeContainingStatement, getAnnotationInterface, getChildrenByEType, getChildrenByType, getClassClass, getConcreteClassifier, getConcreteClassifiers, getContainingAnnotationInstance, getContainingAnonymousClass, getContainingCompilationUnit, getContainingConcreteClassifier, getContainingContainerName, getContainingPackageName, getFirstChildByEType, getFirstChildByType, getLayoutInformations, getLibClass, getLibInterface, getObjectClass, getParentByEType, getParentByType, getParentConcreteClassifier, getStringClass
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Method Details
-
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
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
Sets the value of the '
Variable
' containment reference.
- Parameters:
value
- the new value of the 'Variable' containment reference.
- See Also:
-
- Generated class or method.