Class CDOObjectImpl
- 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.MinimalEStoreEObjectImpl
-
- org.eclipse.emf.internal.cdo.CDOObjectImpl
-
- All Implemented Interfaces:
CDOObject,CDOWithID,CDOPackageTypeRegistry.CDOObjectMarker,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder,org.eclipse.emf.ecore.InternalEObject,InternalCDOLoadable,InternalCDOObject
- Direct Known Subclasses:
AccessImpl,CDOResourceNodeImpl,ContainedObjectImpl,InvocationImpl,LinkedExpressionImpl,LinkedObjectImpl,ListConstructionImpl,ModelElementImpl,PermissionFilterImpl,PermissionImpl,UserPasswordImpl,ValueImpl
public class CDOObjectImpl extends org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl implements InternalCDOObject
The base class of all nativeobjects.- Author:
- Eike Stepper
-
-
Nested Class Summary
-
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
-
-
Constructor Summary
Constructors Constructor Description CDOObjectImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description InternalCDOClassInfocdoClassInfo()booleancdoConflict()Returnstrueif this object contains local changes that are conflicting with recognized remote changes,falseotherwise.CDOResourcecdoDirectResource()Returns the directly containingresourceof this object, ornullif this object is not an element of thecontentslist of any CDO resource.CDOObjectHistorycdoHistory()CDOIDcdoID()org.eclipse.emf.ecore.EStructuralFeaturecdoInternalDynamicFeature(int dynamicFeatureID)Deprecated.org.eclipse.emf.ecore.InternalEObjectcdoInternalInstance()voidcdoInternalPostAttach()voidcdoInternalPostDetach(boolean remote)Deprecated.voidcdoInternalPostDetach(boolean remote, boolean top)It is really important for accessing the data to go throughcdoStore().voidcdoInternalPostInvalidate()voidcdoInternalPostLoad()voidcdoInternalPostRollback()voidcdoInternalPreAttach()voidcdoInternalPreCommit()voidcdoInternalPreLoad()voidcdoInternalSetID(CDOID id)voidcdoInternalSetResource(CDOResource resource)voidcdoInternalSetRevision(CDORevision revision)CDOStatecdoInternalSetState(CDOState state)voidcdoInternalSetView(CDOView view)booleancdoInvalid()Returnstrueif this object is considered as locally invalid (TODO Simon: please briefly explain what this state means) ,falseotherwise.CDOLockStatecdoLockState()CDOPermissioncdoPermission()Returns the permission of the currentsession's user for this object.voidcdoPrefetch(int depth)Ensures that the revisions of the contained objects up to the given depth are in the localrevision cache.CDOLockcdoReadLock()Returns the read lock associated with this object.voidcdoReload()Deprecated.CDOResourcecdoResource()Returns theresourceof this object, no matter where this object is located in the containment tree of that resource, ornullif this object is not contained in a CDO resource.InternalCDORevisioncdoRevision()Returns therevisionof this object, ornullif this object does currently not have a revision.InternalCDORevisioncdoRevision(boolean loadOnDemand)Returns therevisionof this object, ornullif this object does currently not have a revision and loadOnDemand isfalse.CDOStatecdoState()Returns the localstateof this object.InternalCDOViewcdoView()Returns theviewthis object is associated with, ornullif this object is not associated with a view.CDOLockcdoWriteLock()Returns the write lock associated with this object.CDOLockcdoWriteOption()Returns the write option associated with this object.protected org.eclipse.emf.ecore.util.FeatureMapcreateFeatureMap(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)Deprecated.As of 4.5feature mapsare no longer supported.protected org.eclipse.emf.common.util.EList<?>createList(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)static CDOLockcreateLock(InternalCDOObject object, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType type)protected org.eclipse.emf.internal.cdo.CDOObjectImpl.CDOStoreEcoreEMapcreateMap(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)protected org.eclipse.emf.internal.cdo.CDOObjectImpl.CDOStoreEListcreateOrderedList(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)protected org.eclipse.emf.internal.cdo.CDOObjectImpl.CDOStoreUnorderedEList<java.lang.Object>createUnorderedList(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)java.lang.ObjectdynamicGet(int dynamicFeatureID)voiddynamicSet(int dynamicFeatureID, java.lang.Object value)voiddynamicUnset(int dynamicFeatureID)protected voideAdapterAdded(org.eclipse.emf.common.notify.Adapter adapter)This method must not be private because the MinimalEStoreEObjectImpl in CDO's ecore.minimal (retrofitting) fragment introduces it as a protected method and calls it.protected voideAdapterRemoved(org.eclipse.emf.common.notify.Adapter adapter)This method must not be private because the MinimalEStoreEObjectImpl in CDO's ecore.minimal (retrofitting) fragment introduces it as a protected method and calls it.protected org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList.Listener[]eBasicAdapterListeners()This method is not called by the MinimalEStoreEObjectImpl in CDO's ecore.minimal (retrofitting) fragment but it is called by the normal MinimalEObjectImpl as of EMF 2.9.protected voideBasicSetAdapterListeners(org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList.Listener[] eAdapterListeners)This method is not called by the MinimalEStoreEObjectImpl in CDO's ecore.minimal (retrofitting) fragment but it is called by the normal MinimalEObjectImpl as of EMF 2.9.protected voideBasicSetContainer(org.eclipse.emf.ecore.InternalEObject newEContainer, int newContainerFeatureID)org.eclipse.emf.common.notify.NotificationChaineBasicSetContainer(org.eclipse.emf.ecore.InternalEObject newContainer, int newContainerFeatureID, org.eclipse.emf.common.notify.NotificationChain msgs)Code taken fromBasicEObjectImpl.eBasicSetContainer(org.eclipse.emf.ecore.InternalEObject, int)and modified to detect whether the object is moved in the same context.protected voideBasicSetSettings(java.lang.Object[] settings)protected java.lang.Object[]eBasicSettings()org.eclipse.emf.ecore.EClasseClass()protected org.eclipse.emf.common.notify.Adapter[]eContainerAdapterArray()inteContainerFeatureID()org.eclipse.emf.ecore.resource.Resource.InternaleDirectResource()protected org.eclipse.emf.ecore.EClasseDynamicClass()protected org.eclipse.emf.ecore.EStructuralFeatureeDynamicFeature(int dynamicFeatureID)protected inteDynamicFeatureID(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)protected booleaneDynamicIsSet(int dynamicFeatureID, org.eclipse.emf.ecore.EStructuralFeature eFeature)protected booleaneHasSettings()org.eclipse.emf.ecore.InternalEObjecteInternalContainer()org.eclipse.emf.ecore.resource.Resource.InternaleInternalResource()protected booleaneIsCaching()Don't cache non-transient features in this CDOObject'seSettings().protected booleanemfToString()booleanequals(java.lang.Object obj)Specializing the behavior ofequals(Object)is not permitted as perEObjectspecification.voideSetClass(org.eclipse.emf.ecore.EClass eClass)protected voideSetDirectResource(org.eclipse.emf.ecore.resource.Resource.Internal resource)org.eclipse.emf.common.notify.NotificationChaineSetResource(org.eclipse.emf.ecore.resource.Resource.Internal resource, org.eclipse.emf.common.notify.NotificationChain notifications)Code taken fromBasicEObjectImpl.eSetResource(org.eclipse.emf.ecore.resource.Resource.Internal, org.eclipse.emf.common.notify.NotificationChain)and modified to detect when objects are moved in the same context.protected org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHoldereSettings()org.eclipse.emf.ecore.InternalEObject.EStoreeStore()static CDOLockStategetLockState(InternalCDOObject object)inthashCode()Specializing the behavior ofhashCode()is not permitted as perEObjectspecification.static voidinstanceToRevisionFeature(InternalCDOView view, InternalCDOObject object, org.eclipse.emf.ecore.EStructuralFeature feature, java.lang.Object setting)static voidrevisionToInstanceFeature(InternalCDOObject instance, InternalCDORevision revision, org.eclipse.emf.ecore.EStructuralFeature eFeature)java.lang.StringtoString()-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
eBasicContainerFeatureID, eBasicInternalContainer, eDerivedStructuralFeatureID, eStaticFeatureCount
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eContents, eCrossReferences, eDeliver, eIsProxy, eProperties, eProxyURI, eSetDeliver, eSetProxyURI
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eGet, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSet, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticClass, eStaticOperationCount, eUnset, 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, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eDerivedOperationID, eDerivedStructuralFeatureID, eGet, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSet, eSetProxyURI, eSetStore, eSetting, eUnset, eURIFragmentSegment
-
-
-
-
Method Detail
-
cdoClassInfo
public final InternalCDOClassInfo cdoClassInfo()
- Specified by:
cdoClassInfoin interfaceInternalCDOObject- Since:
- 4.2
-
cdoState
public final CDOState cdoState()
Description copied from interface:CDOObjectReturns the localstateof this object.
-
cdoView
public final InternalCDOView cdoView()
Description copied from interface:CDOObjectReturns theviewthis object is associated with, ornullif this object is not associated with a view. This view manages all aspects of this object and cahces it as long as required.- Specified by:
cdoViewin interfaceCDOObject- Specified by:
cdoViewin interfaceInternalCDOObject- Since:
- 2.0
-
cdoID
public final CDOID cdoID()
Description copied from interface:CDOObjectReturns the technical object identifier of this object, ornullif thestateof this object isTRANSIENTorINVALID.If the state of this object is
NEWthe returned CDOID instance can be cast toCDOIDTempand is unique in the scope of the associatedtransaction. In all other states a non-nullreturn value uniquely identifies a persistent object in the scope of the whole repository.- Specified by:
cdoIDin interfaceCDOObject- Specified by:
cdoIDin interfaceCDOWithID- See Also:
CDOObject.cdoState()
-
cdoRevision
public final InternalCDORevision cdoRevision()
Description copied from interface:CDOObjectReturns therevisionof this object, ornullif this object does currently not have a revision. The revision is used to store all modeled data of this object, together with some technical data required by the framework.- Specified by:
cdoRevisionin interfaceCDOObject- Specified by:
cdoRevisionin interfaceInternalCDOObject- Since:
- 2.0
-
cdoRevision
public final InternalCDORevision cdoRevision(boolean loadOnDemand)
Description copied from interface:CDOObjectReturns therevisionof this object, ornullif this object does currently not have a revision and loadOnDemand isfalse. The revision is used to store all modeled data of this object, together with some technical data required by the framework.- Specified by:
cdoRevisionin interfaceCDOObject- Specified by:
cdoRevisionin interfaceInternalCDOObject- Since:
- 4.3
-
cdoPermission
public final CDOPermission cdoPermission()
Description copied from interface:CDOObjectReturns the permission of the currentsession's user for this object.- Specified by:
cdoPermissionin interfaceCDOObject- Since:
- 4.3
-
cdoResource
public final CDOResource cdoResource()
Description copied from interface:CDOObjectReturns theresourceof this object, no matter where this object is located in the containment tree of that resource, ornullif this object is not contained in a CDO resource.This method may not return
nullreturn for objects that have nodirect resource. Please note that, depending on the containment depth of this object, the evaluation of the resource can be a costly operation.- Specified by:
cdoResourcein interfaceCDOObject- See Also:
CDOObject.cdoDirectResource()
-
cdoDirectResource
public final CDOResource cdoDirectResource()
Description copied from interface:CDOObjectReturns the directly containingresourceof this object, ornullif this object is not an element of thecontentslist of any CDO resource.Please note that, independend of the containment depth of this object, the evaluation of the direct resource is an operation with a constant cost.
- Specified by:
cdoDirectResourcein interfaceCDOObject- Since:
- 2.0
-
cdoPrefetch
public final void cdoPrefetch(int depth)
Description copied from interface:CDOObjectEnsures that the revisions of the contained objects up to the given depth are in the localrevision cache. Subsequent access to the respective contained objects will not lead to server round-trips after calling this method.- Specified by:
cdoPrefetchin interfaceCDOObject- Parameters:
depth-CDORevision.DEPTH_NONE,CDORevision.DEPTH_INFINITEor any other positive integer number.- Since:
- 3.0
-
cdoReload
@Deprecated public final void cdoReload()
Deprecated.
-
cdoHistory
public final CDOObjectHistory cdoHistory()
- Specified by:
cdoHistoryin interfaceCDOObject- Since:
- 4.2
-
cdoConflict
public final boolean cdoConflict()
Description copied from interface:CDOObjectReturnstrueif this object contains local changes that are conflicting with recognized remote changes,falseotherwise.This method is a convenience method to determine whether the
stateof this object is eitherCONFLICTorINVALID_CONFLICT.- Specified by:
cdoConflictin interfaceCDOObject- Since:
- 2.0
-
cdoInvalid
public final boolean cdoInvalid()
Description copied from interface:CDOObjectReturnstrueif this object is considered as locally invalid (TODO Simon: please briefly explain what this state means) ,falseotherwise.This method is a convenience method to determine whether the
stateof this object is eitherINVALIDorINVALID_CONFLICT.- Specified by:
cdoInvalidin interfaceCDOObject- Since:
- 2.0
-
cdoReadLock
public final CDOLock cdoReadLock()
Description copied from interface:CDOObjectReturns the read lock associated with this object.- Specified by:
cdoReadLockin interfaceCDOObject- Returns:
- Never
null. - Since:
- 2.0
-
cdoWriteLock
public final CDOLock cdoWriteLock()
Description copied from interface:CDOObjectReturns the write lock associated with this object.- Specified by:
cdoWriteLockin interfaceCDOObject- Returns:
- Never
null. - Since:
- 2.0
-
cdoWriteOption
public final CDOLock cdoWriteOption()
Description copied from interface:CDOObjectReturns the write option associated with this object.A write option is a lock that
- is exclusive; i.e. can only be held by one view
- prevents other views from obtaining a write lock on the same object
- does not prevent other views from obtaining a read lock on the same object
It thus allows a view to ensure that it is the only that who will be able to obtain a write lock in the future, without preventing read locks to be obtained by others at this moment.
- Specified by:
cdoWriteOptionin interfaceCDOObject- Since:
- 4.1
-
cdoLockState
public final CDOLockState cdoLockState()
Description copied from interface:CDOObject- Specified by:
cdoLockStatein interfaceCDOObject- Since:
- 4.1
-
cdoInternalSetState
public final CDOState cdoInternalSetState(CDOState state)
- Specified by:
cdoInternalSetStatein interfaceInternalCDOObject
-
cdoInternalSetView
public final void cdoInternalSetView(CDOView view)
- Specified by:
cdoInternalSetViewin interfaceInternalCDOObject- Since:
- 2.0
-
cdoInternalSetID
public final void cdoInternalSetID(CDOID id)
- Specified by:
cdoInternalSetIDin interfaceInternalCDOObject
-
cdoInternalSetRevision
public final void cdoInternalSetRevision(CDORevision revision)
- Specified by:
cdoInternalSetRevisionin interfaceInternalCDOObject- Since:
- 2.0
-
cdoInternalSetResource
public final void cdoInternalSetResource(CDOResource resource)
-
cdoInternalPreLoad
public void cdoInternalPreLoad()
- Specified by:
cdoInternalPreLoadin interfaceInternalCDOLoadable- Since:
- 2.0
-
cdoInternalPostLoad
public final void cdoInternalPostLoad()
- Specified by:
cdoInternalPostLoadin interfaceInternalCDOLoadable
-
cdoInternalPostInvalidate
public final void cdoInternalPostInvalidate()
- Specified by:
cdoInternalPostInvalidatein interfaceInternalCDOObject- Since:
- 2.0
-
cdoInternalPreAttach
public void cdoInternalPreAttach()
- Specified by:
cdoInternalPreAttachin interfaceInternalCDOObject- Since:
- 4.7
-
cdoInternalPostAttach
public final void cdoInternalPostAttach()
- Specified by:
cdoInternalPostAttachin interfaceInternalCDOObject
-
cdoInternalPostDetach
public void cdoInternalPostDetach(boolean remote, boolean top)It is really important for accessing the data to go throughcdoStore().eStore()will redirect you to the transient data.- Specified by:
cdoInternalPostDetachin interfaceInternalCDOObject- Since:
- 2.0
-
cdoInternalPostRollback
public final void cdoInternalPostRollback()
- Specified by:
cdoInternalPostRollbackin interfaceInternalCDOObject- Since:
- 3.0
-
cdoInternalPreCommit
public final void cdoInternalPreCommit()
- Specified by:
cdoInternalPreCommitin interfaceInternalCDOObject
-
cdoInternalInstance
public final org.eclipse.emf.ecore.InternalEObject cdoInternalInstance()
- Specified by:
cdoInternalInstancein interfaceInternalCDOObject
-
cdoInternalDynamicFeature
@Deprecated public final org.eclipse.emf.ecore.EStructuralFeature cdoInternalDynamicFeature(int dynamicFeatureID)
Deprecated.- Specified by:
cdoInternalDynamicFeaturein interfaceInternalCDOObject
-
cdoInternalPostDetach
@Deprecated public void cdoInternalPostDetach(boolean remote)
Deprecated.- Specified by:
cdoInternalPostDetachin interfaceInternalCDOObject
-
eStore
public final org.eclipse.emf.ecore.InternalEObject.EStore eStore()
- Specified by:
eStorein interfaceorg.eclipse.emf.ecore.InternalEObject- Specified by:
eStorein classorg.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl- Since:
- 2.0
-
eDynamicClass
protected final org.eclipse.emf.ecore.EClass eDynamicClass()
- Overrides:
eDynamicClassin classorg.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
eClass
public final org.eclipse.emf.ecore.EClass eClass()
- Specified by:
eClassin interfaceorg.eclipse.emf.ecore.EObject- Overrides:
eClassin classorg.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
eSetClass
public void eSetClass(org.eclipse.emf.ecore.EClass eClass)
- Specified by:
eSetClassin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetClassin classorg.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
eDirectResource
public org.eclipse.emf.ecore.resource.Resource.Internal eDirectResource()
- Specified by:
eDirectResourcein interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eDirectResourcein classorg.eclipse.emf.ecore.impl.MinimalEObjectImpl- Since:
- 2.0
-
eInternalResource
public final org.eclipse.emf.ecore.resource.Resource.Internal eInternalResource()
- Specified by:
eInternalResourcein interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eInternalResourcein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
dynamicGet
public final java.lang.Object dynamicGet(int dynamicFeatureID)
- Specified by:
dynamicGetin interfaceorg.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder- Overrides:
dynamicGetin classorg.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
-
dynamicSet
public final void dynamicSet(int dynamicFeatureID, java.lang.Object value)- Specified by:
dynamicSetin interfaceorg.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder- Overrides:
dynamicSetin classorg.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
-
dynamicUnset
public final void dynamicUnset(int dynamicFeatureID)
- Specified by:
dynamicUnsetin interfaceorg.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder- Overrides:
dynamicUnsetin classorg.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
-
eDynamicIsSet
protected final boolean eDynamicIsSet(int dynamicFeatureID, org.eclipse.emf.ecore.EStructuralFeature eFeature)- Overrides:
eDynamicIsSetin classorg.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl- Since:
- 2.0
-
eInternalContainer
public final org.eclipse.emf.ecore.InternalEObject eInternalContainer()
- Specified by:
eInternalContainerin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eInternalContainerin classorg.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
-
eContainerFeatureID
public final int eContainerFeatureID()
- Specified by:
eContainerFeatureIDin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eContainerFeatureIDin classorg.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
-
eBasicSetContainer
public org.eclipse.emf.common.notify.NotificationChain eBasicSetContainer(org.eclipse.emf.ecore.InternalEObject newContainer, int newContainerFeatureID, org.eclipse.emf.common.notify.NotificationChain msgs)Code taken fromBasicEObjectImpl.eBasicSetContainer(org.eclipse.emf.ecore.InternalEObject, int)and modified to detect whether the object is moved in the same context. (E.g.: An object is moved from resA to resB. resA and resB belongs to the same CDORepositoryInfo. Without this special handling, a detach and newObject will be generated for the object moved)- Specified by:
eBasicSetContainerin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eBasicSetContainerin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Since:
- 2.0
-
eSetResource
public final org.eclipse.emf.common.notify.NotificationChain eSetResource(org.eclipse.emf.ecore.resource.Resource.Internal resource, org.eclipse.emf.common.notify.NotificationChain notifications)Code taken fromBasicEObjectImpl.eSetResource(org.eclipse.emf.ecore.resource.Resource.Internal, org.eclipse.emf.common.notify.NotificationChain)and modified to detect when objects are moved in the same context.- Specified by:
eSetResourcein interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetResourcein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Since:
- 2.0
-
eSetDirectResource
protected void eSetDirectResource(org.eclipse.emf.ecore.resource.Resource.Internal resource)
- Overrides:
eSetDirectResourcein classorg.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
eBasicSetContainer
protected final void eBasicSetContainer(org.eclipse.emf.ecore.InternalEObject newEContainer, int newContainerFeatureID)- Overrides:
eBasicSetContainerin classorg.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
eDynamicFeatureID
protected final int eDynamicFeatureID(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
- Overrides:
eDynamicFeatureIDin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eDynamicFeature
protected final org.eclipse.emf.ecore.EStructuralFeature eDynamicFeature(int dynamicFeatureID)
- Overrides:
eDynamicFeaturein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSettings
protected final org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder eSettings()
- Overrides:
eSettingsin classorg.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
eHasSettings
protected final boolean eHasSettings()
- Overrides:
eHasSettingsin classorg.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
eBasicSettings
protected final java.lang.Object[] eBasicSettings()
- Overrides:
eBasicSettingsin classorg.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
eBasicSetSettings
protected final void eBasicSetSettings(java.lang.Object[] settings)
- Overrides:
eBasicSetSettingsin classorg.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
eIsCaching
protected final boolean eIsCaching()
Don't cache non-transient features in this CDOObject'seSettings().- Overrides:
eIsCachingin classorg.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
-
eContainerAdapterArray
protected final org.eclipse.emf.common.notify.Adapter[] eContainerAdapterArray()
- Overrides:
eContainerAdapterArrayin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eBasicAdapterListeners
protected final org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList.Listener[] eBasicAdapterListeners()
This method is not called by the MinimalEStoreEObjectImpl in CDO's ecore.minimal (retrofitting) fragment but it is called by the normal MinimalEObjectImpl as of EMF 2.9.- Overrides:
eBasicAdapterListenersin classorg.eclipse.emf.ecore.impl.MinimalEObjectImpl- Since:
- 4.2
-
eBasicSetAdapterListeners
protected final void eBasicSetAdapterListeners(org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList.Listener[] eAdapterListeners)
This method is not called by the MinimalEStoreEObjectImpl in CDO's ecore.minimal (retrofitting) fragment but it is called by the normal MinimalEObjectImpl as of EMF 2.9.- Overrides:
eBasicSetAdapterListenersin classorg.eclipse.emf.ecore.impl.MinimalEObjectImpl- Since:
- 4.2
-
eAdapterAdded
protected final void eAdapterAdded(org.eclipse.emf.common.notify.Adapter adapter)
This method must not be private because the MinimalEStoreEObjectImpl in CDO's ecore.minimal (retrofitting) fragment introduces it as a protected method and calls it.- Since:
- 4.2
-
eAdapterRemoved
protected final void eAdapterRemoved(org.eclipse.emf.common.notify.Adapter adapter)
This method must not be private because the MinimalEStoreEObjectImpl in CDO's ecore.minimal (retrofitting) fragment introduces it as a protected method and calls it.- Since:
- 4.2
-
hashCode
public final int hashCode()
Specializing the behavior ofhashCode()is not permitted as perEObjectspecification.- Overrides:
hashCodein classjava.lang.Object
-
equals
public final boolean equals(java.lang.Object obj)
Specializing the behavior ofequals(Object)is not permitted as perEObjectspecification.- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
emfToString
protected boolean emfToString()
- Since:
- 4.12
-
createFeatureMap
@Deprecated protected final org.eclipse.emf.ecore.util.FeatureMap createFeatureMap(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
Deprecated.As of 4.5feature mapsare no longer supported.- Overrides:
createFeatureMapin classorg.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
-
createList
protected org.eclipse.emf.common.util.EList<?> createList(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
- Overrides:
createListin classorg.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
-
createOrderedList
protected final org.eclipse.emf.internal.cdo.CDOObjectImpl.CDOStoreEList createOrderedList(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
- Since:
- 4.8
-
createUnorderedList
protected final org.eclipse.emf.internal.cdo.CDOObjectImpl.CDOStoreUnorderedEList<java.lang.Object> createUnorderedList(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
- Since:
- 4.1
-
createMap
protected final org.eclipse.emf.internal.cdo.CDOObjectImpl.CDOStoreEcoreEMap createMap(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
- Since:
- 4.1
-
instanceToRevisionFeature
public static void instanceToRevisionFeature(InternalCDOView view, InternalCDOObject object, org.eclipse.emf.ecore.EStructuralFeature feature, java.lang.Object setting)
- Since:
- 3.0
-
revisionToInstanceFeature
public static void revisionToInstanceFeature(InternalCDOObject instance, InternalCDORevision revision, org.eclipse.emf.ecore.EStructuralFeature eFeature)
- Since:
- 2.0
-
createLock
public static CDOLock createLock(InternalCDOObject object, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType type)
- Since:
- 4.1
-
getLockState
public static CDOLockState getLockState(InternalCDOObject object)
- Since:
- 4.1
-
-