Package org.eclipse.xtext.xbase.impl
Class XIfExpressionImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
- org.eclipse.xtext.xbase.impl.XExpressionImpl
-
- org.eclipse.xtext.xbase.impl.XIfExpressionImpl
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder,org.eclipse.emf.ecore.InternalEObject,XExpression,XIfExpression
public class XIfExpressionImpl extends XExpressionImpl implements XIfExpression
An implementation of the model object 'XIf Expression'.The following features are implemented:
- Since:
- 2.7
- Generated:
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected static booleanCONDITIONAL_EXPRESSION_EDEFAULTThe default value of the 'Conditional Expression' attribute.protected booleanconditionalExpressionThe cached value of the 'Conditional Expression' attribute.protected XExpressionelse_The cached value of the 'Else' containment reference.protected XExpressionif_The cached value of the 'If' containment reference.protected XExpressionthenThe cached value of the 'Then' containment reference.-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedXIfExpressionImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChainbasicSetElse(XExpression newElse, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetIf(XExpression newIf, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetThen(XExpression newThen, org.eclipse.emf.common.notify.NotificationChain msgs)java.lang.ObjecteGet(int featureID, boolean resolve, boolean coreType)org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)booleaneIsSet(int featureID)voideSet(int featureID, java.lang.Object newValue)protected org.eclipse.emf.ecore.EClasseStaticClass()voideUnset(int featureID)XExpressiongetElse()XExpressiongetIf()XExpressiongetThen()booleanisConditionalExpression()voidsetConditionalExpression(boolean newConditionalExpression)voidsetElse(XExpression newElse)voidsetIf(XExpression newIf)voidsetThen(XExpression newThen)java.lang.StringtoString()-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, 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
-
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
-
-
-
-
Field Detail
-
if_
protected XExpression if_
The cached value of the 'If' containment reference.- See Also:
getIf()- Generated:
- Ordered:
-
then
protected XExpression then
The cached value of the 'Then' containment reference.- See Also:
getThen()- Generated:
- Ordered:
-
else_
protected XExpression else_
The cached value of the 'Else' containment reference.- See Also:
getElse()- Generated:
- Ordered:
-
CONDITIONAL_EXPRESSION_EDEFAULT
protected static final boolean CONDITIONAL_EXPRESSION_EDEFAULT
The default value of the 'Conditional Expression' attribute.- Since:
- 2.18
- See Also:
isConditionalExpression(), Constant Field Values- Generated:
- Ordered:
-
conditionalExpression
protected boolean conditionalExpression
The cached value of the 'Conditional Expression' attribute.- Since:
- 2.18
- See Also:
isConditionalExpression()- Generated:
- Ordered:
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClassin classXExpressionImpl- Generated:
-
getIf
public XExpression getIf()
- Specified by:
getIfin interfaceXIfExpression- Returns:
- the value of the 'If' containment reference.
- See Also:
XIfExpression.setIf(XExpression),XbasePackage.getXIfExpression_If()- Generated:
-
basicSetIf
public org.eclipse.emf.common.notify.NotificationChain basicSetIf(XExpression newIf, org.eclipse.emf.common.notify.NotificationChain msgs)
- Generated:
-
setIf
public void setIf(XExpression newIf)
- Specified by:
setIfin interfaceXIfExpression- Parameters:
newIf- the new value of the 'If' containment reference.- See Also:
XIfExpression.getIf()- Generated:
-
getThen
public XExpression getThen()
- Specified by:
getThenin interfaceXIfExpression- Returns:
- the value of the 'Then' containment reference.
- See Also:
XIfExpression.setThen(XExpression),XbasePackage.getXIfExpression_Then()- Generated:
-
basicSetThen
public org.eclipse.emf.common.notify.NotificationChain basicSetThen(XExpression newThen, org.eclipse.emf.common.notify.NotificationChain msgs)
- Generated:
-
setThen
public void setThen(XExpression newThen)
- Specified by:
setThenin interfaceXIfExpression- Parameters:
newThen- the new value of the 'Then' containment reference.- See Also:
XIfExpression.getThen()- Generated:
-
getElse
public XExpression getElse()
- Specified by:
getElsein interfaceXIfExpression- Returns:
- the value of the 'Else' containment reference.
- See Also:
XIfExpression.setElse(XExpression),XbasePackage.getXIfExpression_Else()- Generated:
-
basicSetElse
public org.eclipse.emf.common.notify.NotificationChain basicSetElse(XExpression newElse, org.eclipse.emf.common.notify.NotificationChain msgs)
- Generated:
-
setElse
public void setElse(XExpression newElse)
- Specified by:
setElsein interfaceXIfExpression- Parameters:
newElse- the new value of the 'Else' containment reference.- See Also:
XIfExpression.getElse()- Generated:
-
isConditionalExpression
public boolean isConditionalExpression()
- Specified by:
isConditionalExpressionin interfaceXIfExpression- Returns:
- the value of the 'Conditional Expression' attribute.
- Since:
- 2.18
- See Also:
XIfExpression.setConditionalExpression(boolean),XbasePackage.getXIfExpression_ConditionalExpression()- Generated:
-
setConditionalExpression
public void setConditionalExpression(boolean newConditionalExpression)
- Specified by:
setConditionalExpressionin interfaceXIfExpression- Parameters:
newConditionalExpression- the new value of the 'Conditional Expression' attribute.- Since:
- 2.18
- See Also:
XIfExpression.isConditionalExpression()- Generated:
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)- Overrides:
eInverseRemovein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated:
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated:
-
eSet
public void eSet(int featureID, java.lang.Object newValue)- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated:
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated:
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated:
-
toString
public java.lang.String toString()
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated:
-
-