com.ibm.ws.tpv.engine.buffer

Class TreeNodeData

  • java.lang.Object
    • com.ibm.ws.tpv.engine.buffer.TreeNodeData
  • All Implemented Interfaces:
    java.io.Serializable


    public class TreeNodeData
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      TreeNodeData(int UID, java.lang.String statsName, java.lang.String statsType)
      Constructor
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void dump()
      Recursively prints the tree to System.out.
      void dump(java.io.PrintStream out)
      Recursively prints the tree to the specified PrintStream
      void dump(java.io.PrintStream out, java.lang.String indent)
      This protected method is used to recursively dump the contents of the this class
      TreeNodeData getChild(int i)
      Returns the node at the given index.
      int getLevel()
      Returns for the level
      int getNumChildren()
      Return the number of children this node has.
      java.lang.String getStatsName()
      Return the statsName for this node.
      java.lang.String getStatsType()
      Return the statsType for this node.
      int getUID()
      Return the identifier for this node.
      void setChildren(java.util.ArrayList children)
      Adds a child to the node
      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

        public TreeNodeData(int UID,
                    java.lang.String statsName,
                    java.lang.String statsType)
        Constructor
    • Method Detail

      • setChildren

        public void setChildren(java.util.ArrayList children)
        Adds a child to the node
        Parameters:
        child -
      • getNumChildren

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

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

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

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

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

        public int getLevel()
        Returns for the level
        Returns:
        int
      • setLevel

        public void setLevel(int i)
        Sets the level
        Parameters:
        i -
      • dump

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

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

        public void dump(java.io.PrintStream out,
                java.lang.String indent)
        This protected method is used to recursively dump the contents of the this class
        Parameters:
        out -
        indent -
IBM WebSphere Application ServerTM
Release 8.5