|
SourceJammer 1.2.0.1 May 20, 2002 Copyright (c) 2001, 2002 Robert MacGrogan |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sourcejammer.project.controller.ControllerNode | +--org.sourcejammer.project.controller.VersionNode
Title: SourceJammer v 0.1.0 Description: Copyright: Copyright (c) 2001 Company:
Constructor Summary | |
VersionNode()
|
Method Summary | |
int |
childCount()
A VersionNode cannot have any children, so this always returns 0 . |
java.lang.String |
getCreatedUser()
|
long |
getSoruceSizeInBytes()
|
int |
getSourceType()
Returns whether this is a Delta or full file version. |
int |
getVersionNumber()
Convenience method for getting nodeName as int. |
void |
setCreatedUser(java.lang.String s)
|
void |
setNodeName(java.lang.String s,
long key)
Overriding setNodeName() to make sure nodeName is always an int. |
void |
setSourceSizeInBytes(long l,
long key)
|
void |
setSourceType(int i,
long key)
Sets whether this is a Delta or full file version. |
void |
setVersionNumber(int i,
long key)
Convenience method for setting the nodeName to an int value. |
Methods inherited from class org.sourcejammer.project.controller.ControllerNode |
checkKey, compareTo, equals, getCreatedDate, getNodeName, getParent, getRootParent, getShareParent, getUniqueID, isCorrectKey, isLocked, isShared, lock, setCreatedDate, setParent, setShared, setShareParent, setUniqueID, store, toString, unlock |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public VersionNode()
Method Detail |
public void setCreatedUser(java.lang.String s)
public java.lang.String getCreatedUser()
public void setVersionNumber(int i, long key)
public int getVersionNumber()
public long getSoruceSizeInBytes()
public void setSourceSizeInBytes(long l, long key)
public void setNodeName(java.lang.String s, long key)
setNodeName
in class ControllerNode
public int childCount()
0
.childCount
in class ControllerNode
public void setSourceType(int i, long key)
BadMethodArgumentException
- if i is not VERSION_DELTA or VERSION_FULL_FILE.public int getSourceType()
|
SourceJammer 1.2.0.1 May 20, 2002 Copyright (c) 2001, 2002 Robert MacGrogan |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |