Package ca.ubc.stat.blang.blangDsl
Interface IfElse
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,LawNode
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
IfElseImpl
public interface IfElse extends LawNode
A representation of the model object 'If Else'.
The following features are supported:
- See Also:
BlangDslPackage.getIfElse()
-
Method Summary
Modifier and Type Method Description org.eclipse.xtext.xbase.XExpression
getCondition()
Returns the value of the 'Condition' containment reference.org.eclipse.emf.common.util.EList<LawNode>
getElseBody()
Returns the value of the 'Else Body' containment reference list.org.eclipse.emf.common.util.EList<LawNode>
getIfBody()
Returns the value of the 'If Body' containment reference list.void
setCondition(org.eclipse.xtext.xbase.XExpression value)
Sets the value of the 'Condition
' containment reference.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
-
Method Details
-
getCondition
org.eclipse.xtext.xbase.XExpression getCondition()Returns the value of the 'Condition' containment reference.- Returns:
- the value of the 'Condition' containment reference.
- See Also:
setCondition(XExpression)
,BlangDslPackage.getIfElse_Condition()
-
setCondition
void setCondition(org.eclipse.xtext.xbase.XExpression value)Sets the value of the 'Condition
' containment reference.- Parameters:
value
- the new value of the 'Condition' containment reference.- See Also:
getCondition()
-
getIfBody
org.eclipse.emf.common.util.EList<LawNode> getIfBody()Returns the value of the 'If Body' containment reference list. The list contents are of typeLawNode
.- Returns:
- the value of the 'If Body' containment reference list.
- See Also:
BlangDslPackage.getIfElse_IfBody()
-
getElseBody
org.eclipse.emf.common.util.EList<LawNode> getElseBody()Returns the value of the 'Else Body' containment reference list. The list contents are of typeLawNode
.- Returns:
- the value of the 'Else Body' containment reference list.
- See Also:
BlangDslPackage.getIfElse_ElseBody()
-