com.wrq.vhi.script.api
Interface ProcedureRecordSet

All Superinterfaces:
RecordSet
All Known Subinterfaces:
MutableProcedureRecordSet

public interface ProcedureRecordSet
extends RecordSet

The result of executing a table procedure. Contains zero or more ProcedureRecord objects, one for each record returned by the procedure.


Method Summary
 ProcedureRecord getProcedureRecord(int row)
          Gets a record by row number.
 
Methods inherited from interface com.wrq.vhi.script.api.RecordSet
getColumnNames, getCount, getRecord, toXMLString
 

Method Detail

getProcedureRecord

ProcedureRecord getProcedureRecord(int row)
Gets a record by row number. This is equivalent to calling RecordSet.getRecord(int) except that no cast is required to obtain the ProcedureRecord interface.

Parameters:
row - the zero-based row number
Returns:
the record for the specified row
Throws:
java.lang.IllegalArgumentException - if the row index is invalid