Class DetachedCDORevision
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.DetachedCDORevision
- All Implemented Interfaces:
CDOBranchPoint
,CDOBranchProvider
,CDOBranchVersion
,CDOIdentifiable
,CDOIDAndVersion
,CDORevisable
,CDORevision
,CDORevisionData
,CDORevisionKey
,CDOTimeProvider
,CDOVersionProvider
,CDOBranchAdjustable
,CDOReferenceAdjustable
,InternalCDORevision
If the meaning of this type isn't clear, there really should be more of a description here...
- Since:
- 3.0
- Author:
- Eike Stepper
-
Field Summary
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
INVALID_DATE, UNSPECIFIED_DATE
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchVersion
UNSPECIFIED_VERSION
Fields inherited from interface org.eclipse.emf.cdo.common.revision.CDORevision
DEPTH_INFINITE, DEPTH_NONE, FIRST_VERSION, MAIN_BRANCH_ID, PERMISSION_PROVIDER, UNCHUNKED
Fields inherited from interface org.eclipse.emf.cdo.common.revision.CDORevisionData
NIL
Fields inherited from interface org.eclipse.emf.cdo.spi.common.revision.InternalCDORevision
DO_NOT_CREATE_LIST
-
Constructor Summary
ConstructorDescriptionDetachedCDORevision
(EClass eClass, CDOID id, CDOBranch branch, int version, long timeStamp) DetachedCDORevision
(EClass eClass, CDOID id, CDOBranch branch, int version, long timeStamp, long revised) -
Method Summary
Modifier and TypeMethodDescriptionlong
long
Returns the time stamp of this branch point, or the fixed special time stampunspecified
if this branch point marks thehead
of a branch.final int
Returns the version number of this branch version.void
setRevised
(long revised) toString()
Methods inherited from class org.eclipse.emf.cdo.spi.common.revision.SyntheticCDORevision
freeze, getBranch, getID
Methods inherited from class org.eclipse.emf.cdo.spi.common.revision.StubCDORevision
add, 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.AbstractCDORevision
accept, 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 Details
-
Method Details
-
getVersion
public final int getVersion()Description copied from interface:CDOBranchVersion
Returns the version number of this branch version.- Specified by:
getVersion
in interfaceCDOBranchVersion
- Specified by:
getVersion
in interfaceCDOIDAndVersion
- Specified by:
getVersion
in interfaceCDOVersionProvider
- Overrides:
getVersion
in classStubCDORevision
-
getTimeStamp
public long getTimeStamp()Description copied from interface:CDOBranchPoint
Returns the time stamp of this branch point, or the fixed special time stampunspecified
if this branch point marks thehead
of a branch.- Specified by:
getTimeStamp
in interfaceCDOBranchPoint
- Specified by:
getTimeStamp
in interfaceCDOTimeProvider
- Overrides:
getTimeStamp
in classStubCDORevision
-
getRevised
public long getRevised()- Specified by:
getRevised
in interfaceCDORevisable
- Overrides:
getRevised
in classStubCDORevision
-
setRevised
public void setRevised(long revised) - Specified by:
setRevised
in interfaceInternalCDORevision
- Overrides:
setRevised
in classStubCDORevision
-
toString
- Overrides:
toString
in classAbstractCDORevision
-