com.ibm.ws.tpv.engine.buffer

Class TreeNodeData

  1. java.lang.Object
  2. extended bycom.ibm.ws.tpv.engine.buffer.TreeNodeData
All implemented interfaces:
java.io.Serializable

  1. public class TreeNodeData
  2. extends java.lang.Object
  3. implements java.io.Serializable
See Also:
Serialized Form

Constructor Summary

Constructor and Description
TreeNodeData(int UID,java.lang.String statsName,java.lang.String statsType)
Constructor

Method Summary

Modifier and Type Method and Description
  1. void
dump()
Recursively prints the tree to System.out.
  1. void
dump(java.io.PrintStream out)
Recursively prints the tree to the specified PrintStream
  1. void
dump(java.io.PrintStream out,java.lang.String indent)
This protected method is used to recursively dump the contents of the this class
  1. TreeNodeData
getChild(int i)
Returns the node at the given index.
  1. int
getLevel()
Returns for the level
  1. int
getNumChildren()
Return the number of children this node has.
  1. java.lang.String
getStatsName()
Return the statsName for this node.
  1. java.lang.String
getStatsType()
Return the statsType for this node.
  1. int
getUID()
Return the identifier for this node.
  1. void
setChildren(java.util.ArrayList children)
Adds a child to the node
  1. void
setLevel(int i)
Sets the level
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

TreeNodeData

  1. public TreeNodeData(int UID,
  2. java.lang.String statsName,
  3. java.lang.String statsType)
Constructor

Method Detail

setChildren

  1. public void setChildren(java.util.ArrayList children)
Adds a child to the node

getNumChildren

  1. public int getNumChildren()
Return the number of children this node has.
Returns:
int Number of children

getChild

  1. public TreeNodeData getChild(int i)
Returns the node at the given index.
Parameters:
i - The node index to return
Returns:
TreeNodeData The child

getUID

  1. public int getUID()
Return the identifier for this node.
Returns:
String The identifier

getStatsName

  1. public java.lang.String getStatsName( )
Return the statsName for this node.
Returns:
String

getStatsType

  1. public java.lang.String getStatsType( )
Return the statsType for this node.
Returns:
String

getLevel

  1. public int getLevel()
Returns for the level
Returns:
int

setLevel

  1. public void setLevel(int i)
Sets the level
Parameters:
i -

dump

  1. public void dump()
Recursively prints the tree to System.out.

dump

  1. public void dump(java.io.PrintStream out)
Recursively prints the tree to the specified PrintStream
Parameters:
out -

dump

  1. public void dump(java.io.PrintStream out,
  2. java.lang.String indent)
This protected method is used to recursively dump the contents of the this class
Parameters:
out -
indent -