org.eclipse.emf.cdo.spi.common.revision
Class RevisionInfo.Available.Pointer

java.lang.Object
  extended by org.eclipse.emf.cdo.spi.common.revision.RevisionInfo
      extended by org.eclipse.emf.cdo.spi.common.revision.RevisionInfo.Available
          extended by org.eclipse.emf.cdo.spi.common.revision.RevisionInfo.Available.Pointer
Enclosing class:
RevisionInfo.Available

public static class RevisionInfo.Available.Pointer
extends RevisionInfo.Available

Since:
3.0

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.Pointer
 
Nested classes/interfaces inherited from class org.eclipse.emf.cdo.spi.common.revision.RevisionInfo
RevisionInfo.Available, RevisionInfo.Missing, RevisionInfo.Type
 
Constructor Summary
RevisionInfo.Available.Pointer(CDOID id, CDOBranchPoint requestedBranchPoint, CDOBranchVersion availableBranchVersion, CDOBranchVersion targetBranchVersion)
           
 
Method Summary
 CDOBranchVersion getTargetBranchVersion()
           
 RevisionInfo.Type getType()
           
 boolean hasTarget()
           
 boolean isLoadNeeded()
           
 void processResult(InternalCDORevisionManager revisionManager, List<CDORevision> results, SyntheticCDORevision[] synthetics, int i)
           
 void write(CDODataOutput out)
           
 
Methods inherited from class org.eclipse.emf.cdo.spi.common.revision.RevisionInfo.Available
getAvailableBranchVersion, isDirect, readRevision, writeRevision
 
Methods inherited from class org.eclipse.emf.cdo.spi.common.revision.RevisionInfo
doReadResult, doWriteResult, execute, getID, getRequestedBranchPoint, getResult, getSynthetic, read, readResult, readResult, setResult, setSynthetic, writeResult, writeResult, writeResult, writeResult, writeRevision
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RevisionInfo.Available.Pointer

public RevisionInfo.Available.Pointer(CDOID id,
                                      CDOBranchPoint requestedBranchPoint,
                                      CDOBranchVersion availableBranchVersion,
                                      CDOBranchVersion targetBranchVersion)
Method Detail

getTargetBranchVersion

public CDOBranchVersion getTargetBranchVersion()

getType

public RevisionInfo.Type getType()
Specified by:
getType in class RevisionInfo

hasTarget

public boolean hasTarget()

isLoadNeeded

public boolean isLoadNeeded()
Overrides:
isLoadNeeded in class RevisionInfo.Available

write

public void write(CDODataOutput out)
           throws IOException
Overrides:
write in class RevisionInfo.Available
Throws:
IOException

processResult

public void processResult(InternalCDORevisionManager revisionManager,
                          List<CDORevision> results,
                          SyntheticCDORevision[] synthetics,
                          int i)
Overrides:
processResult in class RevisionInfo


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.