|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sourcejammer.project.controller.BranchNode
Title: $FileName: BranchNode.java$
Field Summary | |
private java.util.ArrayList |
children
|
private long |
fileID
|
private java.lang.String |
identifier
|
private long |
initialVersionID
|
private BranchNode |
parent
|
Constructor Summary | |
BranchNode()
|
Method Summary | |
void |
addBranchNode(BranchNode node,
long key)
|
protected void |
applyIndex(BranchNode branch)
|
void |
checkKey(long key)
|
BranchNode |
getBranchNode(int index)
|
org.sourcejammer.project.view.Branch |
getBranchView()
|
long |
getFileID()
Returns the fileID. |
java.lang.String |
getIdentifier()
Returns the identifier. |
long |
getInitialVersionID()
Returns the initialVersionID. |
protected boolean |
isIdentifierUnique(java.lang.String identifier)
|
void |
setFileID(long fileID)
Sets the fileID. |
void |
setIdentifier(java.lang.String identifier)
Sets the identifier. |
void |
setInitialVersionID(long initialVersionID)
Sets the initialVersionID. |
protected void |
setParent(BranchNode node)
|
java.util.Iterator |
subBranches()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String identifier
private long fileID
private long initialVersionID
private java.util.ArrayList children
private BranchNode parent
Constructor Detail |
public BranchNode()
Method Detail |
public org.sourcejammer.project.view.Branch getBranchView()
protected void applyIndex(BranchNode branch)
public void addBranchNode(BranchNode node, long key) throws org.sourcejammer.project.NodeExistsException
org.sourcejammer.project.NodeExistsException
public void checkKey(long key)
public java.util.Iterator subBranches()
protected void setParent(BranchNode node)
protected boolean isIdentifierUnique(java.lang.String identifier)
public BranchNode getBranchNode(int index) throws org.sourcejammer.project.NodeDoesNotExistException
org.sourcejammer.project.NodeDoesNotExistException
public long getFileID()
public java.lang.String getIdentifier()
public long getInitialVersionID()
public void setFileID(long fileID)
fileID
- The fileID to setpublic void setIdentifier(java.lang.String identifier)
identifier
- The identifier to setpublic void setInitialVersionID(long initialVersionID)
initialVersionID
- The initialVersionID to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |