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, InternalCDOList.Owner, InternalCDORevision
-
Field Summary
Fields inherited from interface CDOBranchPoint
INVALID_DATE, UNSPECIFIED_DATEFields inherited from interface CDOBranchVersion
UNSPECIFIED_VERSIONFields inherited from interface CDORevision
DEPTH_INFINITE, DEPTH_NONE, DEPTH_ONE, FIRST_VERSION, MAIN_BRANCH_ID, PERMISSION_PROVIDER, UNCHUNKEDFields inherited from interface CDORevisionData
NILFields inherited from interface InternalCDORevision
DO_NOT_CREATE_LIST -
Constructor Summary
ConstructorsConstructorDescriptionPointerCDORevision(EClass eClass, CDOID id, CDOBranch branch, long revised, CDOBranchVersion target) -
Method Summary
Modifier and TypeMethodDescriptionlonglongReturns the time stamp of this branch point, or the fixed special time stampunspecifiedif this branch point marks theheadof a branch.final intReturns the version number of this branch version.voidsetRevised(long revised) toString()Methods inherited from class SyntheticCDORevision
freeze, getBranch, getIDMethods inherited from class StubCDORevision
add, adjustBranches, adjustReferences, bypassPermissionChecks, clear, clearValues, compare, compareTo, contains, convertEObjects, copy, get, getContainerFeatureID, getContainerID, getContainingFeatureID, getListOrNull, getOrCreateList, getOrCreateList, getPermission, getResourceID, getResourceNodeName, getValue, hashCode, indexOf, isEmpty, isFrozen, isListPreserving, isUnchunked, lastIndexOf, merge, move, read, readValue, readValues, remove, set, setBranchPoint, setContainerFeatureID, setContainerID, setContainingFeatureID, setID, setList, setListPreserving, setPermission, setResourceID, setUnchunked, setValue, setVersion, size, toArray, toArray, unset, write, write, writeValue, writeValuesMethods inherited from class AbstractCDORevision
accept, accept, accept, adjustForCommit, data, equals, getAllPersistentFeatures, getClassInfo, getEClass, getFeatureIndex, getList, getList, getProperRevision, getRevisionForID, getUnloadedCount, hashCode, initClassInfo, isHistorical, isReadable, isResource, isResourceFolder, isResourceNode, isValid, isValid, isWritable, revision, unloadedCountChangedMethods inherited from interface CDORevisionData
calculateContainerReferenceID, calculateContainingReferenceID, getContainingReferenceMethods inherited from interface InternalCDORevision
constructList, constructList, setContainingReference
-
Constructor Details
-
PointerCDORevision
public PointerCDORevision(EClass eClass, CDOID id, CDOBranch branch, long revised, CDOBranchVersion target)
-
-
Method Details
-
getVersion
public final int getVersion()Description copied from interface:CDOBranchVersionReturns the version number of this branch version.- Specified by:
getVersionin interfaceCDOBranchVersion- Specified by:
getVersionin interfaceCDOIDAndVersion- Specified by:
getVersionin interfaceCDOVersionProvider- Overrides:
getVersionin classStubCDORevision
-
getTimeStamp
public 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 interfaceCDOBranchPoint- Specified by:
getTimeStampin interfaceCDOTimeProvider- Overrides:
getTimeStampin classStubCDORevision
-
getRevised
public long getRevised()- Specified by:
getRevisedin interfaceCDORevisable- Overrides:
getRevisedin classStubCDORevision
-
setRevised
public void setRevised(long revised) - Specified by:
setRevisedin interfaceInternalCDORevision- Overrides:
setRevisedin classStubCDORevision
-
getTarget
-
toString
- Overrides:
toStringin classAbstractCDORevision
-