Package org.eclipse.xtext.xbase
Interface XSwitchExpression
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier,XExpression
- All Known Implementing Classes:
XSwitchExpressionImpl
public interface XSwitchExpression extends XExpression
A representation of the model object 'XSwitch Expression'.- Since:
- 2.7
- See Also:
XbasePackage.getXSwitchExpression()- Noextend:
- This interface is not intended to be extended by clients.
- Noimplement:
- This interface is not intended to be implemented by clients.
The following features are supported:
- Model:
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.common.util.EList<XCasePart>getCases()Returns the value of the 'Cases' containment reference list.org.eclipse.xtext.common.types.JvmFormalParametergetDeclaredParam()Returns the value of the 'Declared Param' containment reference.XExpressiongetDefault()Returns the value of the 'Default' containment reference.XExpressiongetSwitch()Returns the value of the 'Switch' containment reference.voidsetDeclaredParam(org.eclipse.xtext.common.types.JvmFormalParameter value)Sets the value of the 'Declared Param' containment reference.voidsetDefault(XExpression value)Sets the value of the 'Default' containment reference.voidsetSwitch(XExpression value)Sets the value of the 'Switch' containment reference.
-
-
-
Method Detail
-
getSwitch
XExpression getSwitch()
Returns the value of the 'Switch' containment reference.- Returns:
- the value of the 'Switch' containment reference.
- See Also:
setSwitch(XExpression),XbasePackage.getXSwitchExpression_Switch()- Model:
- containment="true"
- Generated:
-
setSwitch
void setSwitch(XExpression value)
Sets the value of the 'Switch' containment reference.- Parameters:
value- the new value of the 'Switch' containment reference.- See Also:
getSwitch()- Generated:
-
getCases
org.eclipse.emf.common.util.EList<XCasePart> getCases()
Returns the value of the 'Cases' containment reference list. The list contents are of typeXCasePart.- Returns:
- the value of the 'Cases' containment reference list.
- See Also:
XbasePackage.getXSwitchExpression_Cases()- Model:
- containment="true"
- Generated:
-
getDefault
XExpression getDefault()
Returns the value of the 'Default' containment reference.- Returns:
- the value of the 'Default' containment reference.
- See Also:
setDefault(XExpression),XbasePackage.getXSwitchExpression_Default()- Model:
- containment="true"
- Generated:
-
setDefault
void setDefault(XExpression value)
Sets the value of the 'Default' containment reference.- Parameters:
value- the new value of the 'Default' containment reference.- See Also:
getDefault()- Generated:
-
getDeclaredParam
org.eclipse.xtext.common.types.JvmFormalParameter getDeclaredParam()
Returns the value of the 'Declared Param' containment reference.- Returns:
- the value of the 'Declared Param' containment reference.
- See Also:
setDeclaredParam(JvmFormalParameter),XbasePackage.getXSwitchExpression_DeclaredParam()- Model:
- containment="true"
- Generated:
-
setDeclaredParam
void setDeclaredParam(org.eclipse.xtext.common.types.JvmFormalParameter value)
Sets the value of the 'Declared Param' containment reference.- Parameters:
value- the new value of the 'Declared Param' containment reference.- See Also:
getDeclaredParam()- Generated:
-
-