Package org.eclipse.gmt.modisco.java
Interface IfStatement
- All Superinterfaces:
ASTNode,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject,Iterable<fr.inria.atlanmod.neoemf.core.PersistentEObject>,org.eclipse.emf.common.notify.Notifier,fr.inria.atlanmod.neoemf.core.PersistentEObject,Statement,fr.inria.atlanmod.neoemf.data.store.Storable
- All Known Implementing Classes:
IfStatementImpl
public interface IfStatement extends Statement
A representation of the model object 'If Statement'.
The following features are supported:
- See Also:
JavaPackage.getIfStatement()
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Method Summary
Modifier and Type Method Description StatementgetElseStatement()Returns the value of the 'Else Statement' containment reference.ExpressiongetExpression()Returns the value of the 'Expression' containment reference.StatementgetThenStatement()Returns the value of the 'Then Statement' containment reference.voidsetElseStatement(Statement value)Sets the value of the 'Else Statement' containment reference.voidsetExpression(Expression value)Sets the value of the 'Expression' containment reference.voidsetThenStatement(Statement value)Sets the value of the 'Then Statement' 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.ecore.InternalEObject
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainerFeatureID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSet, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegmentMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface fr.inria.atlanmod.neoemf.core.PersistentEObject
eInternalContainer, id, id, iterator, resource, resourceMethods inherited from interface fr.inria.atlanmod.neoemf.data.store.Storable
eStore
-
Method Details
-
getExpression
Expression getExpression()Returns the value of the 'Expression' containment reference.- Returns:
- the value of the 'Expression' containment reference.
- See Also:
setExpression(Expression),JavaPackage.getIfStatement_Expression()
-
setExpression
Sets the value of the 'Expression' containment reference.- Parameters:
value- the new value of the 'Expression' containment reference.- See Also:
getExpression()
-
getThenStatement
Statement getThenStatement()Returns the value of the 'Then Statement' containment reference.- Returns:
- the value of the 'Then Statement' containment reference.
- See Also:
setThenStatement(Statement),JavaPackage.getIfStatement_ThenStatement()
-
setThenStatement
Sets the value of the 'Then Statement' containment reference.- Parameters:
value- the new value of the 'Then Statement' containment reference.- See Also:
getThenStatement()
-
getElseStatement
Statement getElseStatement()Returns the value of the 'Else Statement' containment reference.- Returns:
- the value of the 'Else Statement' containment reference.
- See Also:
setElseStatement(Statement),JavaPackage.getIfStatement_ElseStatement()
-
setElseStatement
Sets the value of the 'Else Statement' containment reference.- Parameters:
value- the new value of the 'Else Statement' containment reference.- See Also:
getElseStatement()
-