IBM Rational Functional Tester
Version 8.2.1
IBM Rational Functional Tester API Reference

Project Version 2.3

com.rational.test.ft.services
Class DatapoolStore

java.lang.Object
  extended by com.rational.test.ft.services.DatapoolStore

public class DatapoolStore
extends java.lang.Object


Constructor Summary
DatapoolStore()
          Creates an internal datapool structure to hold datapool variable/value pairs.
DatapoolStore(java.lang.String dpVariableName, java.lang.Object dpVariableValue)
          Creates an internal datapool structrue to hold datapool variable/value pairs.
 
Method Summary
 void addDpVariable(java.lang.String dpVariableName, java.lang.Object dpVariableValue)
          Adds a datapool variable/value pair to the structure
 java.lang.String getDpVariableNameAtIndex(int index)
          Returns the Variable Name at the Zero based index
 java.lang.String getDpVariableValueAtIndex(int index)
          Returns the Variable value at the Zero based index
 int getTotalRecords()
          Return the total number of records
 java.lang.String toString()
          Return the String representation of the structure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatapoolStore

public DatapoolStore()
Creates an internal datapool structure to hold datapool variable/value pairs.


DatapoolStore

public DatapoolStore(java.lang.String dpVariableName,
                     java.lang.Object dpVariableValue)
Creates an internal datapool structrue to hold datapool variable/value pairs. The first entry being the dpVariableName and dpVariableValue

Parameters:
dpVariableName - The datapool variable name
dpVariableValue - The datapool variable value
Method Detail

addDpVariable

public void addDpVariable(java.lang.String dpVariableName,
                          java.lang.Object dpVariableValue)
Adds a datapool variable/value pair to the structure

Parameters:
dpVariableName - The datapool variable name
dpVariableValue - The datapool variable value

getDpVariableNameAtIndex

public java.lang.String getDpVariableNameAtIndex(int index)
Returns the Variable Name at the Zero based index

Parameters:
index - Zero based index
Returns:

getDpVariableValueAtIndex

public java.lang.String getDpVariableValueAtIndex(int index)
Returns the Variable value at the Zero based index

Parameters:
index - Zero based index
Returns:

getTotalRecords

public int getTotalRecords()
Return the total number of records

Returns:
The total number of variable/value pair

toString

public java.lang.String toString()
Return the String representation of the structure

Overrides:
toString in class java.lang.Object
Returns:
The string representation of all the values