Class SyntheticCDORevision
- java.lang.Object
- 
- org.eclipse.emf.cdo.spi.common.revision.AbstractCDORevision
- 
- org.eclipse.emf.cdo.spi.common.revision.StubCDORevision
- 
- org.eclipse.emf.cdo.spi.common.revision.SyntheticCDORevision
 
 
 
- 
- All Implemented Interfaces:
- CDOBranchPoint,- CDOBranchProvider,- CDOBranchVersion,- CDOIdentifiable,- CDOIDAndVersion,- CDORevisable,- CDORevision,- CDORevisionData,- CDORevisionKey,- CDOTimeProvider,- CDOVersionProvider,- CDOBranchAdjustable,- CDOReferenceAdjustable,- InternalCDORevision
 - Direct Known Subclasses:
- DetachedCDORevision,- PointerCDORevision
 
 public abstract class SyntheticCDORevision extends StubCDORevision A synthetic revision that represents the initial period of an object in abranchwhen the object is still associated with a revision from one of the baseline branches. It always hasversionzeroand can only appear in branches below themainbranch.Synthetic revisions are used for two slightly different purposes: - For cacheoptimization.
- As a persistent "detach marker" indicating that the first modification of an object in a branch is its deletion.
 Instances of this marker revision are not supposed to be exposed outside of a revision manager. They are mainly used in the communication between a revision manager and its associated revisionloader.- Since:
- 3.0
- Author:
- Eike Stepper
 
- 
- 
Field Summary- 
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPointINVALID_DATE, UNSPECIFIED_DATE
 - 
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchVersionUNSPECIFIED_VERSION
 - 
Fields inherited from interface org.eclipse.emf.cdo.common.revision.CDORevisionDEPTH_INFINITE, DEPTH_NONE, FIRST_VERSION, MAIN_BRANCH_ID, PERMISSION_PROVIDER, UNCHUNKED
 - 
Fields inherited from interface org.eclipse.emf.cdo.common.revision.CDORevisionDataNIL
 - 
Fields inherited from interface org.eclipse.emf.cdo.spi.common.revision.InternalCDORevisionDO_NOT_CREATE_LIST
 
- 
 - 
Constructor SummaryConstructors Constructor Description SyntheticCDORevision(org.eclipse.emf.ecore.EClass eClass, CDOID id, CDOBranch branch)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfreeze()InternalCDOBranchgetBranch()Returns the branch of this branch version.CDOIDgetID()- 
Methods inherited from class org.eclipse.emf.cdo.spi.common.revision.StubCDORevisionadd, adjustBranches, adjustReferences, bypassPermissionChecks, clear, clearValues, compare, compareTo, contains, convertEObjects, copy, get, getContainerID, getContainingFeatureID, getListOrNull, getOrCreateList, getOrCreateList, getPermission, getResourceID, getResourceNodeName, getRevised, getTimeStamp, getValue, getVersion, hashCode, indexOf, isEmpty, isFrozen, isListPreserving, isUnchunked, lastIndexOf, merge, move, read, readValues, remove, set, setBranchPoint, setContainerID, setContainingFeatureID, setID, setList, setListPreserving, setPermission, setResourceID, setRevised, setUnchunked, setValue, setVersion, size, toArray, toArray, unset, write, write, writeValues
 - 
Methods inherited from class org.eclipse.emf.cdo.spi.common.revision.AbstractCDORevisionaccept, accept, accept, adjustForCommit, data, equals, getAllPersistentFeatures, getClassInfo, getEClass, getFeatureIndex, getList, getList, getProperRevision, getRevisionForID, hashCode, initClassInfo, isHistorical, isReadable, isResource, isResourceFolder, isResourceNode, isValid, isValid, isWritable, revision, toString
 
- 
 
- 
- 
- 
Method Detail- 
getIDpublic CDOID getID() - Specified by:
- getIDin interface- CDOIdentifiable
- Overrides:
- getIDin class- StubCDORevision
 
 - 
getBranchpublic InternalCDOBranch getBranch() Description copied from interface:CDOBranchVersionReturns the branch of this branch version.- Specified by:
- getBranchin interface- CDOBranchPoint
- Specified by:
- getBranchin interface- CDOBranchProvider
- Specified by:
- getBranchin interface- CDOBranchVersion
- Specified by:
- getBranchin interface- InternalCDORevision
- Overrides:
- getBranchin class- StubCDORevision
 
 - 
freezepublic void freeze() - Specified by:
- freezein interface- InternalCDORevision
- Overrides:
- freezein class- StubCDORevision
 
 
- 
 
-