Class CDOChangeSetSegment
java.lang.Object
org.eclipse.emf.cdo.spi.common.commit.CDOChangeSetSegment
- All Implemented Interfaces:
CDOBranchPoint
,CDOBranchProvider
,CDOTimeProvider
If the meaning of this type isn't clear, there really should be more of a description here...
- Since:
- 3.0
- Author:
- Eike Stepper
- No Extend
- This class is not intended to be subclassed by clients.
-
Nested Class Summary
-
Field Summary
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
INVALID_DATE, UNSPECIFIED_DATE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(CDOBranchPoint branchPoint) static boolean
contains
(CDOChangeSetSegment[] segments, CDOBranchPoint branchPoint) static CDOChangeSetSegment[]
createFrom
(long startTime, CDOBranchPoint endPoint) static CDOChangeSetSegment[]
createFrom
(CDOBranchPoint startPoint, CDOBranchPoint endPoint) Returns the branch of this branch point, ornull
if this branch point is thebase
of themain branch
.long
long
Returns the time stamp of this branch point, or the fixed special time stampunspecified
if this branch point marks thehead
of a branch.static void
handleSegments
(long startTime, CDOBranchPoint endPoint, CDOChangeSetSegment.Handler handler) static void
handleSegments
(CDOBranchPoint startPoint, CDOBranchPoint endPoint, CDOChangeSetSegment.Handler handler) static void
handleSegments
(CDOBranchPoint endPoint, CDOChangeSetSegment.Handler handler) boolean
toString()
-
Constructor Details
-
CDOChangeSetSegment
-
-
Method Details
-
getBranch
Description copied from interface:CDOBranchPoint
Returns the branch of this branch point, ornull
if this branch point is thebase
of themain branch
.- Specified by:
getBranch
in interfaceCDOBranchPoint
- Specified by:
getBranch
in interfaceCDOBranchProvider
-
getTimeStamp
public long getTimeStamp()Description copied from interface:CDOBranchPoint
Returns the time stamp of this branch point, or the fixed special time stampunspecified
if this branch point marks thehead
of a branch.- Specified by:
getTimeStamp
in interfaceCDOBranchPoint
- Specified by:
getTimeStamp
in interfaceCDOTimeProvider
-
getEndTime
public long getEndTime() -
getEndPoint
-
isOpenEnded
public boolean isOpenEnded() -
contains
- Since:
- 4.6
-
toString
-
handleSegments
Calls the givenhandler
for allsegments
from the givenendPoint
up to the repository creation point.- Since:
- 4.6
-
handleSegments
public static void handleSegments(long startTime, CDOBranchPoint endPoint, CDOChangeSetSegment.Handler handler) - Since:
- 4.6
-
handleSegments
public static void handleSegments(CDOBranchPoint startPoint, CDOBranchPoint endPoint, CDOChangeSetSegment.Handler handler) - Since:
- 4.6
-
createFrom
- Since:
- 4.6
-
createFrom
-
contains
- Since:
- 4.6
-