Package org.eclipse.gmt.modisco.java
Interface ConditionalExpression
- All Superinterfaces:
ASTNode,org.eclipse.emf.ecore.EObject,Expression,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
ConditionalExpressionImpl
public interface ConditionalExpression extends Expression
A representation of the model object 'Conditional Expression'.
The following features are supported:
- See Also:
JavaPackage.getConditionalExpression()
-
Method Summary
Modifier and Type Method Description ExpressiongetElseExpression()Returns the value of the 'Else Expression' containment reference.ExpressiongetExpression()Returns the value of the 'Expression' containment reference.ExpressiongetThenExpression()Returns the value of the 'Then Expression' containment reference.voidsetElseExpression(Expression value)Sets the value of the 'Else Expression' containment reference.voidsetExpression(Expression value)Sets the value of the 'Expression' containment reference.voidsetThenExpression(Expression value)Sets the value of the 'Then Expression' containment reference.Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getElseExpression
Expression getElseExpression()Returns the value of the 'Else Expression' containment reference.- Returns:
- the value of the 'Else Expression' containment reference.
- See Also:
setElseExpression(Expression),JavaPackage.getConditionalExpression_ElseExpression()
-
setElseExpression
Sets the value of the 'Else Expression' containment reference.- Parameters:
value- the new value of the 'Else Expression' containment reference.- See Also:
getElseExpression()
-
getExpression
Expression getExpression()Returns the value of the 'Expression' containment reference.- Returns:
- the value of the 'Expression' containment reference.
- See Also:
setExpression(Expression),JavaPackage.getConditionalExpression_Expression()
-
setExpression
Sets the value of the 'Expression' containment reference.- Parameters:
value- the new value of the 'Expression' containment reference.- See Also:
getExpression()
-
getThenExpression
Expression getThenExpression()Returns the value of the 'Then Expression' containment reference.- Returns:
- the value of the 'Then Expression' containment reference.
- See Also:
setThenExpression(Expression),JavaPackage.getConditionalExpression_ThenExpression()
-
setThenExpression
Sets the value of the 'Then Expression' containment reference.- Parameters:
value- the new value of the 'Then Expression' containment reference.- See Also:
getThenExpression()
-