org.eclipse.xtext.xbase
Interface XSwitchExpression

All Superinterfaces:
org.eclipse.emf.ecore.EObject, JvmIdentifiableElement, org.eclipse.emf.common.notify.Notifier, XExpression
All Known Implementing Classes:
XSwitchExpressionImpl, XSwitchExpressionImplCustom

public interface XSwitchExpression
extends XExpression, JvmIdentifiableElement

A representation of the model object 'XSwitch Expression'.

The following features are supported:

See Also:
XbasePackage.getXSwitchExpression()
EMF generated code
EMF model element

Method Summary
 org.eclipse.emf.common.util.EList<XCasePart> getCases()
          Returns the value of the 'Cases' containment reference list.
 XExpression getDefault()
          Returns the value of the 'Default' containment reference
 java.lang.String getLocalVarName()
          Returns the value of the 'Local Var Name' attribute
 XExpression getSwitch()
          Returns the value of the 'Switch' containment reference
 void setDefault(XExpression value)
          Sets the value of the 'Default' containment reference
 void setLocalVarName(java.lang.String value)
          Sets the value of the 'Local Var Name' attribute
 void setSwitch(XExpression value)
          Sets the value of the 'Switch' containment reference
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmIdentifiableElement
getIdentifier, getQualifiedName, getQualifiedName, getSimpleName
 
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.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getSwitch

XExpression getSwitch()
Returns the value of the 'Switch' containment reference.

If the meaning of the 'Switch' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Switch' containment reference.
See Also:
setSwitch(XExpression), XbasePackage.getXSwitchExpression_Switch()
EMF generated code
EMF model element
containment="true"

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()
EMF generated code

getCases

org.eclipse.emf.common.util.EList<XCasePart> getCases()
Returns the value of the 'Cases' containment reference list. The list contents are of type XCasePart.

If the meaning of the 'Cases' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Cases' containment reference list.
See Also:
XbasePackage.getXSwitchExpression_Cases()
EMF generated code
EMF model element
containment="true"

getDefault

XExpression getDefault()
Returns the value of the 'Default' containment reference.

If the meaning of the 'Default' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Default' containment reference.
See Also:
setDefault(XExpression), XbasePackage.getXSwitchExpression_Default()
EMF generated code
EMF model element
containment="true"

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()
EMF generated code

getLocalVarName

java.lang.String getLocalVarName()
Returns the value of the 'Local Var Name' attribute.

If the meaning of the 'Local Var Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Local Var Name' attribute.
See Also:
setLocalVarName(String), XbasePackage.getXSwitchExpression_LocalVarName()
EMF generated code
EMF model element

setLocalVarName

void setLocalVarName(java.lang.String value)
Sets the value of the 'Local Var Name' attribute.

Parameters:
value - the new value of the 'Local Var Name' attribute.
See Also:
getLocalVarName()
EMF generated code