Class RevisionInfo.Available.Pointer
java.lang.Object
org.eclipse.emf.cdo.spi.common.revision.RevisionInfo
org.eclipse.emf.cdo.spi.common.revision.RevisionInfo.Available
org.eclipse.emf.cdo.spi.common.revision.RevisionInfo.Available.Pointer
- Enclosing class:
RevisionInfo.Available
Revision lookup result for an object whose available state points to another branch version. It carries that
target relationship so the revision manager can materialize or reuse the corresponding synthetic pointer state.
- Since:
- 3.0
- Author:
- Eike Stepper
- No Extend
- This class is not intended to be extended by clients.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.cdo.spi.common.revision.RevisionInfo.Available
RevisionInfo.Available.Detached, RevisionInfo.Available.Normal, RevisionInfo.Available.PointerNested classes/interfaces inherited from class org.eclipse.emf.cdo.spi.common.revision.RevisionInfo
RevisionInfo.Available, RevisionInfo.Missing, RevisionInfo.Type -
Constructor Summary
ConstructorsConstructorDescriptionPointer(CDOID id, CDOBranchPoint requestedBranchPoint, CDOBranchVersion availableBranchVersion, CDOBranchVersion targetBranchVersion) -
Method Summary
Modifier and TypeMethodDescriptiongetType()booleanbooleanvoidprocessResult(InternalCDORevisionManager revisionManager, List<CDORevision> results, SyntheticCDORevision[] synthetics, int i) voidwrite(CDODataOutput out) Methods inherited from class org.eclipse.emf.cdo.spi.common.revision.RevisionInfo.Available
getAvailableBranchVersion, isDirect, readRevision, writeRevisionMethods inherited from class org.eclipse.emf.cdo.spi.common.revision.RevisionInfo
doReadResult, doWriteResult, execute, execute, getID, getRequestedBranchPoint, getResult, getSynthetic, read, readResult, readResult, setResult, setSynthetic, toLongString, toString, writeResult, writeResult, writeResult, writeResult, writeResult, writeRevision
-
Constructor Details
-
Pointer
public Pointer(CDOID id, CDOBranchPoint requestedBranchPoint, CDOBranchVersion availableBranchVersion, CDOBranchVersion targetBranchVersion)
-
-
Method Details
-
getTargetBranchVersion
-
getType
- Specified by:
getTypein classRevisionInfo
-
hasTarget
public boolean hasTarget() -
isLoadNeeded
public boolean isLoadNeeded()- Overrides:
isLoadNeededin classRevisionInfo.Available
-
write
- Overrides:
writein classRevisionInfo.Available- Throws:
IOException
-
processResult
public void processResult(InternalCDORevisionManager revisionManager, List<CDORevision> results, SyntheticCDORevision[] synthetics, int i) - Overrides:
processResultin classRevisionInfo
-