Interface ConditionalExpression
-
- All Superinterfaces:
AnnotationValue
,ArrayInitializationValue
,AssignmentExpressionChild
,Commentable
,EObject
,Expression
,LambdaBody
,Notifier
- All Known Implementing Classes:
ConditionalExpressionImpl
public interface ConditionalExpression extends AssignmentExpressionChild
A representation of the model object 'Conditional Expression'.The following features are supported:
- See Also:
ExpressionsPackage.getConditionalExpression()
- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConditionalExpressionChild
getChild()
Returns the value of the 'Child' containment reference.AssignmentExpressionChild
getExpressionElse()
Expression
getExpressionIf()
Returns the value of the 'Expression If' containment reference.Expression
getGeneralExpressionElse()
Returns the value of the 'General Expression Else' containment reference.void
setChild(ConditionalExpressionChild value)
Sets the value of the 'Child
' containment reference.void
setExpressionChild(AssignmentExpressionChild newChild)
void
setExpressionIf(Expression value)
Sets the value of the 'Expression If
' containment reference.void
setGeneralExpressionElse(Expression value)
Sets the value of the 'General Expression Else
' containment reference.-
Methods inherited from interface org.emftext.language.java.commons.Commentable
addAfterContainingStatement, addBeforeContainingStatement, getAnnotationInterface, getChildrenByEType, getChildrenByType, getClassClass, getConcreteClassifier, getConcreteClassifiers, getContainingAnnotationInstance, getContainingAnonymousClass, getContainingCompilationUnit, getContainingConcreteClassifier, getContainingContainerName, getContainingPackageName, getFirstChildByEType, getFirstChildByType, getLayoutInformations, getLibClass, getLibInterface, getObjectClass, getParentByEType, getParentByType, getParentConcreteClassifier, getStringClass
-
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.emftext.language.java.expressions.Expression
getAlternativeType, getArrayDimension, getOneType, getType
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
getChild
ConditionalExpressionChild getChild()
Returns the value of the 'Child' containment reference.- Returns:
- the value of the 'Child' containment reference.
- See Also:
setChild(ConditionalExpressionChild)
,ExpressionsPackage.getConditionalExpression_Child()
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true" required="true"
-
setChild
void setChild(ConditionalExpressionChild value)
Sets the value of the 'Child
' containment reference.- Parameters:
value
- the new value of the 'Child' containment reference.- See Also:
getChild()
- Generated class or method.
-
getExpressionIf
Expression getExpressionIf()
Returns the value of the 'Expression If' containment reference.- Returns:
- the value of the 'Expression If' containment reference.
- See Also:
setExpressionIf(Expression)
,ExpressionsPackage.getConditionalExpression_ExpressionIf()
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true"
-
setExpressionIf
void setExpressionIf(Expression value)
Sets the value of the 'Expression If
' containment reference.- Parameters:
value
- the new value of the 'Expression If' containment reference.- See Also:
getExpressionIf()
- Generated class or method.
-
getGeneralExpressionElse
Expression getGeneralExpressionElse()
Returns the value of the 'General Expression Else' containment reference.- Returns:
- the value of the 'General Expression Else' containment reference.
- See Also:
setGeneralExpressionElse(Expression)
,ExpressionsPackage.getConditionalExpression_GeneralExpressionElse()
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true"
-
setGeneralExpressionElse
void setGeneralExpressionElse(Expression value)
Sets the value of the 'General Expression Else
' containment reference.- Parameters:
value
- the new value of the 'General Expression Else' containment reference.- See Also:
getGeneralExpressionElse()
- Generated class or method.
-
getExpressionElse
AssignmentExpressionChild getExpressionElse()
- Generated class or method.
- EMF model class or method.
- kind="operation" required="true"
-
setExpressionChild
void setExpressionChild(AssignmentExpressionChild newChild)
- Generated class or method.
- EMF model class or method.
- newChildRequired="true"
-
-