IBM Rational Functional Tester
Version 6.1
IBM Rational Functional Tester API Reference

Project Version 2.0

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

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

Since:
RFT1.0

setRootNodes

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

Since:
RFT1.0

getRootNodeCount

public int getRootNodeCount()
Returns the number of root nodes.

Since:
RFT1.0

getNodeCount

public 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

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

Since:
RFT2.1

getTree

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

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