Class InstanceImpl

  • All Implemented Interfaces:
    org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Instance

    public class InstanceImpl
    extends org.eclipse.emf.ecore.impl.EObjectImpl
    implements Instance
    An implementation of the model object ' Instance'.

    The following features are implemented:

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl

        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
      • Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject

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

      • Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl

        ELAST_EOBJECT_FLAG
      • Fields inherited from interface org.eclipse.emf.ecore.InternalEObject

        EOPPOSITE_FEATURE_BASE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(String featureName, int index, Object value)
      void add​(String featureName, Object value)
      void add​(org.eclipse.emf.ecore.EStructuralFeature feature, int index, Object value)
      void add​(org.eclipse.emf.ecore.EStructuralFeature feature, Object value)
      org.eclipse.emf.common.notify.NotificationChain basicSetType​(Type newType, org.eclipse.emf.common.notify.NotificationChain msgs)
      Instance copy()
      org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature​(org.eclipse.emf.common.notify.NotificationChain msgs)
      org.eclipse.emf.ecore.EClass eClass()
      org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> eContents()
      org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> eCrossReferences()
      Object eGet​(int featureID, boolean resolve, boolean coreType)
      Object eGet​(org.eclipse.emf.ecore.EStructuralFeature feature, 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)
      boolean eIsSet​(org.eclipse.emf.ecore.EStructuralFeature feature)
      void eSet​(int featureID, Object newValue)
      void eUnset​(int featureID)
      <V> V evaluate​(String expression)
      <V> V get​(String featureName)
      <V> V get​(org.eclipse.emf.ecore.EStructuralFeature feature)
      Instance getContainer()
      org.eclipse.emf.ecore.EReference getContainerReference()
      org.eclipse.emf.common.util.EList<Instance> getContents()
      org.eclipse.emf.ecore.EClass getEClass()
      org.eclipse.emf.common.util.EList<Instance> getInverse​(String referenceName)
      org.eclipse.emf.common.util.EList<Instance> getInverse​(org.eclipse.emf.ecore.EReference reference)
      Instance getLink​(String referenceName)
      Instance getLink​(org.eclipse.emf.ecore.EReference reference)
      org.eclipse.emf.common.util.EList<Instance> getLinks​(String referenceName)
      org.eclipse.emf.common.util.EList<Instance> getLinks​(org.eclipse.emf.ecore.EReference reference)
      org.eclipse.emf.common.util.EList<ReferenceSlot> getReferences()
      ModelResource getResource()
      Slot getSlot​(org.eclipse.emf.ecore.EStructuralFeature feature)
      org.eclipse.emf.common.util.EList<Slot> getSlots()
      Type getType()
      org.eclipse.emf.common.util.URI getUri()
      String getUuid()
      boolean instanceOf​(String className)
      boolean instanceOf​(org.eclipse.emf.ecore.EClass eClass)
      boolean isProxy()
      boolean isSet​(org.eclipse.emf.ecore.EStructuralFeature feature)
      void migrate​(String className)
      void migrate​(org.eclipse.emf.ecore.EClass eClass)
      void remove​(String featureName, Object value)
      void remove​(org.eclipse.emf.ecore.EStructuralFeature feature, int index)
      void remove​(org.eclipse.emf.ecore.EStructuralFeature feature, Object value)
      void set​(String featureName, Object value)
      void set​(org.eclipse.emf.ecore.EStructuralFeature feature, Object newValue)
      void setType​(Type newType)
      void setUri​(org.eclipse.emf.common.util.URI newUri)
      void setUuid​(String newUuid)
      String toString()
      <V> V unset​(org.eclipse.emf.ecore.EStructuralFeature feature)
      void validate()
      boolean validate​(org.eclipse.emf.common.util.DiagnosticChain chain)
      • Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl

        eAdapters, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
      • Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl

        eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
      • Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl

        eNotificationRequired, eNotify
      • Methods inherited from interface org.eclipse.emf.ecore.EObject

        eAllContents, eContainer, eContainingFeature, eContainmentFeature, eGet, eGet, eInvoke, eResource, eSet, eUnset
      • Methods inherited from interface org.eclipse.emf.ecore.InternalEObject

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

        eNotify
    • Method Detail

      • basicSetType

        public org.eclipse.emf.common.notify.NotificationChain basicSetType​(Type newType,
                                                                            org.eclipse.emf.common.notify.NotificationChain msgs)
      • setType

        public void setType​(Type newType)
        Specified by:
        setType in interface Instance
        Parameters:
        newType - the new value of the 'Type' container reference.
        See Also:
        Instance.getType()
      • setUri

        public void setUri​(org.eclipse.emf.common.util.URI newUri)
        Specified by:
        setUri in interface Instance
        Parameters:
        newUri - the new value of the 'Uri' attribute.
        See Also:
        Instance.getUri()
      • get

        public <V> V get​(org.eclipse.emf.ecore.EStructuralFeature feature)
        Specified by:
        get in interface Instance
        Parameters:
        feature - Get the value of the feature
      • set

        public void set​(org.eclipse.emf.ecore.EStructuralFeature feature,
                        Object newValue)
        Specified by:
        set in interface Instance
      • getSlot

        public Slot getSlot​(org.eclipse.emf.ecore.EStructuralFeature feature)
        Specified by:
        getSlot in interface Instance
      • getContainerReference

        public org.eclipse.emf.ecore.EReference getContainerReference()
        Specified by:
        getContainerReference in interface Instance
      • isProxy

        public boolean isProxy()
        Specified by:
        isProxy in interface Instance
      • add

        public void add​(String featureName,
                        int index,
                        Object value)
        Specified by:
        add in interface Instance
      • getLink

        public Instance getLink​(org.eclipse.emf.ecore.EReference reference)
        Specified by:
        getLink in interface Instance
      • getLinks

        public org.eclipse.emf.common.util.EList<Instance> getLinks​(org.eclipse.emf.ecore.EReference reference)
        Specified by:
        getLinks in interface Instance
      • getInverse

        public org.eclipse.emf.common.util.EList<Instance> getInverse​(org.eclipse.emf.ecore.EReference reference)
        Specified by:
        getInverse in interface Instance
      • migrate

        public void migrate​(org.eclipse.emf.ecore.EClass eClass)
        Specified by:
        migrate in interface Instance
      • unset

        public <V> V unset​(org.eclipse.emf.ecore.EStructuralFeature feature)
        Specified by:
        unset in interface Instance
      • add

        public void add​(org.eclipse.emf.ecore.EStructuralFeature feature,
                        int index,
                        Object value)
        Specified by:
        add in interface Instance
      • remove

        public void remove​(org.eclipse.emf.ecore.EStructuralFeature feature,
                           Object value)
        Specified by:
        remove in interface Instance
      • getEClass

        public org.eclipse.emf.ecore.EClass getEClass()
        Specified by:
        getEClass in interface Instance
      • validate

        public void validate()
        Specified by:
        validate in interface Instance
      • validate

        public boolean validate​(org.eclipse.emf.common.util.DiagnosticChain chain)
        Specified by:
        validate in interface Instance
      • get

        public <V> V get​(String featureName)
        Specified by:
        get in interface Instance
      • isSet

        public boolean isSet​(org.eclipse.emf.ecore.EStructuralFeature feature)
        Specified by:
        isSet in interface Instance
      • instanceOf

        public boolean instanceOf​(org.eclipse.emf.ecore.EClass eClass)
        Specified by:
        instanceOf in interface Instance
      • add

        public void add​(org.eclipse.emf.ecore.EStructuralFeature feature,
                        Object value)
        Specified by:
        add in interface Instance
      • remove

        public void remove​(org.eclipse.emf.ecore.EStructuralFeature feature,
                           int index)
        Specified by:
        remove in interface Instance
      • 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
      • 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
      • eBasicRemoveFromContainerFeature

        public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature​(org.eclipse.emf.common.notify.NotificationChain msgs)
        Overrides:
        eBasicRemoveFromContainerFeature in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
      • eGet

        public 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,
                         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
      • toString

        public String toString()
        Overrides:
        toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
      • eClass

        public org.eclipse.emf.ecore.EClass eClass()
        Specified by:
        eClass in interface org.eclipse.emf.ecore.EObject
        Overrides:
        eClass in class org.eclipse.emf.ecore.impl.EObjectImpl
      • eGet

        public Object eGet​(org.eclipse.emf.ecore.EStructuralFeature feature,
                           boolean resolve,
                           boolean coreType)
        Specified by:
        eGet in interface org.eclipse.emf.ecore.InternalEObject
        Overrides:
        eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
      • eIsSet

        public boolean eIsSet​(org.eclipse.emf.ecore.EStructuralFeature feature)
        Specified by:
        eIsSet in interface org.eclipse.emf.ecore.EObject
        Overrides:
        eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
      • eContents

        public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> eContents()
        Specified by:
        eContents in interface org.eclipse.emf.ecore.EObject
        Overrides:
        eContents in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
      • eCrossReferences

        public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> eCrossReferences()
        Specified by:
        eCrossReferences in interface org.eclipse.emf.ecore.EObject
        Overrides:
        eCrossReferences in class org.eclipse.emf.ecore.impl.BasicEObjectImpl