Interface CDOBranchVersion
-
- All Superinterfaces:
CDOBranchProvider,CDOVersionProvider
- All Known Subinterfaces:
CDORevisable,CDORevision,CDORevisionCache.EvictionEvent,CDORevisionDelta,CDORevisionKey,InternalCDORevision,InternalCDORevisionDelta
- All Known Implementing Classes:
AbstractCDORevision,BaseCDORevision,DelegatingCDORevision,DetachedCDORevision,PointerCDORevision,StubCDORevision,SyntheticCDORevision
public interface CDOBranchVersion extends CDOBranchProvider, CDOVersionProvider
A pair of abranchand an integerversionnumber.It is often used in the context of
CDORevisionManager.getRevisionByVersion().- Since:
- 3.0
- Author:
- Eike Stepper
- See Also:
CDOBranch.getVersion(int)- 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
Fields Modifier and Type Field Description static intFIRST_VERSIONstatic intUNSPECIFIED_VERSIONThe fixed special version number unspecified.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CDOBranchgetBranch()Returns the branch of this branch version.intgetVersion()Returns the version number of this branch version.
-
-
-
Field Detail
-
UNSPECIFIED_VERSION
static final int UNSPECIFIED_VERSION
The fixed special version number unspecified.- See Also:
- Constant Field Values
-
FIRST_VERSION
static final int FIRST_VERSION
The fixed version number that is assigned to the firstrevisionof anobjectthat is committed to a particular branch .- See Also:
- Constant Field Values
-
-
Method Detail
-
getBranch
CDOBranch getBranch()
Returns the branch of this branch version.- Specified by:
getBranchin interfaceCDOBranchProvider
-
getVersion
int getVersion()
Returns the version number of this branch version.- Specified by:
getVersionin interfaceCDOVersionProvider
-
-