Interface ConditionalExpression
- All Superinterfaces:
AnnotationValue
,ArrayInitializationValue
,AssignmentExpressionChild
,Commentable
,EObject
,Expression
,LambdaBody
,Notifier
- All Known Implementing Classes:
ConditionalExpressionImpl
A representation of the model object 'Conditional Expression'.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
-
Method Summary
Modifier and TypeMethodDescriptiongetChild()
Returns the value of the 'Child' containment reference.Returns the value of the 'Expression If' containment reference.Returns the value of the 'General Expression Else' containment reference.void
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
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, getOneTypeReference, getType
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getChild
ConditionalExpressionChild getChild()Returns the value of the 'Child' containment reference.- Returns:
- the value of the 'Child' containment reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true" required="true"
-
setChild
Sets the value of the 'Child
' containment reference.- Parameters:
value
- the new value of the 'Child' containment reference.- See Also:
- 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:
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true"
-
setExpressionIf
Sets the value of the 'Expression If
' containment reference.- Parameters:
value
- the new value of the 'Expression If' containment reference.- See Also:
- 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:
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true"
-
setGeneralExpressionElse
Sets the value of the 'General Expression Else
' containment reference.- Parameters:
value
- the new value of the 'General Expression Else' containment reference.- See Also:
- Generated class or method.
-
getExpressionElse
AssignmentExpressionChild getExpressionElse()- Generated class or method.
- EMF model class or method.
- kind="operation" required="true"
-
setExpressionChild
- Generated class or method.
- EMF model class or method.
- newChildRequired="true"
-