org.eclipse.mofscript.MOFScriptModel
Interface IfStatement

All Superinterfaces:
org.eclipse.emf.ecore.EObject, MOFScriptObject, MOFScriptStatement, MOFScriptStatementOwner, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
IfStatementImpl

public interface IfStatement
extends MOFScriptStatement

A representation of the model object 'If Statement'.

The following features are supported:

See Also:
MOFScriptModelPackage.getIfStatement()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 org.eclipse.emf.common.util.EList<IfStatement> getElseBranch()
          Returns the value of the 'Else Branch' containment reference list.
 Expression getIfExpression()
          Returns the value of the 'If Expression' containment reference
 void setIfExpression(Expression value)
          Sets the value of the 'If Expression' containment reference
 
Methods inherited from interface org.eclipse.mofscript.MOFScriptModel.MOFScriptStatement
getOwner, setOwner
 
Methods inherited from interface org.eclipse.mofscript.MOFScriptModel.MOFScriptStatementOwner
getBlocks, getStatements, getVariables
 
Methods inherited from interface org.eclipse.mofscript.MOFScriptModel.MOFScriptObject
getColumn, getComment, getLine, setColumn, setLine
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

copyright

static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

getIfExpression

Expression getIfExpression()
Returns the value of the 'If Expression' containment reference.

If the meaning of the 'If Expression' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'If Expression' containment reference.
See Also:
setIfExpression(Expression), MOFScriptModelPackage.getIfStatement_IfExpression()

setIfExpression

void setIfExpression(Expression value)
Sets the value of the 'If Expression' containment reference.

Parameters:
value - the new value of the 'If Expression' containment reference.
See Also:
getIfExpression()

getElseBranch

org.eclipse.emf.common.util.EList<IfStatement> getElseBranch()
Returns the value of the 'Else Branch' containment reference list. The list contents are of type IfStatement.

If the meaning of the 'Else Branch' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Else Branch' containment reference list.
See Also:
MOFScriptModelPackage.getIfStatement_ElseBranch()