com.wrq.vhi.script.api
Interface ModelRecordSet
- All Superinterfaces:
- RecordSet
- All Known Subinterfaces:
- RecordSetScreen
public interface ModelRecordSet
- extends RecordSet
The result of fetching records from a recordset in a model. Contains zero
or more ModelRecord
objects, one for each record returned by the
fetch.
getModelRecord
ModelRecord getModelRecord(int row)
throws java.lang.IllegalArgumentException
- Gets a record by row number. This is equivalent to calling
RecordSet.getRecord(int)
except that no cast is required to obtain
the ModelRecord
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