org.sintef.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()

Method Summary
 org.eclipse.emf.common.util.EList getElseBranch()
          Returns the value of the 'Else Branch' containment reference list.
 LogicalExpression getIfExpression()
          Returns the value of the 'If Expression' containment reference
 void setIfExpression(LogicalExpression value)
          Sets the value of the 'If Expression' containment reference
 
Methods inherited from interface org.sintef.mofscript.MOFScriptModel.MOFScriptStatement
getOwner, setOwner
 
Methods inherited from interface org.sintef.mofscript.MOFScriptModel.MOFScriptStatementOwner
getBlocks, getStatements, getVariables
 
Methods inherited from interface org.sintef.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
 

Method Detail

getIfExpression

LogicalExpression 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(LogicalExpression), MOFScriptModelPackage.getIfStatement_IfExpression()

setIfExpression

void setIfExpression(LogicalExpression 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 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()