Class CDOObjectImpl
- java.lang.Object
-
- All Implemented Interfaces:
CDOObject
,CDOWithID
,CDOPackageTypeRegistry.CDOObjectMarker
,Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,InternalCDOLoadable
,InternalCDOObject
- Direct Known Subclasses:
AccessImpl
,CDOResourceNodeImpl
,ContainedObjectImpl
,InvocationImpl
,LinkedExpressionImpl
,LinkedObjectImpl
,ListConstructionImpl
,ModelElementImpl
,PermissionFilterImpl
,PermissionImpl
,UserPasswordImpl
,ValueImpl
public class CDOObjectImpl extends 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
MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
-
Field Summary
-
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 Constructor Description CDOObjectImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description InternalCDOClassInfo
cdoClassInfo()
boolean
cdoConflict()
Returnstrue
if this object contains local changes that are conflicting with recognized remote changes,false
otherwise.CDOResource
cdoDirectResource()
CDOObjectHistory
cdoHistory()
CDOID
cdoID()
EStructuralFeature
cdoInternalDynamicFeature(int dynamicFeatureID)
Deprecated.InternalEObject
cdoInternalInstance()
void
cdoInternalPostAttach()
void
cdoInternalPostDetach(boolean remote)
It is really important for accessing the data to go throughcdoStore()
.void
cdoInternalPostInvalidate()
void
cdoInternalPostLoad()
void
cdoInternalPostRollback()
void
cdoInternalPreAttach()
void
cdoInternalPreCommit()
void
cdoInternalPreLoad()
void
cdoInternalSetID(CDOID id)
void
cdoInternalSetResource(CDOResource resource)
void
cdoInternalSetRevision(CDORevision revision)
CDOState
cdoInternalSetState(CDOState state)
void
cdoInternalSetView(CDOView view)
boolean
cdoInvalid()
Returnstrue
if this object is considered as locally invalid (TODO Simon: please briefly explain what this state means) ,false
otherwise.CDOLockState
cdoLockState()
Returns theCDOLockState
of this object.CDOPermission
cdoPermission()
Returns the permission of the currentsession
's user for this object.void
cdoPrefetch(int depth)
Ensures that the revisions of the contained objects up to the given depth are in the localrevision cache
.CDOLock
cdoReadLock()
Returns the read lock associated with this object.void
cdoReload()
Deprecated.CDOResource
cdoResource()
Returns theresource
of this object, no matter where this object is located in the containment tree of that resource, ornull
if this object is not contained in a CDO resource.InternalCDORevision
cdoRevision()
Returns therevision
of this object, ornull
if this object does currently not have a revision.InternalCDORevision
cdoRevision(boolean loadOnDemand)
Returns therevision
of this object, ornull
if this object does currently not have a revision and loadOnDemand isfalse
.CDOState
cdoState()
Returns the localstate
of this object.InternalCDOView
cdoView()
Returns theview
this object is associated with, ornull
if this object is not associated with a view.CDOLock
cdoWriteLock()
Returns the write lock associated with this object.CDOLock
cdoWriteOption()
Returns the write option associated with this object.protected FeatureMap
createFeatureMap(EStructuralFeature eStructuralFeature)
Deprecated.As of 4.5feature maps
are no longer supported.protected EList<?>
createList(EStructuralFeature eStructuralFeature)
static CDOLock
createLock(InternalCDOObject object, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType type)
protected org.eclipse.emf.internal.cdo.CDOObjectImpl.CDOStoreEcoreEMap
createMap(EStructuralFeature eStructuralFeature)
protected org.eclipse.emf.internal.cdo.CDOObjectImpl.CDOStoreEList
createOrderedList(EStructuralFeature eStructuralFeature)
protected org.eclipse.emf.internal.cdo.CDOObjectImpl.CDOStoreUnorderedEList<java.lang.Object>
createUnorderedList(EStructuralFeature eStructuralFeature)
java.lang.Object
dynamicGet(int dynamicFeatureID)
void
dynamicSet(int dynamicFeatureID, java.lang.Object value)
void
dynamicUnset(int dynamicFeatureID)
protected void
eAdapterAdded(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 void
eAdapterRemoved(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 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 void
eBasicSetAdapterListeners(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 void
eBasicSetContainer(InternalEObject newEContainer, int newContainerFeatureID)
NotificationChain
eBasicSetContainer(InternalEObject newContainer, int newContainerFeatureID, 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 void
eBasicSetSettings(java.lang.Object[] settings)
protected java.lang.Object[]
eBasicSettings()
EClass
eClass()
protected Adapter[]
eContainerAdapterArray()
int
eContainerFeatureID()
Resource.Internal
eDirectResource()
protected EClass
eDynamicClass()
protected EStructuralFeature
eDynamicFeature(int dynamicFeatureID)
protected int
eDynamicFeatureID(EStructuralFeature eStructuralFeature)
protected boolean
eDynamicIsSet(int dynamicFeatureID, EStructuralFeature eFeature)
protected boolean
eHasSettings()
InternalEObject
eInternalContainer()
Resource.Internal
eInternalResource()
protected boolean
eIsCaching()
Don't cache non-transient features in this CDOObject'seSettings()
.protected boolean
emfToString()
boolean
equals(java.lang.Object obj)
Specializing the behavior ofequals(Object)
is not permitted as perEObject
specification.void
eSetClass(EClass eClass)
protected void
eSetDirectResource(Resource.Internal resource)
NotificationChain
eSetResource(Resource.Internal resource, 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 EStructuralFeature.Internal.DynamicValueHolder
eSettings()
InternalEObject.EStore
eStore()
static CDOLockState
getLockState(InternalCDOObject object)
int
hashCode()
Specializing the behavior ofhashCode()
is not permitted as perEObject
specification.static void
instanceToRevisionFeature(InternalCDOView view, InternalCDOObject object, EStructuralFeature feature, java.lang.Object setting)
static void
revisionToInstanceFeature(InternalCDOObject instance, InternalCDORevision revision, EStructuralFeature eFeature)
java.lang.String
toString()
-
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
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
cdoClassInfo
public final InternalCDOClassInfo cdoClassInfo()
- Specified by:
cdoClassInfo
in interfaceInternalCDOObject
- Since:
- 4.2
-
cdoState
public final CDOState cdoState()
Description copied from interface:CDOObject
Returns the localstate
of this object.
-
cdoView
public final InternalCDOView cdoView()
Description copied from interface:CDOObject
Returns theview
this object is associated with, ornull
if 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:
cdoView
in interfaceCDOObject
- Specified by:
cdoView
in interfaceInternalCDOObject
- Since:
- 2.0
-
cdoID
public final CDOID cdoID()
Description copied from interface:CDOObject
Returns the technical object identifier of this object, ornull
if thestate
of this object isTRANSIENT
orINVALID
.If the state of this object is
NEW
the returned CDOID instance can be cast toCDOIDTemp
and is unique in the scope of the associatedtransaction
. In all other states a non-null
return value uniquely identifies a persistent object in the scope of the whole repository.- Specified by:
cdoID
in interfaceCDOObject
- Specified by:
cdoID
in interfaceCDOWithID
- See Also:
CDOObject.cdoState()
-
cdoRevision
public final InternalCDORevision cdoRevision()
Description copied from interface:CDOObject
Returns therevision
of this object, ornull
if 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:
cdoRevision
in interfaceCDOObject
- Specified by:
cdoRevision
in interfaceInternalCDOObject
- Since:
- 2.0
-
cdoRevision
public final InternalCDORevision cdoRevision(boolean loadOnDemand)
Description copied from interface:CDOObject
Returns therevision
of this object, ornull
if 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:
cdoRevision
in interfaceCDOObject
- Specified by:
cdoRevision
in interfaceInternalCDOObject
- Since:
- 4.3
-
cdoPermission
public final CDOPermission cdoPermission()
Description copied from interface:CDOObject
Returns the permission of the currentsession
's user for this object.- Specified by:
cdoPermission
in interfaceCDOObject
- Since:
- 4.3
-
cdoResource
public final CDOResource cdoResource()
Description copied from interface:CDOObject
Returns theresource
of this object, no matter where this object is located in the containment tree of that resource, ornull
if this object is not contained in a CDO resource.This method may not return
null
return 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:
cdoResource
in interfaceCDOObject
- See Also:
CDOObject.cdoDirectResource()
-
cdoDirectResource
public final CDOResource cdoDirectResource()
Description copied from interface:CDOObject
Returns the directly containingresource
of this object, ornull
if this object is not an element of thecontents
list 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:
cdoDirectResource
in interfaceCDOObject
- Since:
- 2.0
-
cdoPrefetch
public final void cdoPrefetch(int depth)
Description copied from interface:CDOObject
Ensures 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:
cdoPrefetch
in interfaceCDOObject
- Parameters:
depth
-CDORevision.DEPTH_NONE
,CDORevision.DEPTH_INFINITE
or any other positive integer number.- Since:
- 3.0
-
cdoReload
@Deprecated public final void cdoReload()
Deprecated.
-
cdoHistory
public final CDOObjectHistory cdoHistory()
- Specified by:
cdoHistory
in interfaceCDOObject
- Since:
- 4.2
-
cdoConflict
public final boolean cdoConflict()
Description copied from interface:CDOObject
Returnstrue
if this object contains local changes that are conflicting with recognized remote changes,false
otherwise.This method is a convenience method to determine whether the
state
of this object is eitherCONFLICT
orINVALID_CONFLICT
.- Specified by:
cdoConflict
in interfaceCDOObject
- Since:
- 2.0
-
cdoInvalid
public final boolean cdoInvalid()
Description copied from interface:CDOObject
Returnstrue
if this object is considered as locally invalid (TODO Simon: please briefly explain what this state means) ,false
otherwise.This method is a convenience method to determine whether the
state
of this object is eitherINVALID
orINVALID_CONFLICT
.- Specified by:
cdoInvalid
in interfaceCDOObject
- Since:
- 2.0
-
cdoReadLock
public final CDOLock cdoReadLock()
Description copied from interface:CDOObject
Returns the read lock associated with this object.- Specified by:
cdoReadLock
in interfaceCDOObject
- Returns:
- Never
null
. - Since:
- 2.0
-
cdoWriteLock
public final CDOLock cdoWriteLock()
Description copied from interface:CDOObject
Returns the write lock associated with this object.- Specified by:
cdoWriteLock
in interfaceCDOObject
- Returns:
- Never
null
. - Since:
- 2.0
-
cdoWriteOption
public final CDOLock cdoWriteOption()
Description copied from interface:CDOObject
Returns 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:
cdoWriteOption
in interfaceCDOObject
- Since:
- 4.1
-
cdoLockState
public final CDOLockState cdoLockState()
Description copied from interface:CDOObject
Returns theCDOLockState
of this object.- Specified by:
cdoLockState
in interfaceCDOObject
- Since:
- 4.1
-
cdoInternalSetState
public final CDOState cdoInternalSetState(CDOState state)
- Specified by:
cdoInternalSetState
in interfaceInternalCDOObject
-
cdoInternalSetView
public final void cdoInternalSetView(CDOView view)
- Specified by:
cdoInternalSetView
in interfaceInternalCDOObject
- Since:
- 2.0
-
cdoInternalSetID
public final void cdoInternalSetID(CDOID id)
- Specified by:
cdoInternalSetID
in interfaceInternalCDOObject
-
cdoInternalSetRevision
public final void cdoInternalSetRevision(CDORevision revision)
- Specified by:
cdoInternalSetRevision
in interfaceInternalCDOObject
- Since:
- 2.0
-
cdoInternalSetResource
public final void cdoInternalSetResource(CDOResource resource)
-
cdoInternalPreLoad
public void cdoInternalPreLoad()
- Specified by:
cdoInternalPreLoad
in interfaceInternalCDOLoadable
- Since:
- 2.0
-
cdoInternalPostLoad
public final void cdoInternalPostLoad()
- Specified by:
cdoInternalPostLoad
in interfaceInternalCDOLoadable
-
cdoInternalPostInvalidate
public final void cdoInternalPostInvalidate()
- Specified by:
cdoInternalPostInvalidate
in interfaceInternalCDOObject
- Since:
- 2.0
-
cdoInternalPreAttach
public void cdoInternalPreAttach()
- Specified by:
cdoInternalPreAttach
in interfaceInternalCDOObject
- Since:
- 4.7
-
cdoInternalPostAttach
public final void cdoInternalPostAttach()
- Specified by:
cdoInternalPostAttach
in interfaceInternalCDOObject
-
cdoInternalPostDetach
public void cdoInternalPostDetach(boolean remote)
It is really important for accessing the data to go throughcdoStore()
.eStore()
will redirect you to the transient data.- Specified by:
cdoInternalPostDetach
in interfaceInternalCDOObject
- Since:
- 2.0
-
cdoInternalPostRollback
public final void cdoInternalPostRollback()
- Specified by:
cdoInternalPostRollback
in interfaceInternalCDOObject
- Since:
- 3.0
-
cdoInternalPreCommit
public final void cdoInternalPreCommit()
- Specified by:
cdoInternalPreCommit
in interfaceInternalCDOObject
-
cdoInternalInstance
public final InternalEObject cdoInternalInstance()
- Specified by:
cdoInternalInstance
in interfaceInternalCDOObject
-
cdoInternalDynamicFeature
@Deprecated public final EStructuralFeature cdoInternalDynamicFeature(int dynamicFeatureID)
Deprecated.- Specified by:
cdoInternalDynamicFeature
in interfaceInternalCDOObject
-
eStore
public final InternalEObject.EStore eStore()
- Specified by:
eStore
in interfaceInternalEObject
- Specified by:
eStore
in classMinimalEStoreEObjectImpl
- Since:
- 2.0
-
eDynamicClass
protected final EClass eDynamicClass()
- Overrides:
eDynamicClass
in classMinimalEObjectImpl
-
eClass
public final EClass eClass()
- Specified by:
eClass
in interfaceEObject
- Overrides:
eClass
in classMinimalEObjectImpl
-
eSetClass
public void eSetClass(EClass eClass)
- Specified by:
eSetClass
in interfaceInternalEObject
- Overrides:
eSetClass
in classMinimalEObjectImpl
-
eDirectResource
public Resource.Internal eDirectResource()
- Specified by:
eDirectResource
in interfaceInternalEObject
- Overrides:
eDirectResource
in classMinimalEObjectImpl
- Since:
- 2.0
-
eInternalResource
public final Resource.Internal eInternalResource()
- Specified by:
eInternalResource
in interfaceInternalEObject
- Overrides:
eInternalResource
in classBasicEObjectImpl
-
dynamicGet
public final java.lang.Object dynamicGet(int dynamicFeatureID)
- Specified by:
dynamicGet
in interfaceEStructuralFeature.Internal.DynamicValueHolder
- Overrides:
dynamicGet
in classMinimalEStoreEObjectImpl
-
dynamicSet
public final void dynamicSet(int dynamicFeatureID, java.lang.Object value)
- Specified by:
dynamicSet
in interfaceEStructuralFeature.Internal.DynamicValueHolder
- Overrides:
dynamicSet
in classMinimalEStoreEObjectImpl
-
dynamicUnset
public final void dynamicUnset(int dynamicFeatureID)
- Specified by:
dynamicUnset
in interfaceEStructuralFeature.Internal.DynamicValueHolder
- Overrides:
dynamicUnset
in classMinimalEStoreEObjectImpl
-
eDynamicIsSet
protected final boolean eDynamicIsSet(int dynamicFeatureID, EStructuralFeature eFeature)
- Overrides:
eDynamicIsSet
in classMinimalEStoreEObjectImpl
- Since:
- 2.0
-
eInternalContainer
public final InternalEObject eInternalContainer()
- Specified by:
eInternalContainer
in interfaceInternalEObject
- Overrides:
eInternalContainer
in classMinimalEStoreEObjectImpl
-
eContainerFeatureID
public final int eContainerFeatureID()
- Specified by:
eContainerFeatureID
in interfaceInternalEObject
- Overrides:
eContainerFeatureID
in classMinimalEStoreEObjectImpl
-
eBasicSetContainer
public NotificationChain eBasicSetContainer(InternalEObject newContainer, int newContainerFeatureID, 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:
eBasicSetContainer
in interfaceInternalEObject
- Overrides:
eBasicSetContainer
in classBasicEObjectImpl
- Since:
- 2.0
-
eSetResource
public final NotificationChain eSetResource(Resource.Internal resource, 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:
eSetResource
in interfaceInternalEObject
- Overrides:
eSetResource
in classBasicEObjectImpl
- Since:
- 2.0
-
eSetDirectResource
protected void eSetDirectResource(Resource.Internal resource)
- Overrides:
eSetDirectResource
in classMinimalEObjectImpl
-
eBasicSetContainer
protected final void eBasicSetContainer(InternalEObject newEContainer, int newContainerFeatureID)
- Overrides:
eBasicSetContainer
in classMinimalEObjectImpl
-
eDynamicFeatureID
protected final int eDynamicFeatureID(EStructuralFeature eStructuralFeature)
- Overrides:
eDynamicFeatureID
in classBasicEObjectImpl
-
eDynamicFeature
protected final EStructuralFeature eDynamicFeature(int dynamicFeatureID)
- Overrides:
eDynamicFeature
in classBasicEObjectImpl
-
eSettings
protected final EStructuralFeature.Internal.DynamicValueHolder eSettings()
- Overrides:
eSettings
in classMinimalEObjectImpl
-
eHasSettings
protected final boolean eHasSettings()
- Overrides:
eHasSettings
in classMinimalEObjectImpl
-
eBasicSettings
protected final java.lang.Object[] eBasicSettings()
- Overrides:
eBasicSettings
in classMinimalEObjectImpl
-
eBasicSetSettings
protected final void eBasicSetSettings(java.lang.Object[] settings)
- Overrides:
eBasicSetSettings
in classMinimalEObjectImpl
-
eIsCaching
protected final boolean eIsCaching()
Don't cache non-transient features in this CDOObject'seSettings()
.- Overrides:
eIsCaching
in classMinimalEStoreEObjectImpl
-
eContainerAdapterArray
protected final Adapter[] eContainerAdapterArray()
- Overrides:
eContainerAdapterArray
in classBasicEObjectImpl
-
eBasicAdapterListeners
protected final 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:
eBasicAdapterListeners
in classMinimalEObjectImpl
- Since:
- 4.2
-
eBasicSetAdapterListeners
protected final void eBasicSetAdapterListeners(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:
eBasicSetAdapterListeners
in classMinimalEObjectImpl
- Since:
- 4.2
-
eAdapterAdded
protected final void eAdapterAdded(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(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 perEObject
specification.- Overrides:
hashCode
in classjava.lang.Object
-
equals
public final boolean equals(java.lang.Object obj)
Specializing the behavior ofequals(Object)
is not permitted as perEObject
specification.- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classBasicEObjectImpl
-
emfToString
protected boolean emfToString()
- Since:
- 4.12
-
createFeatureMap
@Deprecated protected final FeatureMap createFeatureMap(EStructuralFeature eStructuralFeature)
Deprecated.As of 4.5feature maps
are no longer supported.- Overrides:
createFeatureMap
in classMinimalEStoreEObjectImpl
-
createList
protected EList<?> createList(EStructuralFeature eStructuralFeature)
- Overrides:
createList
in classMinimalEStoreEObjectImpl
-
createOrderedList
protected final org.eclipse.emf.internal.cdo.CDOObjectImpl.CDOStoreEList createOrderedList(EStructuralFeature eStructuralFeature)
- Since:
- 4.8
-
createUnorderedList
protected final org.eclipse.emf.internal.cdo.CDOObjectImpl.CDOStoreUnorderedEList<java.lang.Object> createUnorderedList(EStructuralFeature eStructuralFeature)
- Since:
- 4.1
-
createMap
protected final org.eclipse.emf.internal.cdo.CDOObjectImpl.CDOStoreEcoreEMap createMap(EStructuralFeature eStructuralFeature)
- Since:
- 4.1
-
instanceToRevisionFeature
public static void instanceToRevisionFeature(InternalCDOView view, InternalCDOObject object, EStructuralFeature feature, java.lang.Object setting)
- Since:
- 3.0
-
revisionToInstanceFeature
public static void revisionToInstanceFeature(InternalCDOObject instance, InternalCDORevision revision, 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
-
-