Package org.eclipse.emf.cdo.server.ocl
Class CDOExtentCreator
java.lang.Object
org.eclipse.emf.cdo.server.ocl.CDOExtentCreator
- All Implemented Interfaces:
OCLExtentCreator
- Direct Known Subclasses:
CDOExtentCreator.Lazy
An OCL
extent creator
implementation for CDO.
The extent
of a class
X is the set of all objects
with object.getEClass() == X
.
- Author:
- Eike Stepper
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Anextent creator
that creates extent sets which support a lazy populating iterator. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateExtent
(EClass eClass, AtomicBoolean canceled) createExtent
(EClass eClass, IStoreAccessor accessor, CDOBranch branch, long timeStamp, AtomicBoolean canceled) protected void
createExtent
(EClass eClass, IStoreAccessor accessor, CDOBranch branch, long timeStamp, AtomicBoolean canceled, CDORevisionHandler revisionHandler) protected EObject
getEObject
(CDOID id) Deprecated.getView()
protected void
handleRevisions
(EClass eClass, IStoreAccessor accessor, CDOBranch branch, long timeStamp, CDORevisionHandler revisionHandler) protected boolean
isDetached
(CDOID id) void
setChangeSetData
(CDOChangeSetData changeSetData) void
setRevisionCacheAdder
(CDORevisionCacheAdder revisionCacheAdder) Deprecated.As of 4.4 usesetRevisionInterner(CDORevisionInterner)
.void
setRevisionInterner
(CDORevisionInterner revisionInterner)
-
Constructor Details
-
CDOExtentCreator
-
-
Method Details
-
getView
-
getChangeSetData
-
setChangeSetData
-
getRevisionInterner
- Since:
- 4.4
-
setRevisionInterner
- Since:
- 4.4
-
getRevisionCacheAdder
Deprecated.As of 4.4 usegetRevisionInterner()
. -
setRevisionCacheAdder
Deprecated.As of 4.4 usesetRevisionInterner(CDORevisionInterner)
. -
createExtent
- Specified by:
createExtent
in interfaceOCLExtentCreator
-
createExtent
protected Set<EObject> createExtent(EClass eClass, IStoreAccessor accessor, CDOBranch branch, long timeStamp, AtomicBoolean canceled) -
createExtent
protected void createExtent(EClass eClass, IStoreAccessor accessor, CDOBranch branch, long timeStamp, AtomicBoolean canceled, CDORevisionHandler revisionHandler) - Since:
- 4.1
-
handleRevisions
protected void handleRevisions(EClass eClass, IStoreAccessor accessor, CDOBranch branch, long timeStamp, CDORevisionHandler revisionHandler) - Since:
- 4.2
-
isDetached
-
getEObject
- Throws:
ObjectNotFoundException
-
getRevisionInterner()
.