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
- public class CDOExtentCreator
- extends Object
- implements OCLExtentCreator
An OCL extent creator
implementation for CDO.
The extent
of a class
X is the set of all objects
with object.getEClass() == X
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CDOExtentCreator
public CDOExtentCreator(CDOView view)
getView
public CDOView getView()
getChangeSetData
public CDOChangeSetData getChangeSetData()
setChangeSetData
public void setChangeSetData(CDOChangeSetData changeSetData)
getRevisionCacheAdder
public CDORevisionCacheAdder getRevisionCacheAdder()
setRevisionCacheAdder
public void setRevisionCacheAdder(CDORevisionCacheAdder revisionCacheAdder)
createExtent
public Set<EObject> createExtent(EClass eClass,
AtomicBoolean canceled)
- Specified by:
createExtent
in interface OCLExtentCreator
createExtent
protected Set<EObject> createExtent(EClass eClass,
IStoreAccessor accessor,
CDOBranch branch,
long timeStamp,
AtomicBoolean canceled)
isDetached
protected boolean isDetached(CDOID id)
getEObject
protected EObject getEObject(CDOID id)
throws ObjectNotFoundException
- Throws:
ObjectNotFoundException
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.