org.eclipse.emf.cdo.spi.common.branch
Class CDOBranchUtil

java.lang.Object
  extended by org.eclipse.emf.cdo.spi.common.branch.CDOBranchUtil

public final class CDOBranchUtil
extends Object

If the meaning of this type isn't clear, there really should be more of a description here...

Since:
3.0

Method Summary
static CDOBranchPoint copyBranchPoint(CDOBranchPoint source)
           
static CDOBranchVersion copyBranchVersion(CDOBranchVersion source)
           
static InternalCDOBranchManager createBranchManager()
           
static CDOBranchPointRange createRange(CDOBranchPoint startPoint, CDOBranchPoint endPoint)
           
static CDOBranchPoint getAncestor(CDOBranchPoint point1, CDOBranchPoint point2)
           
static CDOBranchPoint[] getPath(CDOBranchPoint point)
           
static boolean isContainedBy(CDOBranchPoint contained, CDOBranchPoint container)
           
static CDOBranchPoint normalizeBranchPoint(CDOBranch branch, long timeStamp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createBranchManager

public static InternalCDOBranchManager createBranchManager()

createRange

public static CDOBranchPointRange createRange(CDOBranchPoint startPoint,
                                              CDOBranchPoint endPoint)

copyBranchPoint

public static CDOBranchPoint copyBranchPoint(CDOBranchPoint source)

copyBranchVersion

public static CDOBranchVersion copyBranchVersion(CDOBranchVersion source)

normalizeBranchPoint

public static CDOBranchPoint normalizeBranchPoint(CDOBranch branch,
                                                  long timeStamp)
Since:
4.2

isContainedBy

public static boolean isContainedBy(CDOBranchPoint contained,
                                    CDOBranchPoint container)

getAncestor

public static CDOBranchPoint getAncestor(CDOBranchPoint point1,
                                         CDOBranchPoint point2)

getPath

public static CDOBranchPoint[] getPath(CDOBranchPoint point)


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