Interface InternalCDOBranch
- All Superinterfaces:
CDOBranch,CDOBranchPoint,CDOBranchProvider,CDONameProvider,CDOTimeProvider,Comparable<CDOBranch>,IAdaptable,org.eclipse.net4j.util.container.IContainer<CDOBranch>,org.eclipse.net4j.util.event.INotifier
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 Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranch
CDOBranch.BranchDeletedEventNested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
org.eclipse.net4j.util.container.IContainer.Modifiable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends Object>Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2 -
Field Summary
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranch
MAIN_BRANCH_ID, MAIN_BRANCH_NAME, PATH_SEPARATORFields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
INVALID_DATE, UNSPECIFIED_DATE -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChild(InternalCDOBranch branch) voidbasicSetName(String name) createBranch(String name) Creates a sub branch of this branch with the given name,basedat thecurrent time.createBranch(String name, long timeStamp) Creates a sub branch of this branch with the given name,basedat thebranch pointin this branch with the given time stamp.Returns the sub branch of this branch with the given relative path, ornullif no sub branch with this path exists in this branch.Returns an array of the sub branches of this branch, nevernull.getBranches(boolean loadOnDemand) Returns the branch manager that manages this branch, nevernull.booleanisProxy()voidremoveChild(InternalCDOBranch branch) voidsetBranchInfo(String name, InternalCDOBranch baseBranch, long baseTimeStamp) voidMethods inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranch
delete, fireDeletedEvent, getBase, getBasePath, getHead, getID, getName, getPathName, getPoint, getVersion, isDeleted, isLocal, isMainBranch, rename, setNameMethods inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
getBranch, getTimeStampMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmptyMethods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Method Details
-
isProxy
boolean isProxy() -
getBranchManager
InternalCDOBranchManager getBranchManager()Description copied from interface:CDOBranchReturns the branch manager that manages this branch, nevernull.- Specified by:
getBranchManagerin interfaceCDOBranch
-
getBranches
InternalCDOBranch[] getBranches()Description copied from interface:CDOBranchReturns an array of the sub branches of this branch, nevernull.- Specified by:
getBranchesin interfaceCDOBranch
-
getBranches
- Since:
- 4.0
-
getBranch
Description copied from interface:CDOBranchReturns the sub branch of this branch with the given relative path, ornullif no sub branch with this path exists in this branch.The path name is the concatenation of the names of all branches from a direct sub branch of this branch, separated by
slashes("/" characters). Example: "team1/smith". -
createBranch
Description copied from interface:CDOBranchCreates a sub branch of this branch with the given name,basedat thebranch pointin this branch with the given time stamp.- Specified by:
createBranchin interfaceCDOBranch- Parameters:
name- The name of the sub branch to be created. It must not contain thepath separatorcharacter (slash).timeStamp- The time stamp in this branch that the sub branch to be created is supposed to bebased at. It must not be before the base time stamp of this branch and it must be different from the fixed special time stampunspecified- Throws:
CDODuplicateBranchException- See Also:
-
createBranch
Description copied from interface:CDOBranchCreates a sub branch of this branch with the given name,basedat thecurrent time.- Specified by:
createBranchin interfaceCDOBranch- Throws:
CDODuplicateBranchException
-
getBranchInfo
InternalCDOBranchManager.BranchLoader.BranchInfo getBranchInfo() -
setBranchInfo
-
addChild
-
removeChild
- Since:
- 4.15
-
setDeleted
void setDeleted()- Since:
- 4.15
-
basicSetName
- Since:
- 4.4
-