Class ForLoopImpl

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
ca.ubc.stat.blang.blangDsl.impl.LawNodeImpl
ca.ubc.stat.blang.blangDsl.impl.ForLoopImpl
All Implemented Interfaces:
ForLoop, LawNode, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject

public class ForLoopImpl
extends LawNodeImpl
implements ForLoop
An implementation of the model object 'For Loop'.

The following features are implemented:

  • 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

    Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject

    org.eclipse.emf.ecore.InternalEObject.EStore
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected org.eclipse.xtext.xbase.XExpression iteratorRange
    The cached value of the 'Iterator Range' containment reference.
    protected org.eclipse.xtext.common.types.JvmTypeReference iteratorType
    The cached value of the 'Iterator Type' containment reference.
    protected org.eclipse.emf.common.util.EList<LawNode> loopBody
    The cached value of the 'Loop Body' containment reference list.
    protected VariableName name
    The cached value of the 'Name' 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

    Constructors
    Modifier Constructor Description
    protected ForLoopImpl()
  • Method Summary

    Modifier and Type Method Description
    org.eclipse.emf.common.notify.NotificationChain basicSetIteratorRange​(org.eclipse.xtext.xbase.XExpression newIteratorRange, org.eclipse.emf.common.notify.NotificationChain msgs)
    org.eclipse.emf.common.notify.NotificationChain basicSetIteratorType​(org.eclipse.xtext.common.types.JvmTypeReference newIteratorType, org.eclipse.emf.common.notify.NotificationChain msgs)
    org.eclipse.emf.common.notify.NotificationChain basicSetName​(VariableName newName, 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)
    org.eclipse.xtext.xbase.XExpression getIteratorRange()
    org.eclipse.xtext.common.types.JvmTypeReference getIteratorType()
    org.eclipse.emf.common.util.EList<LawNode> getLoopBody()
    VariableName getName()
    void setIteratorRange​(org.eclipse.xtext.xbase.XExpression newIteratorRange)
    void setIteratorType​(org.eclipse.xtext.common.types.JvmTypeReference newIteratorType)
    void setName​(VariableName newName)

    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, 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.ecore.InternalEObject

    eNotificationRequired

    Methods inherited from interface org.eclipse.emf.common.notify.Notifier

    eAdapters, eDeliver, eNotify, eSetDeliver
  • Field Details

    • iteratorType

      protected org.eclipse.xtext.common.types.JvmTypeReference iteratorType
      The cached value of the 'Iterator Type' containment reference.
      See Also:
      getIteratorType()
    • name

      protected VariableName name
      The cached value of the 'Name' containment reference.
      See Also:
      getName()
    • iteratorRange

      protected org.eclipse.xtext.xbase.XExpression iteratorRange
      The cached value of the 'Iterator Range' containment reference.
      See Also:
      getIteratorRange()
    • loopBody

      protected org.eclipse.emf.common.util.EList<LawNode> loopBody
      The cached value of the 'Loop Body' containment reference list.
      See Also:
      getLoopBody()
  • Constructor Details

    • ForLoopImpl

      protected ForLoopImpl()
  • Method Details

    • eStaticClass

      protected org.eclipse.emf.ecore.EClass eStaticClass()
      Overrides:
      eStaticClass in class LawNodeImpl
    • getIteratorType

      public org.eclipse.xtext.common.types.JvmTypeReference getIteratorType()
      Specified by:
      getIteratorType in interface ForLoop
      Returns:
      the value of the 'Iterator Type' containment reference.
      See Also:
      ForLoop.setIteratorType(JvmTypeReference), BlangDslPackage.getForLoop_IteratorType()
    • basicSetIteratorType

      public org.eclipse.emf.common.notify.NotificationChain basicSetIteratorType​(org.eclipse.xtext.common.types.JvmTypeReference newIteratorType, org.eclipse.emf.common.notify.NotificationChain msgs)
    • setIteratorType

      public void setIteratorType​(org.eclipse.xtext.common.types.JvmTypeReference newIteratorType)
      Specified by:
      setIteratorType in interface ForLoop
      Parameters:
      newIteratorType - the new value of the 'Iterator Type' containment reference.
      See Also:
      ForLoop.getIteratorType()
    • getName

      public VariableName getName()
      Specified by:
      getName in interface ForLoop
      Returns:
      the value of the 'Name' containment reference.
      See Also:
      ForLoop.setName(VariableName), BlangDslPackage.getForLoop_Name()
    • basicSetName

      public org.eclipse.emf.common.notify.NotificationChain basicSetName​(VariableName newName, org.eclipse.emf.common.notify.NotificationChain msgs)
    • setName

      public void setName​(VariableName newName)
      Specified by:
      setName in interface ForLoop
      Parameters:
      newName - the new value of the 'Name' containment reference.
      See Also:
      ForLoop.getName()
    • getIteratorRange

      public org.eclipse.xtext.xbase.XExpression getIteratorRange()
      Specified by:
      getIteratorRange in interface ForLoop
      Returns:
      the value of the 'Iterator Range' containment reference.
      See Also:
      ForLoop.setIteratorRange(XExpression), BlangDslPackage.getForLoop_IteratorRange()
    • basicSetIteratorRange

      public org.eclipse.emf.common.notify.NotificationChain basicSetIteratorRange​(org.eclipse.xtext.xbase.XExpression newIteratorRange, org.eclipse.emf.common.notify.NotificationChain msgs)
    • setIteratorRange

      public void setIteratorRange​(org.eclipse.xtext.xbase.XExpression newIteratorRange)
      Specified by:
      setIteratorRange in interface ForLoop
      Parameters:
      newIteratorRange - the new value of the 'Iterator Range' containment reference.
      See Also:
      ForLoop.getIteratorRange()
    • getLoopBody

      public org.eclipse.emf.common.util.EList<LawNode> getLoopBody()
      Specified by:
      getLoopBody in interface ForLoop
      Returns:
      the value of the 'Loop Body' containment reference list.
      See Also:
      BlangDslPackage.getForLoop_LoopBody()
    • 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
    • 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
    • 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
    • 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
    • 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