Package org.eclipse.xtext.xbase
Interface XIfExpression
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier,XExpression
- All Known Implementing Classes:
XIfExpressionImpl
public interface XIfExpression extends XExpression
A representation of the model object 'XIf Expression'.- Since:
- 2.7
- See Also:
XbasePackage.getXIfExpression()- 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 XExpressiongetElse()Returns the value of the 'Else' containment reference.XExpressiongetIf()Returns the value of the 'If' containment reference.XExpressiongetThen()Returns the value of the 'Then' containment reference.booleanisConditionalExpression()Returns the value of the 'Conditional Expression' attribute.voidsetConditionalExpression(boolean value)Sets the value of the 'Conditional Expression' attribute.voidsetElse(XExpression value)Sets the value of the 'Else' containment reference.voidsetIf(XExpression value)Sets the value of the 'If' containment reference.voidsetThen(XExpression value)Sets the value of the 'Then' containment reference.
-
-
-
Method Detail
-
getIf
XExpression getIf()
Returns the value of the 'If' containment reference.- Returns:
- the value of the 'If' containment reference.
- See Also:
setIf(XExpression),XbasePackage.getXIfExpression_If()- Model:
- containment="true"
- Generated:
-
setIf
void setIf(XExpression value)
Sets the value of the 'If' containment reference.- Parameters:
value- the new value of the 'If' containment reference.- See Also:
getIf()- 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.getXIfExpression_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:
-
getElse
XExpression getElse()
Returns the value of the 'Else' containment reference.- Returns:
- the value of the 'Else' containment reference.
- See Also:
setElse(XExpression),XbasePackage.getXIfExpression_Else()- Model:
- containment="true"
- Generated:
-
setElse
void setElse(XExpression value)
Sets the value of the 'Else' containment reference.- Parameters:
value- the new value of the 'Else' containment reference.- See Also:
getElse()- Generated:
-
isConditionalExpression
boolean isConditionalExpression()
Returns the value of the 'Conditional Expression' attribute.- Returns:
- the value of the 'Conditional Expression' attribute.
- Since:
- 2.18
- See Also:
setConditionalExpression(boolean),XbasePackage.getXIfExpression_ConditionalExpression()- Model:
- Generated:
-
setConditionalExpression
void setConditionalExpression(boolean value)
Sets the value of the 'Conditional Expression' attribute.- Parameters:
value- the new value of the 'Conditional Expression' attribute.- Since:
- 2.18
- See Also:
isConditionalExpression()- Generated:
-
-