public interface InternalCDOBranch extends CDOBranch
IContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>MAIN_BRANCH_ID, MAIN_BRANCH_NAME, PATH_SEPARATORINVALID_DATE, UNSPECIFIED_DATE| Modifier and Type | Method and Description |
|---|---|
void |
addChild(InternalCDOBranch branch) |
void |
basicSetName(java.lang.String name) |
InternalCDOBranch |
createBranch(java.lang.String name)
Creates a sub branch of this branch with the given name,
based at the current time. |
InternalCDOBranch |
createBranch(java.lang.String name,
long timeStamp)
Creates a sub branch of this branch with the given name,
based at the branch point in this branch with the given time stamp. |
InternalCDOBranch |
getBranch(java.lang.String path)
Returns the sub branch of this branch with the given relative path, or
null if no sub branch with this
path exists in this branch. |
InternalCDOBranch[] |
getBranches()
Returns an array of the sub branches of this branch, never
null. |
InternalCDOBranch[] |
getBranches(boolean loadOnDemand) |
InternalCDOBranchManager.BranchLoader.BranchInfo |
getBranchInfo() |
InternalCDOBranchManager |
getBranchManager()
Returns the branch manager that manages this branch, never
null. |
boolean |
isProxy() |
void |
setBranchInfo(java.lang.String name,
InternalCDOBranch baseBranch,
long baseTimeStamp) |
getBase, getBasePath, getHead, getID, getName, getPathName, getPoint, getVersion, isLocal, isMainBranch, rename, setNamegetBranch, getTimeStampgetElements, isEmptyaddListener, getListeners, hasListeners, removeListenergetAdapterboolean isProxy()
InternalCDOBranchManager getBranchManager()
CDOBranchnull.getBranchManager in interface CDOBranchInternalCDOBranch[] getBranches()
CDOBranchnull.getBranches in interface CDOBranchInternalCDOBranch[] getBranches(boolean loadOnDemand)
InternalCDOBranch getBranch(java.lang.String path)
CDOBranchnull if 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".
InternalCDOBranch createBranch(java.lang.String name, long timeStamp)
CDOBranchbased at the branch point in this branch with the given time stamp.
createBranch in interface CDOBranchname - The name of the sub branch to be created. It must not contain the path separator
character (slash).timeStamp - The time stamp in this branch that the sub branch to be created is supposed to be based
at. It must not be before the base time stamp of this branch and it must be different from the fixed
special time stamp unspecifiedCDOBranch.createBranch(String)InternalCDOBranch createBranch(java.lang.String name)
CDOBranchbased at the current time.createBranch in interface CDOBranchInternalCDOBranchManager.BranchLoader.BranchInfo getBranchInfo()
void setBranchInfo(java.lang.String name,
InternalCDOBranch baseBranch,
long baseTimeStamp)
void addChild(InternalCDOBranch branch)
void basicSetName(java.lang.String name)
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html