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
- See Also:
StatementsPackage.getSwitch()
- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EList<SwitchCase>
getCases()
Returns the value of the 'Cases' containment reference list.Expression
getVariable()
Returns the value of the 'Variable' containment reference.void
setVariable(Expression value)
Sets the value of the 'Variable
' containment reference.-
Methods inherited from interface org.emftext.language.java.commons.Commentable
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
-
Methods inherited from interface org.emftext.language.java.expressions.Expression
getAlternativeType, getArrayDimension, getOneType, getOneTypeReference, getType
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
getCases
EList<SwitchCase> getCases()
Returns the value of the 'Cases' containment reference list. The list contents are of typeSwitchCase
.- Returns:
- the value of the 'Cases' containment reference list.
- See Also:
StatementsPackage.getSwitch_Cases()
- 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:
setVariable(Expression)
,StatementsPackage.getSwitch_Variable()
- 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:
getVariable()
- Generated class or method.
-
-