Class ConditionalExpressionImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.emftext.language.java.commons.impl.CommentableImpl
-
- org.emftext.language.java.arrays.impl.ArrayInitializationValueImpl
-
- org.emftext.language.java.expressions.impl.ExpressionImpl
-
- org.emftext.language.java.expressions.impl.AssignmentExpressionChildImpl
-
- org.emftext.language.java.expressions.impl.ConditionalExpressionImpl
-
- All Implemented Interfaces:
Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,AnnotationValue
,ArrayInitializationValue
,Commentable
,AssignmentExpressionChild
,ConditionalExpression
,Expression
,LambdaBody
public class ConditionalExpressionImpl extends AssignmentExpressionChildImpl implements ConditionalExpression
An implementation of the model object 'Conditional Expression'.The following features are implemented:
- Generated class or method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
-
Field Summary
Fields Modifier and Type Field Description protected ConditionalExpressionChild
child
The cached value of the 'Child
' containment reference.protected Expression
expressionIf
The cached value of the 'Expression If
' containment reference.protected Expression
generalExpressionElse
The cached value of the 'General Expression Else
' containment reference.-
Fields inherited from class org.emftext.language.java.commons.impl.CommentableImpl
layoutInformations
-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
-
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ConditionalExpressionImpl()
-
Method Summary
-
Methods inherited from class org.emftext.language.java.expressions.impl.ExpressionImpl
getAlternativeType, getArrayDimension, getOneType, getType
-
Methods inherited from class org.emftext.language.java.commons.impl.CommentableImpl
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 class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eInternalContainer, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
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.ecore.InternalEObject
eNotificationRequired
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Field Detail
-
child
protected ConditionalExpressionChild child
The cached value of the 'Child
' containment reference.- See Also:
getChild()
- Generated class or method.
- Ordered collection.
-
expressionIf
protected Expression expressionIf
The cached value of the 'Expression If
' containment reference.- See Also:
getExpressionIf()
- Generated class or method.
- Ordered collection.
-
generalExpressionElse
protected Expression generalExpressionElse
The cached value of the 'General Expression Else
' containment reference.- See Also:
getGeneralExpressionElse()
- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classAssignmentExpressionChildImpl
- Generated class or method.
-
getChild
public ConditionalExpressionChild getChild()
- Specified by:
getChild
in interfaceConditionalExpression
- Returns:
- the value of the 'Child' containment reference.
- See Also:
ConditionalExpression.setChild(ConditionalExpressionChild)
,ExpressionsPackage.getConditionalExpression_Child()
- Generated class or method.
-
basicGetChild
public ConditionalExpressionChild basicGetChild()
- Generated class or method.
-
basicSetChild
public NotificationChain basicSetChild(ConditionalExpressionChild newChild, NotificationChain msgs)
- Generated class or method.
-
setChild
public void setChild(ConditionalExpressionChild newChild)
- Specified by:
setChild
in interfaceConditionalExpression
- Parameters:
newChild
- the new value of the 'Child' containment reference.- See Also:
ConditionalExpression.getChild()
- Generated class or method.
-
getExpressionIf
public Expression getExpressionIf()
- Specified by:
getExpressionIf
in interfaceConditionalExpression
- Returns:
- the value of the 'Expression If' containment reference.
- See Also:
ConditionalExpression.setExpressionIf(Expression)
,ExpressionsPackage.getConditionalExpression_ExpressionIf()
- Generated class or method.
-
basicGetExpressionIf
public Expression basicGetExpressionIf()
- Generated class or method.
-
basicSetExpressionIf
public NotificationChain basicSetExpressionIf(Expression newExpressionIf, NotificationChain msgs)
- Generated class or method.
-
setExpressionIf
public void setExpressionIf(Expression newExpressionIf)
- Specified by:
setExpressionIf
in interfaceConditionalExpression
- Parameters:
newExpressionIf
- the new value of the 'Expression If' containment reference.- See Also:
ConditionalExpression.getExpressionIf()
- Generated class or method.
-
getGeneralExpressionElse
public Expression getGeneralExpressionElse()
- Specified by:
getGeneralExpressionElse
in interfaceConditionalExpression
- Returns:
- the value of the 'General Expression Else' containment reference.
- See Also:
ConditionalExpression.setGeneralExpressionElse(Expression)
,ExpressionsPackage.getConditionalExpression_GeneralExpressionElse()
- Generated class or method.
-
basicGetGeneralExpressionElse
public Expression basicGetGeneralExpressionElse()
- Generated class or method.
-
basicSetGeneralExpressionElse
public NotificationChain basicSetGeneralExpressionElse(Expression newGeneralExpressionElse, NotificationChain msgs)
- Generated class or method.
-
setGeneralExpressionElse
public void setGeneralExpressionElse(Expression newGeneralExpressionElse)
- Specified by:
setGeneralExpressionElse
in interfaceConditionalExpression
- Parameters:
newGeneralExpressionElse
- the new value of the 'General Expression Else' containment reference.- See Also:
ConditionalExpression.getGeneralExpressionElse()
- Generated class or method.
-
getExpressionElse
public AssignmentExpressionChild getExpressionElse()
- Specified by:
getExpressionElse
in interfaceConditionalExpression
- Generated class or method.
-
setExpressionChild
public void setExpressionChild(AssignmentExpressionChild newChild)
- Specified by:
setExpressionChild
in interfaceConditionalExpression
- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemove
in classCommentableImpl
- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classCommentableImpl
- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classCommentableImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classCommentableImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classCommentableImpl
- Generated class or method.
-
-