|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDatapoolEquivalenceClass
An equivalence class is a logical grouping of
records
within a datapool
.
All records in an equivalence class have the same uniform length as records in all other equivalence classes associated with a single datapool
. Note that each equivalence class is a named element with an associated name and ID.
IDatapool
,
IDatapoolRecord
Method Summary | |
---|---|
void |
appendRecord(IDatapoolRecord record)
Append the specified record to the end of the datapool. |
IDatapoolRecord |
constructRecord()
Construct a new record with an appropriate number of elements for the active datapool. |
IDatapoolRecord |
constructRecord(java.lang.Object[] elements)
Construct a new record with an appropriate number of elements for the active datapool. |
void |
insertRecord(IDatapoolRecord data, int beforeRecord)
Insert the specified record before the zero based record index. |
void |
moveRecord(int sourceRecordIndex, int targetRecordIndex)
Move the specified record. |
IDatapoolRecord |
removeRecord(int recordIndex)
Remove the specified record. |
void |
reorder(int[] recordOrder)
Inform the equivalence class of a new order for records. |
void |
replaceRecord(IDatapoolRecord data, int recordIndex)
Update the specified record with the supplied data. |
Methods inherited from interface org.eclipse.hyades.execution.runtime.datapool.IDatapoolEquivalenceClass |
---|
getDatapool, getRecord, getRecordCount |
Methods inherited from interface org.eclipse.hyades.execution.runtime.datapool.INamedElement |
---|
getDescription, getId, getName |
Methods inherited from interface org.eclipse.hyades.edit.datapool.INamedElement |
---|
setDescription, setId, setName |
Methods inherited from interface org.eclipse.hyades.execution.runtime.datapool.INamedElement |
---|
getDescription, getId, getName |
Method Detail |
---|
IDatapoolRecord constructRecord()
variables
in the datapool.
constructRecord(Object[])
,
IDatapool.getVariableCount()
,
insertRecord(IDatapoolRecord,int)
,
appendRecord(IDatapoolRecord)
,
replaceRecord(IDatapoolRecord,int)
IDatapoolRecord constructRecord(java.lang.Object[] elements)
variables
in the datapool. The supplied values will be padded or truncated to match the number of variables available. The supplied values may be null
in which
case all elements in the returned record will be null
.
elements
- The initial values defined for the record or null
if no initial values are desired.constructRecord()
,
IDatapool.getVariableCount()
,
insertRecord(IDatapoolRecord,int)
,
appendRecord(IDatapoolRecord)
,
replaceRecord(IDatapoolRecord,int)
void insertRecord(IDatapoolRecord data, int beforeRecord)
data
- The new record.beforeRecord
- The zero based record index to insert the new record before.appendRecord(IDatapoolRecord)
,
replaceRecord(IDatapoolRecord,int)
,
removeRecord(int)
void appendRecord(IDatapoolRecord record)
record
- The new record.insertRecord(IDatapoolRecord,int)
,
replaceRecord(IDatapoolRecord,int)
,
removeRecord(int)
void replaceRecord(IDatapoolRecord data, int recordIndex)
removeRecord
followed by
insertRecord
without the need to perform both calls. The specified record index is zero based. Any attempt to replace a record in the datapool with
a record already in the datapool will result in an appropriate exception.
data
- The new record data.recordIndex
- The zero based record index to update the new record data into.insertRecord(IDatapoolRecord,int)
,
appendRecord(IDatapoolRecord)
,
removeRecord(int)
IDatapoolRecord removeRecord(int recordIndex)
recordIndex
- The zero based record index of the record to remove.insertRecord(IDatapoolRecord,int)
,
appendRecord(IDatapoolRecord)
,
replaceRecord(IDatapoolRecord,int)
void moveRecord(int sourceRecordIndex, int targetRecordIndex)
sourceRecordIndex
- The zero based record index of the record to move.targetRecordIndex
- The record index marking the target location for the move action.insertRecord(IDatapoolRecord,int)
,
appendRecord(IDatapoolRecord)
,
replaceRecord(IDatapoolRecord,int)
void reorder(int[] recordOrder)
If the specified set of records is the wrong length or contains redundant record references an appropriate exception is thrown.
recordOrder
- The desired order for the records in the equivalence class.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |