Class ProblemEObjectImpl

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
tools.refinery.language.model.problem.impl.ProblemEObjectImpl
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
Direct Known Subclasses:
AbstractAssertionImpl, AggregatorDeclarationImpl, AnnotationArgumentImpl, AnnotationContainerImpl, AnnotationDeclarationImpl, AnnotationImpl, AssertionActionImpl, AssertionArgumentImpl, AssertionImpl, CaseImpl, ClassDeclarationImpl, ConsequentImpl, EnumDeclarationImpl, ExprImpl, FunctionDefinitionImpl, ImportStatementImpl, MultiplicityImpl, NamedElementImpl, NodeDeclarationImpl, PredicateDefinitionImpl, QuantifiedUnaryExprImpl, RuleDefinitionImpl, ScopeDeclarationImpl, TopLevelAnnotationImpl, TypeScopeImpl

public class ProblemEObjectImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
Common superclass for all EMF objects in the ProblemPackage to post-process them after creation.

Whenever we create an AnnotatedElement, we set its annotations containment reference to a new AnnotationContainer instance. This enables serialization with Xtext even if no annotations object is set afterward. The Xtext parser will always set annotations, so this issue only arises when creating a model generation AST from scratch in code.

We can't use a EStructuralFeature.Internal.SettingDelegate for this purpose, as annotations must remain a containment reference.

  • Nested Class Summary Link icon

    Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container Link icon

    org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic

    Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl Link icon

    org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container

    Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl Link icon

    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 Link icon

    org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends 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 Link icon

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

    Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container Link icon

    eContainer

    Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl Link icon

    EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET

    Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder Link icon

    NIL

    Fields inherited from interface org.eclipse.emf.ecore.InternalEObject Link icon

    EOPPOSITE_FEATURE_BASE
  • Method Summary Link icon

    Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container Link icon

    eBasicSetContainer, eInternalContainer

    Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl Link icon

    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 Link icon

    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, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticClass, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString

    Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl Link icon

    eNotificationRequired, eNotify

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.emf.ecore.InternalEObject Link icon

    eNotificationRequired

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

    eNotify