org.eclipse.viatra.cep.core.metamodels.automaton.impl

## Class StateImpl

- 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.viatra.cep.core.metamodels.automaton.impl.StateImpl

- 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, State
  Direct Known Subclasses:
    FinalStateImpl, InitStateImpl, TrapStateImpl

      public class StateImpl
      extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
      implements State

  An implementation of the model object 'State'.

  The following features are implemented:

  - `In Transitions`
  - `Out Transitions`
  - `Label`
  - `Event Tokens`
  - `Last Processed Event`
  - `In State Of`
  - `Out State Of`
  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`

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

      `org.eclipse.emf.ecore.InternalEObject.EStore`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected org.eclipse.emf.common.util.EList<EventToken>` | `eventTokens` The cached value of the '`Event Tokens`' reference list.
    `protected org.eclipse.emf.common.util.EList<TimedZone>` | `inStateOf` The cached value of the '`In State Of`' reference list.
    `protected org.eclipse.emf.common.util.EList<Transition>` | `inTransitions` The cached value of the '`In Transitions`' reference list.
    `protected java.lang.String` | `label` The cached value of the '`Label`' attribute.
    `protected static java.lang.String` | `LABEL_EDEFAULT` The default value of the '`Label`' attribute.
    `protected Event` | `lastProcessedEvent` The cached value of the '`Last Processed Event`' reference.
    `protected org.eclipse.emf.common.util.EList<TimedZone>` | `outStateOf` The cached value of the '`Out State Of`' reference list.
    `protected org.eclipse.emf.common.util.EList<Transition>` | `outTransitions` The cached value of the '`Out Transitions`' containment reference list.

    - ### 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 and Description
    --- | ---
    `protected` | `StateImpl()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Event` | `basicGetLastProcessedEvent()`
    `java.lang.Object` | `eGet(int featureID, boolean resolve, boolean coreType)`
    `org.eclipse.emf.common.notify.NotificationChain` | `eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)`
    `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.emf.common.util.EList<EventToken>` | `getEventTokens()`
    `org.eclipse.emf.common.util.EList<TimedZone>` | `getInStateOf()`
    `org.eclipse.emf.common.util.EList<Transition>` | `getInTransitions()`
    `java.lang.String` | `getLabel()`
    `Event` | `getLastProcessedEvent()`
    `org.eclipse.emf.common.util.EList<TimedZone>` | `getOutStateOf()`
    `org.eclipse.emf.common.util.EList<Transition>` | `getOutTransitions()`
    `void` | `setLabel(java.lang.String newLabel)`
    `void` | `setLastProcessedEvent(Event newLastProcessedEvent)`
    `java.lang.String` | `toString()`

    - ### 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, 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`

    - ### 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

    - #### inTransitions

          protected org.eclipse.emf.common.util.EList<Transition> inTransitions

      The cached value of the '`In Transitions`' reference list.
      See Also:
        `getInTransitions()`
      Generated:
      Ordered:

    - #### outTransitions

          protected org.eclipse.emf.common.util.EList<Transition> outTransitions

      The cached value of the '`Out Transitions`' containment reference list.
      See Also:
        `getOutTransitions()`
      Generated:
      Ordered:

    - #### LABEL_EDEFAULT

          protected static final java.lang.String LABEL_EDEFAULT

      The default value of the '`Label`' attribute.
      See Also:
        `getLabel()`
      Generated:
      Ordered:

    - #### label

          protected java.lang.String label

      The cached value of the '`Label`' attribute.
      See Also:
        `getLabel()`
      Generated:
      Ordered:

    - #### eventTokens

          protected org.eclipse.emf.common.util.EList<EventToken> eventTokens

      The cached value of the '`Event Tokens`' reference list.
      See Also:
        `getEventTokens()`
      Generated:
      Ordered:

    - #### lastProcessedEvent

          protected Event lastProcessedEvent

      The cached value of the '`Last Processed Event`' reference.
      See Also:
        `getLastProcessedEvent()`
      Generated:
      Ordered:

    - #### inStateOf

          protected org.eclipse.emf.common.util.EList<TimedZone> inStateOf

      The cached value of the '`In State Of`' reference list.
      See Also:
        `getInStateOf()`
      Generated:
      Ordered:

    - #### outStateOf

          protected org.eclipse.emf.common.util.EList<TimedZone> outStateOf

      The cached value of the '`Out State Of`' reference list.
      See Also:
        `getOutStateOf()`
      Generated:
      Ordered:

  - ### Constructor Detail

    - #### StateImpl

          protected StateImpl()

      Generated:

  - ### Method Detail

    - #### eStaticClass

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

      Overrides:
        `eStaticClass` in class `org.eclipse.emf.ecore.impl.BasicEObjectImpl`
      Generated:

    - #### getInTransitions

          public org.eclipse.emf.common.util.EList<Transition> getInTransitions()

      Specified by:
        `getInTransitions` in interface `State`
      Returns:
        the value of the 'In Transitions' reference list.
      See Also:
        `AutomatonPackage.getState_InTransitions()`, `Transition.getPostState()`
      Generated:

    - #### getOutTransitions

          public org.eclipse.emf.common.util.EList<Transition> getOutTransitions()

      Specified by:
        `getOutTransitions` in interface `State`
      Returns:
        the value of the 'Out Transitions' containment reference list.
      See Also:
        `AutomatonPackage.getState_OutTransitions()`, `Transition.getPreState()`
      Generated:

    - #### getLabel

          public java.lang.String getLabel()

      Specified by:
        `getLabel` in interface `State`
      Returns:
        the value of the 'Label' attribute.
      See Also:
        `State.setLabel(String)`, `AutomatonPackage.getState_Label()`
      Generated:

    - #### setLabel

          public void setLabel(java.lang.String newLabel)

      Specified by:
        `setLabel` in interface `State`
      Parameters:
        `newLabel` - the new value of the 'Label' attribute.
      See Also:
        `State.getLabel()`
      Generated:

    - #### getEventTokens

          public org.eclipse.emf.common.util.EList<EventToken> getEventTokens()

      Specified by:
        `getEventTokens` in interface `State`
      Returns:
        the value of the 'Event Tokens' reference list.
      See Also:
        `AutomatonPackage.getState_EventTokens()`, `EventToken.getCurrentState()`
      Generated:

    - #### getLastProcessedEvent

          public Event getLastProcessedEvent()

      Specified by:
        `getLastProcessedEvent` in interface `State`
      Returns:
        the value of the 'Last Processed Event' reference.
      See Also:
        `State.setLastProcessedEvent(Event)`, `AutomatonPackage.getState_LastProcessedEvent()`
      Generated:

    - #### basicGetLastProcessedEvent

          public Event basicGetLastProcessedEvent()

      Generated:

    - #### setLastProcessedEvent

          public void setLastProcessedEvent(Event newLastProcessedEvent)

      Specified by:
        `setLastProcessedEvent` in interface `State`
      Parameters:
        `newLastProcessedEvent` - the new value of the 'Last Processed Event' reference.
      See Also:
        `State.getLastProcessedEvent()`
      Generated:

    - #### getInStateOf

          public org.eclipse.emf.common.util.EList<TimedZone> getInStateOf()

      Specified by:
        `getInStateOf` in interface `State`
      Returns:
        the value of the 'In State Of' reference list.
      See Also:
        `AutomatonPackage.getState_InStateOf()`, `TimedZone.getInState()`
      Generated:

    - #### getOutStateOf

          public org.eclipse.emf.common.util.EList<TimedZone> getOutStateOf()

      Specified by:
        `getOutStateOf` in interface `State`
      Returns:
        the value of the 'Out State Of' reference list.
      See Also:
        `AutomatonPackage.getState_OutStateOf()`, `TimedZone.getOutState()`
      Generated:

    - #### eInverseAdd

          public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                             int featureID,
                                                                             org.eclipse.emf.common.notify.NotificationChain msgs)

      Overrides:
        `eInverseAdd` in class `org.eclipse.emf.ecore.impl.BasicEObjectImpl`
      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:
        `eInverseRemove` in class `org.eclipse.emf.ecore.impl.BasicEObjectImpl`
      Generated:

    - #### 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`
      Generated:

    - #### 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`
      Generated:

    - #### 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`
      Generated:

    - #### 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`
      Generated:

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `org.eclipse.emf.ecore.impl.BasicEObjectImpl`
      Generated: