Interface IfStatement

All Superinterfaces:
ASTNode, org.eclipse.emf.cdo.CDOObject, org.eclipse.emf.cdo.common.id.CDOWithID, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, Statement
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()
  • Method Summary

    Modifier and Type Method Description
    Statement getElseStatement()
    Returns the value of the 'Else Statement' containment reference.
    Expression getExpression()
    Returns the value of the 'Expression' containment reference.
    Statement getThenStatement()
    Returns the value of the 'Then Statement' containment reference.
    void setElseStatement​(Statement value)
    Sets the value of the 'Else Statement' containment reference.
    void setExpression​(Expression value)
    Sets the value of the 'Expression' containment reference.
    void setThenStatement​(Statement value)
    Sets the value of the 'Then Statement' containment reference.

    Methods inherited from interface org.eclipse.emf.cdo.CDOObject

    cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption

    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