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

Project Version 2.3

com.rational.test.ft.vp
Interface ITestDataTreeNode


public interface ITestDataTreeNode

Provides the necessary methods for representing a node in a Tree test-data object.

Since:
RFT1.0

Method Summary
 int getChildCount()
          Returns the number of child nodes from this node.
 ITestDataTreeNode[] getChildren()
          Returns the child nodes relative to this node.
 boolean getMasked()
          Returns true if this node in the tree should be masked from comparison in a verification-point replay.
 java.lang.Object getNode()
          Returns a description of the node itself.
 ITestDataTreeNode getParent()
          Returns the parent node of a tree structure.
 ITestDataTree getTree()
          This method returns the reference to tree.
 void setChildren(ITestDataTreeNode[] children)
          Sets the child nodes of this node.
 void setMasked(boolean masked)
          Sets the masked attribute of the element of this node.
 void setNode(java.lang.Object node)
          Sets a description of the node itself.
 void setParent(ITestDataTreeNode parent)
          Sets the parent node of a tree structure.
 void setTree(ITestDataTree tree)
          This method sets the reference to tree.
 

Method Detail

getNode

java.lang.Object getNode()
Returns a description of the node itself. The resulting object is an instance of a known object type, that is, a primitive type or a type with a registered value class.

Since:
RFT1.0

setNode

void setNode(java.lang.Object node)
Sets a description of the node itself. The object must be an instance of a known object type, that is, a primitive type or a type with a registered value class.

Since:
RFT1.0

getParent

ITestDataTreeNode getParent()
Returns the parent node of a tree structure.

Since:
RFT1.0

setParent

void setParent(ITestDataTreeNode parent)
Sets the parent node of a tree structure.

Since:
RFT1.0

getChildCount

int getChildCount()
Returns the number of child nodes from this node.

Since:
RFT1.0

getChildren

ITestDataTreeNode[] getChildren()
Returns the child nodes relative to this node.

Since:
RFT1.0

setChildren

void setChildren(ITestDataTreeNode[] children)
Sets the child nodes of this node.

Parameters:
children - the children of this node
Since:
RFT1.0

getMasked

boolean getMasked()
Returns true if this node in the tree should be masked from comparison in a verification-point replay.

Since:
RFT1.0

setMasked

void setMasked(boolean masked)
Sets the masked attribute of the element of this node.

Parameters:
masked - true if this node should be ignored in a comparison operation
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