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

Project Version 2.3

com.rational.test.ft.vp
Interface ITestDataList

All Superinterfaces:
ITestData

public interface ITestDataList
extends ITestData

Represents the elements in a list-type object for a verification-point operation. The elements in the list are encapsulated in an ordered list.

Since:
RFT1.0

Method Summary
 int getElementCount()
          Returns the setting of the elementCount property.
 ITestDataElementList getElements()
          Returns the object that contains the elements in the list.
 boolean getOrdered()
          Returns the setting of the Ordered property.
 void setElementCount(int count, boolean masked)
          Sets count of items in the list as an UNmasked property of the list.
 void setElements(ITestDataElementList elements)
          Defines the element set.
 void setOrdered(boolean ordered)
          Sets the list to be compared in either an ordered or unordered fashion.
 
Methods inherited from interface com.rational.test.ft.vp.ITestData
getData, getDataType, getDescription, getName, getProperty, getPropertyKeys, getType, setData, setDataType, setDescription, setName, setProperty, setType
 

Method Detail

getElements

ITestDataElementList getElements()
Returns the object that contains the elements in the list.

Since:
RFT1.0

setElements

void setElements(ITestDataElementList elements)
Defines the element set. This method also sets the elementCount property as a side effect.

Parameters:
elements - the set of elements that define the list
Since:
RFT1.0

getOrdered

boolean getOrdered()
Returns the setting of the Ordered property.

Since:
RFT1.0

setOrdered

void setOrdered(boolean ordered)
Sets the list to be compared in either an ordered or unordered fashion. The default is to compare the list in an ordered fashion, that is, with a property setting of true. However, if the order in the list is not important, call this method with false.

Parameters:
ordered - the setting for the property

getElementCount

int getElementCount()
Returns the setting of the elementCount property.

Since:
RFT1.0

setElementCount

void setElementCount(int count,                      boolean masked)
Sets count of items in the list as an UNmasked property of the list. This count is used in the comparison of this data to another data set.

Parameters:
count - the element count used in the data comparison
Since:
RFT1.0