org.eclipse.emf.ecore.impl
Class DynamicEStoreEObjectImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.ecore.impl.DynamicEObjectImpl
org.eclipse.emf.ecore.impl.DynamicEStoreEObjectImpl
- All Implemented Interfaces:
- Notifier, EObject, EStructuralFeature.Internal.DynamicValueHolder, InternalEObject
public class DynamicEStoreEObjectImpl
- extends DynamicEObjectImpl
An implementation of 'EObject' that delegates to a store
.
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eIsSet, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSet, eSetDirectResource, eSetResource, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eUnset, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString |
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, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eNotify |
EUNINITIALIZED_CONTAINER
protected static final InternalEObject EUNINITIALIZED_CONTAINER
eStore
protected InternalEObject.EStore eStore
DynamicEStoreEObjectImpl
public DynamicEStoreEObjectImpl()
- Creates a store-based EObject.
DynamicEStoreEObjectImpl
public DynamicEStoreEObjectImpl(InternalEObject.EStore eStore)
- Creates a store-based EObject.
DynamicEStoreEObjectImpl
public DynamicEStoreEObjectImpl(EClass eClass)
- Creates a store-based EObject.
DynamicEStoreEObjectImpl
public DynamicEStoreEObjectImpl(EClass eClass,
InternalEObject.EStore eStore)
- Creates a store-based EObject.
eIsCaching
protected boolean eIsCaching()
dynamicGet
public java.lang.Object dynamicGet(int dynamicFeatureID)
- Description copied from interface:
EStructuralFeature.Internal.DynamicValueHolder
- Returns the value of the feature.
- Specified by:
dynamicGet
in interface EStructuralFeature.Internal.DynamicValueHolder
- Overrides:
dynamicGet
in class DynamicEObjectImpl
- Parameters:
dynamicFeatureID
- the feature's index in the cached dynamic values.
- Returns:
- the value of the feature.
dynamicSet
public void dynamicSet(int dynamicFeatureID,
java.lang.Object value)
- Description copied from interface:
EStructuralFeature.Internal.DynamicValueHolder
- Sets the value of the feature to the new value.
- Specified by:
dynamicSet
in interface EStructuralFeature.Internal.DynamicValueHolder
- Overrides:
dynamicSet
in class DynamicEObjectImpl
- Parameters:
dynamicFeatureID
- the feature's index in the cached dynamic values.value
- the new value for the feature.
dynamicUnset
public void dynamicUnset(int dynamicFeatureID)
- Description copied from interface:
EStructuralFeature.Internal.DynamicValueHolder
- Unsets the value of the feature.
- Specified by:
dynamicUnset
in interface EStructuralFeature.Internal.DynamicValueHolder
- Overrides:
dynamicUnset
in class DynamicEObjectImpl
- Parameters:
dynamicFeatureID
- the feature's index in the cached dynamic values.
eDynamicIsSet
public boolean eDynamicIsSet(EStructuralFeature eStructuralFeature)
- Overrides:
eDynamicIsSet
in class BasicEObjectImpl
createList
protected <T> EList<T> createList(EStructuralFeature eStructuralFeature)
createFeatureMap
protected FeatureMap createFeatureMap(EStructuralFeature eStructuralFeature)
eInternalContainer
public InternalEObject eInternalContainer()
- Description copied from interface:
InternalEObject
- Returns the internal container, or
null
.
It does not resolve a proxy.
- Specified by:
eInternalContainer
in interface InternalEObject
- Overrides:
eInternalContainer
in class EObjectImpl
- Returns:
- the internal container.
- See Also:
EObject.eContainer()
,
InternalEObject.eDirectResource()
eContainerFeatureID
public int eContainerFeatureID()
- Description copied from interface:
InternalEObject
- Returns the container feature ID.
If the container isn't a navigable feature, this will be a negative ID indicating the inverse of the containment feature's ID.
- Specified by:
eContainerFeatureID
in interface InternalEObject
- Overrides:
eContainerFeatureID
in class EObjectImpl
- Returns:
- the container feature ID.
- See Also:
EObject.eContainmentFeature()
,
InternalEObject.EOPPOSITE_FEATURE_BASE
eInitializeContainer
protected void eInitializeContainer()
eStore
public InternalEObject.EStore eStore()
- Description copied from interface:
InternalEObject
- Returns the store associated with this object.
- Specified by:
eStore
in interface InternalEObject
- Overrides:
eStore
in class BasicEObjectImpl
- Returns:
- the store associated with this object.
eSetStore
public void eSetStore(InternalEObject.EStore store)
- Description copied from interface:
InternalEObject
- Set the store associated with this object.
Most objects will not support this.
- Specified by:
eSetStore
in interface InternalEObject
- Overrides:
eSetStore
in class BasicEObjectImpl
- Parameters:
store
- the store to associate with this object.