|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | 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:
Field Summary | |
(package private) int |
miSourceType
|
(package private) long |
mlSourceSizeInBytes
|
(package private) java.lang.String |
msCreatedUser
|
Fields inherited from class org.sourcejammer.project.controller.ControllerNode |
lightweightView |
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, getLightweightView, getLightweightViewString, getNodeName, getParent, getRootParent, getShareParent, getUniqueID, isCorrectKey, isLocked, isShared, lock, setCreatedDate, setParent, setShared, setShareParent, setUniqueID, store, toString, unlock, updateLightweightViewString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
int miSourceType
long mlSourceSizeInBytes
java.lang.String msCreatedUser
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 interface org.sourcejammer.project.Node
childCount
in class ControllerNode
public void setSourceType(int i, long key)
org.sourcejammer.util.BadMethodArgumentException
- if i is not VERSION_DELTA or VERSION_FULL_FILE.public int getSourceType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |