|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
If the meaning of this type isn't clear, there really should be more of a description here...
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer |
---|
IContainer.Modifiable<E> |
Field Summary |
---|
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranch |
---|
MAIN_BRANCH_ID, MAIN_BRANCH_NAME, PATH_SEPARATOR |
Method Summary | |
---|---|
void |
addChild(InternalCDOBranch branch)
|
InternalCDOBranch |
createBranch(String name)
Creates a sub branch of this branch with the given name, based at the current time . |
InternalCDOBranch |
createBranch(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(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(String name,
InternalCDOBranch baseBranch,
long baseTimeStamp)
|
Methods inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranch |
---|
getBase, getBasePath, getHead, getID, getName, getPathName, getPoint, getVersion, isLocal, isMainBranch |
Methods inherited from interface org.eclipse.net4j.util.container.IContainer |
---|
getElements, isEmpty |
Methods inherited from interface org.eclipse.net4j.util.event.INotifier |
---|
addListener, getListeners, hasListeners, removeListener |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
boolean isProxy()
InternalCDOBranchManager getBranchManager()
CDOBranch
null
.
getBranchManager
in interface CDOBranch
InternalCDOBranch[] getBranches()
CDOBranch
null
.
getBranches
in interface CDOBranch
InternalCDOBranch[] getBranches(boolean loadOnDemand)
InternalCDOBranch getBranch(String path)
CDOBranch
null
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".
getBranch
in interface CDOBranch
InternalCDOBranch createBranch(String name, long timeStamp)
CDOBranch
based
at the branch point
in this branch with the given time stamp.
createBranch
in interface CDOBranch
name
- 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 unspecified
CDOBranch.createBranch(String)
InternalCDOBranch createBranch(String name)
CDOBranch
based
at the current time
.
createBranch
in interface CDOBranch
InternalCDOBranchManager.BranchLoader.BranchInfo getBranchInfo()
void setBranchInfo(String name, InternalCDOBranch baseBranch, long baseTimeStamp)
void addChild(InternalCDOBranch branch)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |