org.eclipse.emf.cdo.spi.common.commit
Class CDOChangeSetSegment
java.lang.Object
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.
CDOChangeSetSegment
public CDOChangeSetSegment(CDOBranch branch,
long timeStamp,
long endTime)
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.