Package org.eclipse.xtext.xbase
Interface XCasePart
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
XCasePartImpl,XCasePartImplCustom
public interface XCasePart extends org.eclipse.emf.ecore.EObjectA representation of the model object 'XCase Part'.- Since:
- 2.7
- See Also:
XbasePackage.getXCasePart()- 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 XExpressiongetCase()Returns the value of the 'Case' containment reference.XExpressiongetThen()Returns the value of the 'Then' containment reference.org.eclipse.xtext.common.types.JvmTypeReferencegetTypeGuard()Returns the value of the 'Type Guard' containment reference.booleanisFallThrough()Returns the value of the 'Fall Through' attribute.voidsetCase(XExpression value)Sets the value of the 'Case' containment reference.voidsetFallThrough(boolean value)Sets the value of the 'Fall Through' attribute.voidsetThen(XExpression value)Sets the value of the 'Then' containment reference.voidsetTypeGuard(org.eclipse.xtext.common.types.JvmTypeReference value)Sets the value of the 'Type Guard' containment reference.
-
-
-
Method Detail
-
getCase
XExpression getCase()
Returns the value of the 'Case' containment reference.- Returns:
- the value of the 'Case' containment reference.
- See Also:
setCase(XExpression),XbasePackage.getXCasePart_Case()- Model:
- containment="true"
- Generated:
-
setCase
void setCase(XExpression value)
Sets the value of the 'Case' containment reference.- Parameters:
value- the new value of the 'Case' containment reference.- See Also:
getCase()- Generated:
-
getThen
XExpression getThen()
Returns the value of the 'Then' containment reference.- Returns:
- the value of the 'Then' containment reference.
- See Also:
setThen(XExpression),XbasePackage.getXCasePart_Then()- Model:
- containment="true"
- Generated:
-
setThen
void setThen(XExpression value)
Sets the value of the 'Then' containment reference.- Parameters:
value- the new value of the 'Then' containment reference.- See Also:
getThen()- Generated:
-
getTypeGuard
org.eclipse.xtext.common.types.JvmTypeReference getTypeGuard()
Returns the value of the 'Type Guard' containment reference.- Returns:
- the value of the 'Type Guard' containment reference.
- See Also:
setTypeGuard(JvmTypeReference),XbasePackage.getXCasePart_TypeGuard()- Model:
- containment="true"
- Generated:
-
setTypeGuard
void setTypeGuard(org.eclipse.xtext.common.types.JvmTypeReference value)
Sets the value of the 'Type Guard' containment reference.- Parameters:
value- the new value of the 'Type Guard' containment reference.- See Also:
getTypeGuard()- Generated:
-
isFallThrough
boolean isFallThrough()
Returns the value of the 'Fall Through' attribute.- Returns:
- the value of the 'Fall Through' attribute.
- See Also:
setFallThrough(boolean),XbasePackage.getXCasePart_FallThrough()- Model:
- Generated:
-
setFallThrough
void setFallThrough(boolean value)
Sets the value of the 'Fall Through' attribute.- Parameters:
value- the new value of the 'Fall Through' attribute.- See Also:
isFallThrough()- Generated:
-
-