org.eclipse.xtext.xtend2.xtend2.impl
Class RichStringIfImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.eclipse.xtext.xbase.impl.XExpressionImpl
                      extended by org.eclipse.xtext.xtend2.xtend2.impl.RichStringIfImpl
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, RichStringIf

public class RichStringIfImpl
extends XExpressionImpl
implements RichStringIf

An implementation of the model object 'Rich String If'.

The following features are implemented:

EMF generated code

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
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  XExpression else_
          The cached value of the 'Else' containment reference
protected  org.eclipse.emf.common.util.EList<RichStringElseIf> elseIfs
          The cached value of the 'Else Ifs' containment reference list
protected  XExpression if_
          The cached value of the 'If' containment reference
protected  XExpression then
          The cached value of the 'Then' containment reference
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
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
protected RichStringIfImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetElse(XExpression newElse, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetIf(XExpression newIf, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetThen(XExpression newThen, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 XExpression getElse()
           
 org.eclipse.emf.common.util.EList<RichStringElseIf> getElseIfs()
           
 XExpression getIf()
           
 XExpression getThen()
           
 void setElse(XExpression newElse)
           
 void setIf(XExpression newIf)
           
 void setThen(XExpression newThen)
           
 
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, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, 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, 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.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
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

if_

protected XExpression if_
The cached value of the 'If' containment reference.

See Also:
getIf()
EMF generated code
EMF ordered

then

protected XExpression then
The cached value of the 'Then' containment reference.

See Also:
getThen()
EMF generated code
EMF ordered

elseIfs

protected org.eclipse.emf.common.util.EList<RichStringElseIf> elseIfs
The cached value of the 'Else Ifs' containment reference list.

See Also:
getElseIfs()
EMF generated code
EMF ordered

else_

protected XExpression else_
The cached value of the 'Else' containment reference.

See Also:
getElse()
EMF generated code
EMF ordered
Constructor Detail

RichStringIfImpl

protected RichStringIfImpl()

EMF generated code
Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class XExpressionImpl
EMF generated code

getIf

public XExpression getIf()

Specified by:
getIf in interface RichStringIf
Returns:
the value of the 'If' containment reference.
See Also:
RichStringIf.setIf(XExpression), Xtend2Package.getRichStringIf_If()
EMF generated code

basicSetIf

public org.eclipse.emf.common.notify.NotificationChain basicSetIf(XExpression newIf,
                                                                  org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setIf

public void setIf(XExpression newIf)

Specified by:
setIf in interface RichStringIf
Parameters:
newIf - the new value of the 'If' containment reference.
See Also:
RichStringIf.getIf()
EMF generated code

getThen

public XExpression getThen()

Specified by:
getThen in interface RichStringIf
Returns:
the value of the 'Then' containment reference.
See Also:
RichStringIf.setThen(XExpression), Xtend2Package.getRichStringIf_Then()
EMF generated code

basicSetThen

public org.eclipse.emf.common.notify.NotificationChain basicSetThen(XExpression newThen,
                                                                    org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setThen

public void setThen(XExpression newThen)

Specified by:
setThen in interface RichStringIf
Parameters:
newThen - the new value of the 'Then' containment reference.
See Also:
RichStringIf.getThen()
EMF generated code

getElseIfs

public org.eclipse.emf.common.util.EList<RichStringElseIf> getElseIfs()

Specified by:
getElseIfs in interface RichStringIf
Returns:
the value of the 'Else Ifs' containment reference list.
See Also:
Xtend2Package.getRichStringIf_ElseIfs()
EMF generated code

getElse

public XExpression getElse()

Specified by:
getElse in interface RichStringIf
Returns:
the value of the 'Else' containment reference.
See Also:
RichStringIf.setElse(XExpression), Xtend2Package.getRichStringIf_Else()
EMF generated code

basicSetElse

public org.eclipse.emf.common.notify.NotificationChain basicSetElse(XExpression newElse,
                                                                    org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setElse

public void setElse(XExpression newElse)

Specified by:
setElse in interface RichStringIf
Parameters:
newElse - the new value of the 'Else' containment reference.
See Also:
RichStringIf.getElse()
EMF generated code

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:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code