|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sourcejammer.project.controller.ControllerNode
Title: $FileName: ControllerNode.java$
Field Summary | |
protected org.sourcejammer.project.view.NodeInfo |
lightweightView
|
private java.lang.String |
lightweightViewString
|
private boolean |
mbLocked
|
private boolean |
mbShared
|
private java.util.Date |
mdCreatedDate
|
private long |
mlKey
|
private long |
mlUniqueID
|
private java.lang.String |
msNodeName
|
Constructor Summary | |
ControllerNode()
|
Method Summary | |
void |
checkKey(long key)
This method throws BadMethodArgumentException (runtime) if the node is not locked or if the keys do not match. |
abstract int |
childCount()
|
int |
compareTo(java.lang.Object o)
|
boolean |
equals(java.lang.Object o)
|
java.util.Date |
getCreatedDate()
|
org.sourcejammer.project.view.NodeInfo |
getLightweightView()
Returns the lightweightView. |
java.lang.String |
getLightweightViewString()
Returns the lightweightViewString. |
java.lang.String |
getNodeName()
|
long |
getUniqueID()
|
boolean |
isLocked()
|
boolean |
isShared()
|
void |
lock(long key)
Locks this node so that set methods can only be run if this combination is included. |
void |
setCreatedDate(java.util.Date d,
long key)
|
void |
setNodeName(java.lang.String s,
long key)
|
void |
setUniqueID(long l,
long key)
|
abstract void |
store(long key,
ArchiveInfoFlex info)
To be implemented by model implementation of this class for storing needed data from this node. |
java.lang.String |
toString()
Prints path up to this project node. |
void |
unlock(long key)
|
void |
updateLightweightViewString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private boolean mbShared
private java.util.Date mdCreatedDate
private java.lang.String msNodeName
protected org.sourcejammer.project.view.NodeInfo lightweightView
private java.lang.String lightweightViewString
private long mlUniqueID
private boolean mbLocked
private long mlKey
Constructor Detail |
public ControllerNode()
Method Detail |
public void lock(long key) throws SecurityException
SecurityException
public void unlock(long key) throws SecurityException
SecurityException
public void checkKey(long key)
public boolean isLocked()
public java.lang.String getNodeName()
getNodeName
in interface org.sourcejammer.project.Node
public void setNodeName(java.lang.String s, long key)
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.util.Date getCreatedDate()
public void setCreatedDate(java.util.Date d, long key)
public boolean isShared()
isShared
in interface org.sourcejammer.project.Node
public abstract int childCount()
childCount
in interface org.sourcejammer.project.Node
public java.lang.String toString()
toString
in class java.lang.Object
public void setUniqueID(long l, long key)
public long getUniqueID()
getUniqueID
in interface org.sourcejammer.project.Node
public abstract void store(long key, ArchiveInfoFlex info) throws FileAccessException
FileAccessException
public org.sourcejammer.project.view.NodeInfo getLightweightView()
public void updateLightweightViewString()
public java.lang.String getLightweightViewString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |