IBM Rational Functional Tester
Version 8.1.1000
IBM Rational Functional Tester API Reference

Project Version 2.3

com.rational.test.ft.vp
Interface ITestDataTreeNodes


public interface ITestDataTreeNodes

Enables an appropriate display object to be associated with the tree nodes. This is the container class for the Nodes of a tree-type verification point. Without this container class, the generic property display does not know how to display the nodes.

Since:
RFT1.0

Method Summary
 int getNodeCount()
          Returns the number of nodes in the tree hierarchy.
 int getRootNodeCount()
          Returns the number of root nodes.
 ITestDataTreeNode[] getRootNodes()
          Returns the root nodes of a tree structure.
 ITestDataTree getTree()
          This method returns the reference to tree.
 void setRootNodes(ITestDataTreeNode[] rootNodes)
          Sets the root nodes of a tree structure.
 void setTree(ITestDataTree tree)
          This method sets the reference to tree.
 

Method Detail

getRootNodes

ITestDataTreeNode[] getRootNodes()
Returns the root nodes of a tree structure.

Since:
RFT1.0

setRootNodes

void setRootNodes(ITestDataTreeNode[] rootNodes)
Sets the root nodes of a tree structure.

Since:
RFT1.0

getRootNodeCount

int getRootNodeCount()
Returns the number of root nodes.

Since:
RFT1.0

getNodeCount

int getNodeCount()
Returns the number of nodes in the tree hierarchy. This data cannot be statically maintained due to the potentailly dynamic nature of the underlying nodes. Therefore, be careful when using this method.

Since:
RFT1.0

setTree

void setTree(ITestDataTree tree)
This method sets the reference to tree.

Since:
RFT2.1

getTree

ITestDataTree getTree()
This method returns the reference to tree.

Returns:
The reference to tree.
Since:
RFT2.1