Database Verification Point Reference |
This interface is implemented by a class that encapsulates a table of string data.
public interface DataTable
Commonly used with QualityArchitect.
This interface requires QualityArchitect.
This class contains the following methods:
getColumns()
Retrieves the column names in the table.
getData()
Retrieves data from the table.
getNumCols()
Retrieves the number of columns in the table.
getNumRows()
Retrieves the number of rows in the table.
setColumns()
Specifies the column names in the table.
setData()
Specifies the data in the table.
Retrieves the column names in the table.
public java.lang.String[] getColumns
()
An array of the column names in the table.
Retrieves data from the table.
public java.util.Vector getData
()
A vector
of arrays of data in the table. Each array represents one row of data from the recordset.
Retrieves the number of columns in the table.
public int getNumCols
()
The number of columns in the table.
Retrieves the number of rows in the table.
public int getNumRows
()
The number of rows in the table.
Specifies the column names in the table.
public voidsetColumns
(java.lang.String[]asColumns
)
asColumns
An array of the column names in the table.
Specifies the data in the table. Each element in the vector
is an array of strings containing one row of data.
public voidsetData
(java.util.VectorvData
)
Rational Test Script Services for Java | Rational Software Corporation |
Copyright (c) 2003, Rational Software Corporation | http://www.rational.com support@rational.com info@rational.com |