Class CDOChangeSetSegment
- java.lang.Object
- 
- org.eclipse.emf.cdo.spi.common.commit.CDOChangeSetSegment
 
- 
- All Implemented Interfaces:
- CDOBranchPoint,- CDOBranchProvider,- CDOTimeProvider
 
 public class CDOChangeSetSegment extends java.lang.Object implements CDOBranchPoint 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 SummaryNested Classes Modifier and Type Class Description static interfaceCDOChangeSetSegment.Handler
 - 
Field Summary- 
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPointINVALID_DATE, UNSPECIFIED_DATE
 
- 
 - 
Constructor SummaryConstructors Constructor Description CDOChangeSetSegment(CDOBranch branch, long timeStamp, long endTime)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(CDOBranchPoint branchPoint)static booleancontains(CDOChangeSetSegment[] segments, CDOBranchPoint branchPoint)static CDOChangeSetSegment[]createFrom(long startTime, CDOBranchPoint endPoint)static CDOChangeSetSegment[]createFrom(CDOBranchPoint startPoint, CDOBranchPoint endPoint)CDOBranchgetBranch()Returns the branch of this branch point, ornullif this branch point is thebaseof themain branch.CDOBranchPointgetEndPoint()longgetEndTime()longgetTimeStamp()Returns the time stamp of this branch point, or the fixed special time stampunspecifiedif this branch point marks theheadof a branch.static voidhandleSegments(long startTime, CDOBranchPoint endPoint, CDOChangeSetSegment.Handler handler)static voidhandleSegments(CDOBranchPoint startPoint, CDOBranchPoint endPoint, CDOChangeSetSegment.Handler handler)static voidhandleSegments(CDOBranchPoint endPoint, CDOChangeSetSegment.Handler handler)booleanisOpenEnded()java.lang.StringtoString()
 
- 
- 
- 
Constructor Detail- 
CDOChangeSetSegmentpublic CDOChangeSetSegment(CDOBranch branch, long timeStamp, long endTime) 
 
- 
 - 
Method Detail- 
getBranchpublic CDOBranch getBranch() Description copied from interface:CDOBranchPointReturns the branch of this branch point, ornullif this branch point is thebaseof themain branch.- Specified by:
- getBranchin interface- CDOBranchPoint
- Specified by:
- getBranchin interface- CDOBranchProvider
 
 - 
getTimeStamppublic long getTimeStamp() Description copied from interface:CDOBranchPointReturns the time stamp of this branch point, or the fixed special time stampunspecifiedif this branch point marks theheadof a branch.- Specified by:
- getTimeStampin interface- CDOBranchPoint
- Specified by:
- getTimeStampin interface- CDOTimeProvider
 
 - 
getEndTimepublic long getEndTime() 
 - 
getEndPointpublic CDOBranchPoint getEndPoint() 
 - 
isOpenEndedpublic boolean isOpenEnded() 
 - 
containspublic boolean contains(CDOBranchPoint branchPoint) - Since:
- 4.6
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
handleSegmentspublic static void handleSegments(CDOBranchPoint endPoint, CDOChangeSetSegment.Handler handler) Calls the givenhandlerfor allsegmentsfrom the givenendPointup to the repository creation point.- Since:
- 4.6
 
 - 
handleSegmentspublic static void handleSegments(long startTime, CDOBranchPoint endPoint, CDOChangeSetSegment.Handler handler)- Since:
- 4.6
 
 - 
handleSegmentspublic static void handleSegments(CDOBranchPoint startPoint, CDOBranchPoint endPoint, CDOChangeSetSegment.Handler handler) - Since:
- 4.6
 
 - 
createFrompublic static CDOChangeSetSegment[] createFrom(long startTime, CDOBranchPoint endPoint) - Since:
- 4.6
 
 - 
createFrompublic static CDOChangeSetSegment[] createFrom(CDOBranchPoint startPoint, CDOBranchPoint endPoint) 
 - 
containspublic static boolean contains(CDOChangeSetSegment[] segments, CDOBranchPoint branchPoint) - Since:
- 4.6
 
 
- 
 
-