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
 
 public interface CDORevision extends CDORevisionKey, CDORevisable Encapsulates the immutable system information of a single CDOobjectbetween twocommitsin abranchand provides access to its modeleddata.- 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 SummaryFields Modifier and Type Field Description static intDEPTH_INFINITEstatic intDEPTH_NONEstatic intFIRST_VERSIONstatic intMAIN_BRANCH_IDstatic CDOPermissionProviderPERMISSION_PROVIDERstatic intUNCHUNKED- 
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
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description CDORevisionDeltacompare(CDORevision origin)CDORevisioncopy()CDORevisionDatadata()CDOClassInfogetClassInfo()org.eclipse.emf.ecore.EClassgetEClass()CDOPermissiongetPermission()booleanisHistorical()Returnstrueexactly ifCDOBranchPoint.getTimeStamp()does not returnCDOBranchPoint.UNSPECIFIED_DATE,falseotherwise.booleanisReadable()booleanisResource()booleanisResourceFolder()booleanisResourceNode()booleanisValid(long timeStamp)booleanisValid(CDOBranchPoint branchPoint)booleanisWritable()voidmerge(CDORevisionDelta delta)- 
Methods inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPointgetBranch, getTimeStamp
 - 
Methods inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchVersiongetBranch, getVersion
 - 
Methods inherited from interface org.eclipse.emf.cdo.common.revision.CDOIDAndVersiongetVersion
 - 
Methods inherited from interface org.eclipse.emf.cdo.common.id.CDOIdentifiablegetID
 - 
Methods inherited from interface org.eclipse.emf.cdo.common.revision.CDORevisablegetRevised
 
- 
 
- 
- 
- 
Field Detail- 
MAIN_BRANCH_IDstatic final int MAIN_BRANCH_ID - Since:
- 3.0
- See Also:
- Constant Field Values
 
 - 
FIRST_VERSIONstatic final int FIRST_VERSION - Since:
- 3.0
- See Also:
- Constant Field Values
 
 - 
UNCHUNKEDstatic final int UNCHUNKED - See Also:
- Constant Field Values
 
 - 
DEPTH_NONEstatic final int DEPTH_NONE - Since:
- 3.0
- See Also:
- Constant Field Values
 
 - 
DEPTH_INFINITEstatic final int DEPTH_INFINITE - Since:
- 3.0
- See Also:
- Constant Field Values
 
 - 
PERMISSION_PROVIDERstatic final CDOPermissionProvider PERMISSION_PROVIDER - Since:
- 4.1
 
 
- 
 - 
Method Detail- 
getClassInfoCDOClassInfo getClassInfo() - Since:
- 4.2
 
 - 
getEClassorg.eclipse.emf.ecore.EClass getEClass() - Since:
- 2.0
 
 - 
isHistoricalboolean isHistorical() Returnstrueexactly ifCDOBranchPoint.getTimeStamp()does not returnCDOBranchPoint.UNSPECIFIED_DATE,falseotherwise.- Since:
- 3.0
 
 - 
isValidboolean isValid(long timeStamp) 
 - 
isValidboolean isValid(CDOBranchPoint branchPoint) - Since:
- 4.0
 
 - 
isResourceNodeboolean isResourceNode() - Since:
- 2.0
 
 - 
isResourceFolderboolean isResourceFolder() - Since:
- 2.0
 
 - 
isResourceboolean isResource() 
 - 
dataCDORevisionData data() - Since:
- 2.0
 
 - 
compareCDORevisionDelta compare(CDORevision origin) 
 - 
mergevoid merge(CDORevisionDelta delta) 
 - 
copyCDORevision copy() - Since:
- 2.0
 
 - 
getPermissionCDOPermission getPermission() - Since:
- 4.1
 
 - 
isReadableboolean isReadable() - Since:
- 4.1
 
 - 
isWritableboolean isWritable() - Since:
- 4.1
 
 
- 
 
-