public class CDOChangeSetSegment extends Object implements CDOBranchPoint
INVALID_DATE, UNSPECIFIED_DATE
Constructor and Description |
---|
CDOChangeSetSegment(CDOBranch branch,
long timeStamp,
long endTime) |
Modifier and Type | Method and Description |
---|---|
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() |
public CDOChangeSetSegment(CDOBranch branch, long timeStamp, long endTime)
public CDOBranch getBranch()
CDOBranchPoint
null
if this branch point is the
base
of the main branch
.getBranch
in interface CDOBranchPoint
public long getTimeStamp()
CDOBranchPoint
unspecified
if this branch point marks the head
of a branch.getTimeStamp
in interface CDOBranchPoint
getTimeStamp
in interface CDOTimeProvider
public long getEndTime()
public CDOBranchPoint getEndPoint()
public boolean isOpenEnded()
public static CDOChangeSetSegment[] createFrom(CDOBranchPoint startPoint, CDOBranchPoint endPoint)
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.