org.eclipse.emf.cdo.spi.common.commit
Class CDOChangeSetSegment

java.lang.Object
  extended by org.eclipse.emf.cdo.spi.common.commit.CDOChangeSetSegment
All Implemented Interfaces:
CDOBranchPoint

public class CDOChangeSetSegment
extends Object
implements CDOBranchPoint

Since:
3.0
No Extend
This interface is not intended to be extended by clients.

Field Summary
 
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
INVALID_DATE, UNSPECIFIED_DATE
 
Constructor Summary
CDOChangeSetSegment(CDOBranch branch, long timeStamp, long endTime)
           
 
Method Summary
static CDOChangeSetSegment[] createFrom(CDOBranchPoint startPoint, CDOBranchPoint endPoint)
           
 CDOBranch getBranch()
          Returns the branch of this branch point, or null if this branch point is the base of the main branch.
 CDOBranchPoint getEndPoint()
           
 long getEndTime()
           
 long getTimeStamp()
          Returns the time stamp of this branch point, or the fixed special time stamp unspecified if this branch point marks the head of a branch.
 boolean isOpenEnded()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CDOChangeSetSegment

public CDOChangeSetSegment(CDOBranch branch,
                           long timeStamp,
                           long endTime)
Method Detail

getBranch

public CDOBranch getBranch()
Description copied from interface: CDOBranchPoint
Returns the branch of this branch point, or null if this branch point is the base of the main branch.

Specified by:
getBranch in interface CDOBranchPoint

getTimeStamp

public long getTimeStamp()
Description copied from interface: CDOBranchPoint
Returns the time stamp of this branch point, or the fixed special time stamp unspecified if this branch point marks the head of a branch.

Specified by:
getTimeStamp in interface CDOBranchPoint

getEndTime

public long getEndTime()

getEndPoint

public CDOBranchPoint getEndPoint()

isOpenEnded

public boolean isOpenEnded()

toString

public String toString()
Overrides:
toString in class Object

createFrom

public static CDOChangeSetSegment[] createFrom(CDOBranchPoint startPoint,
                                               CDOBranchPoint endPoint)


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