org.eclipse.mtl.cst
Interface IfBlock

All Superinterfaces:
Block, CSTNode, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, TemplateExpression
All Known Implementing Classes:
IfBlockImpl

public interface IfBlock
extends Block

A representation of the model object 'If Block'.

The following features are supported:

See Also:
CstPackage.getIfBlock()

Method Summary
 Block getElse()
          Returns the value of the 'Else' containment reference.
 org.eclipse.emf.common.util.EList<IfBlock> getElseIf()
          Returns the value of the 'Else If' containment reference list.
 ModelExpression getIfExpr()
          Returns the value of the 'If Expr' containment reference.
 void setElse(Block value)
          Sets the value of the 'Else' containment reference.
 void setIfExpr(ModelExpression value)
          Sets the value of the 'If Expr' containment reference.
 
Methods inherited from interface org.eclipse.mtl.cst.Block
getBody, getInit, setInit
 
Methods inherited from interface org.eclipse.mtl.cst.CSTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 
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

getIfExpr

ModelExpression getIfExpr()
Returns the value of the 'If Expr' containment reference.

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

Returns:
the value of the 'If Expr' containment reference.
See Also:
setIfExpr(ModelExpression), CstPackage.getIfBlock_IfExpr()

setIfExpr

void setIfExpr(ModelExpression value)
Sets the value of the 'If Expr' containment reference.

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

getElse

Block getElse()
Returns the value of the 'Else' containment reference.

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

Returns:
the value of the 'Else' containment reference.
See Also:
setElse(Block), CstPackage.getIfBlock_Else()

setElse

void setElse(Block value)
Sets the value of the 'Else' containment reference.

Parameters:
value - the new value of the 'Else' containment reference.
See Also:
getElse()

getElseIf

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

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

Returns:
the value of the 'Else If' containment reference list.
See Also:
CstPackage.getIfBlock_ElseIf()

Copyright 2008 Obeo
All Rights Reserved.