Class PointerCDORevision
- 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
- 
- org.eclipse.emf.cdo.spi.common.revision.PointerCDORevision
 
 
 
 
- 
- All Implemented Interfaces:
- CDOBranchPoint,- CDOBranchProvider,- CDOBranchVersion,- CDOIdentifiable,- CDOIDAndVersion,- CDORevisable,- CDORevision,- CDORevisionData,- CDORevisionKey,- CDOTimeProvider,- CDOVersionProvider,- CDOBranchAdjustable,- CDOReferenceAdjustable,- InternalCDORevision
 
 public class PointerCDORevision extends SyntheticCDORevision Asyntheticrevision 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.- 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 PointerCDORevision(org.eclipse.emf.ecore.EClass eClass, CDOID id, CDOBranch branch, long revised, CDOBranchVersion target)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetRevised()CDOBranchVersiongetTarget()longgetTimeStamp()Returns the time stamp of this branch point, or the fixed special time stampunspecifiedif this branch point marks theheadof a branch.intgetVersion()Returns the version number of this branch version.voidsetRevised(long revised)java.lang.StringtoString()- 
Methods inherited from class org.eclipse.emf.cdo.spi.common.revision.SyntheticCDORevisionfreeze, getBranch, getID
 - 
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, getValue, hashCode, indexOf, isEmpty, isFrozen, isListPreserving, isUnchunked, lastIndexOf, merge, move, read, readValues, remove, set, setBranchPoint, setContainerID, setContainingFeatureID, setID, setList, setListPreserving, setPermission, setResourceID, 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
 
- 
 
- 
- 
- 
Constructor Detail- 
PointerCDORevisionpublic PointerCDORevision(org.eclipse.emf.ecore.EClass eClass, CDOID id, CDOBranch branch, long revised, CDOBranchVersion target)
 
- 
 - 
Method Detail- 
getVersionpublic final int getVersion() Description copied from interface:CDOBranchVersionReturns the version number of this branch version.- Specified by:
- getVersionin interface- CDOBranchVersion
- Specified by:
- getVersionin interface- CDOIDAndVersion
- Specified by:
- getVersionin interface- CDOVersionProvider
- Overrides:
- getVersionin class- StubCDORevision
 
 - 
getTimeStamppublic long getTimeStamp() Description copied from interface:CDOBranchPointReturns the time stamp of this branch point, or the fixed special time stampunspecifiedif this branch point marks theheadof a branch.- Specified by:
- getTimeStampin interface- CDOBranchPoint
- Specified by:
- getTimeStampin interface- CDOTimeProvider
- Overrides:
- getTimeStampin class- StubCDORevision
 
 - 
getRevisedpublic long getRevised() - Specified by:
- getRevisedin interface- CDORevisable
- Overrides:
- getRevisedin class- StubCDORevision
 
 - 
setRevisedpublic void setRevised(long revised) - Specified by:
- setRevisedin interface- InternalCDORevision
- Overrides:
- setRevisedin class- StubCDORevision
 
 - 
getTargetpublic CDOBranchVersion getTarget() 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- AbstractCDORevision
 
 
- 
 
-