|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nokia.ant.listener.internaldata.DataNode
public abstract class DataNode
Constructor Summary | |
---|---|
DataNode(DataNode parent,
java.lang.Object reference)
|
Method Summary | |
---|---|
void |
add(DataNode child)
Method used to register a child to it's parent. |
DataNode |
find(java.lang.Object reference)
Find a node using its reference. |
java.util.Date |
getEndTime()
Make is reliable: if end time doesn't exists let's use the start time. |
long |
getJobId()
|
abstract java.lang.String |
getName()
Name of the node. |
DataNode |
getParent()
Returns the parent node, or null if the root. |
java.lang.Object |
getReference()
|
java.util.Date |
getStartTime()
|
long |
getThreadId()
Return the thread where the class has been created under. |
boolean |
isEmpty()
Is the node containing any children. |
java.util.Iterator<DataNode> |
iterator()
Return an iterator on this node children |
void |
remove(DataNode child)
Method used to remove a node from it's parent |
void |
setEndTime(java.util.Date endTime)
|
void |
setReference(java.lang.Object reference)
|
void |
setStartTime(java.util.Date startTime)
|
java.lang.String |
toString()
Default string representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataNode(DataNode parent, java.lang.Object reference)
Method Detail |
---|
public void add(DataNode child)
child,
- the child to register.public java.util.Iterator<DataNode> iterator()
public void remove(DataNode child)
child,
- the child to remove.public boolean isEmpty()
public DataNode getParent()
public java.util.Date getStartTime()
public void setStartTime(java.util.Date startTime)
public java.util.Date getEndTime()
public void setEndTime(java.util.Date endTime)
public long getThreadId()
public java.lang.Object getReference()
public void setReference(java.lang.Object reference)
public long getJobId()
public DataNode find(java.lang.Object reference)
reference
- object
public abstract java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |