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

java.lang.Object
  extended by org.eclipse.emf.cdo.spi.common.revision.RevisionInfo
      extended by org.eclipse.emf.cdo.spi.common.revision.RevisionInfo.Available
Direct Known Subclasses:
RevisionInfo.Available.Detached, RevisionInfo.Available.Normal, RevisionInfo.Available.Pointer
Enclosing class:
RevisionInfo

public abstract static class RevisionInfo.Available
extends RevisionInfo

Since:
3.0

Nested Class Summary
static class RevisionInfo.Available.Detached
           
static class RevisionInfo.Available.Normal
           
static class 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
protected RevisionInfo.Available(CDODataInput in, CDOBranchPoint requestedBranchPoint)
           
protected RevisionInfo.Available(CDOID id, CDOBranchPoint requestedBranchPoint, CDOBranchVersion availableBranchVersion)
           
 
Method Summary
 CDOBranchVersion getAvailableBranchVersion()
           
 boolean isDirect()
           
 boolean isLoadNeeded()
           
protected  void readRevision(CDODataInput in)
           
 void write(CDODataOutput out)
           
protected  void writeRevision(CDODataOutput out, int referenceChunk, CDOBranchPoint securityContext)
           
 
Methods inherited from class org.eclipse.emf.cdo.spi.common.revision.RevisionInfo
doReadResult, doWriteResult, execute, getID, getRequestedBranchPoint, getResult, getSynthetic, getType, processResult, 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

protected RevisionInfo.Available(CDOID id,
                                 CDOBranchPoint requestedBranchPoint,
                                 CDOBranchVersion availableBranchVersion)

RevisionInfo.Available

protected RevisionInfo.Available(CDODataInput in,
                                 CDOBranchPoint requestedBranchPoint)
                          throws IOException
Throws:
IOException
Method Detail

getAvailableBranchVersion

public CDOBranchVersion getAvailableBranchVersion()

isDirect

public boolean isDirect()

isLoadNeeded

public boolean isLoadNeeded()
Specified by:
isLoadNeeded in class RevisionInfo

write

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

writeRevision

protected void writeRevision(CDODataOutput out,
                             int referenceChunk,
                             CDOBranchPoint securityContext)
                      throws IOException
Overrides:
writeRevision in class RevisionInfo
Throws:
IOException

readRevision

protected void readRevision(CDODataInput in)
                     throws IOException
Overrides:
readRevision in class RevisionInfo
Throws:
IOException


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