Interface CDORevision
- All Superinterfaces:
CDOBranchPoint,CDOBranchProvider,CDOBranchVersion,CDOIDAndVersion,CDOIdentifiable,CDORevisable,CDORevisionKey,CDOTimeProvider,CDOVersionProvider
- All Known Subinterfaces:
InternalCDORevision
- All Known Implementing Classes:
AbstractCDORevision,BaseCDORevision,DelegatingCDORevision,DetachedCDORevision,PointerCDORevision,StubCDORevision,SyntheticCDORevision
Encapsulates the immutable system information of a single CDO
object between two
commits in a branch and provides access to its modeled
data.- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final CDOPermissionProviderstatic final intFields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
INVALID_DATE, UNSPECIFIED_DATEFields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchVersion
UNSPECIFIED_VERSION -
Method Summary
Modifier and TypeMethodDescriptioncompare(CDORevision origin) copy()data()booleanReturnstrueexactly ifCDOBranchPoint.getTimeStamp()does not returnCDOBranchPoint.UNSPECIFIED_DATE,falseotherwise.booleanbooleanbooleanbooleanbooleanisValid(long timeStamp) booleanisValid(CDOBranchPoint branchPoint) booleanvoidmerge(CDORevisionDelta delta) Methods inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
getBranch, getTimeStampMethods inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchVersion
getBranch, getVersionMethods inherited from interface org.eclipse.emf.cdo.common.revision.CDOIDAndVersion
getVersionMethods inherited from interface org.eclipse.emf.cdo.common.id.CDOIdentifiable
getIDMethods inherited from interface org.eclipse.emf.cdo.common.revision.CDORevisable
getRevised
-
Field Details
-
MAIN_BRANCH_ID
static final int MAIN_BRANCH_ID- Since:
- 3.0
- See Also:
-
FIRST_VERSION
static final int FIRST_VERSION- Since:
- 3.0
- See Also:
-
UNCHUNKED
static final int UNCHUNKED- See Also:
-
DEPTH_NONE
static final int DEPTH_NONE- Since:
- 3.0
- See Also:
-
DEPTH_INFINITE
static final int DEPTH_INFINITE- Since:
- 3.0
- See Also:
-
PERMISSION_PROVIDER
- Since:
- 4.1
-
-
Method Details
-
getClassInfo
CDOClassInfo getClassInfo()- Since:
- 4.2
-
getEClass
EClass getEClass()- Since:
- 2.0
-
isHistorical
boolean isHistorical()Returnstrueexactly ifCDOBranchPoint.getTimeStamp()does not returnCDOBranchPoint.UNSPECIFIED_DATE,falseotherwise.- Since:
- 3.0
-
isValid
boolean isValid(long timeStamp) -
isValid
- Since:
- 4.0
-
isResourceNode
boolean isResourceNode()- Since:
- 2.0
-
isResourceFolder
boolean isResourceFolder()- Since:
- 2.0
-
isResource
boolean isResource() -
data
CDORevisionData data()- Since:
- 2.0
-
compare
-
merge
-
copy
CDORevision copy()- Since:
- 2.0
-
getPermission
CDOPermission getPermission()- Since:
- 4.1
-
isReadable
boolean isReadable()- Since:
- 4.1
-
isWritable
boolean isWritable()- Since:
- 4.1
-