org.ujac.util.template.test
Class ProcedureTest.TreeNode

java.lang.Object
  extended by org.ujac.util.template.test.ProcedureTest.TreeNode
Enclosing class:
ProcedureTest

public static class ProcedureTest.TreeNode
extends Object

A class for tree nodes


Constructor Summary
ProcedureTest.TreeNode(String name)
          Constructs a TreeNode instance with specific attributes.
 
Method Summary
 void addChild(ProcedureTest.TreeNode child)
          Adds a child to the node.
 List getChilds()
          Gets the childs of the node.
 String getName()
          Gets the name of the node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcedureTest.TreeNode

public ProcedureTest.TreeNode(String name)
Constructs a TreeNode instance with specific attributes.

Parameters:
name - The name of the node.
Method Detail

getName

public String getName()
Gets the name of the node.

Returns:
The name of the node.

getChilds

public List getChilds()
Gets the childs of the node.

Returns:
The childs of the node.

addChild

public void addChild(ProcedureTest.TreeNode child)
Adds a child to the node.

Parameters:
child - The child to add.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.