DataRowCollection
Overview
The DataRowCollection is used to hold a set of DataRows in the DataTable instance.
Location
- Reference: com.remobjects.dataabstract.jar
- Package: com.remobjects.dataabstract.data
- Ancestry: Object | DataRowCollection
asList
Returns the unmodifiable list of the rows from the table.
contains
Returns true if the collection contains the given row.
Parameters:
- aRow: A row to look for.
Count
property Count: Integer read;
Integer Count { __get; }
findRow (Object[]): DataRow
Tries to find a row in the table using the provided set of key values.
Parameters:
- aKeys: The set of keys to be use in search.
findRow (Object[], DataRowVersion): DataRow
Tries to find a row in the table using the provided set of key values. Only values of the specified version wil be cheched during the search.
method findRow(aKeys: array of Object; aVersion: DataRowVersion): DataRow
DataRow findRow(Object[] aKeys, DataRowVersion aVersion)
Parameters:
- aKeys: The set of keys to be use in search.
- aVersion: A version of table rows, that should be checked.
indexOf
Returns the index of the given row, if it is present in the table.
method indexOf(aValue: Object): Integer
Integer indexOf(Object aValue)
Parameters:
- aValue: The row whose position in the table is to be returned.
isEmpty
Returns true if this collection contains no rows.
method isEmpty: Boolean
Boolean isEmpty()
iterator final
Returns an iterator over the rows in this collection.
Row
Count
property Count: Integer read;
Integer Count { __get; }
Row
asList
Returns the unmodifiable list of the rows from the table.
contains
Returns true if the collection contains the given row.
Parameters:
- aRow: A row to look for.
findRow (Object[]): DataRow
Tries to find a row in the table using the provided set of key values.
Parameters:
- aKeys: The set of keys to be use in search.
findRow (Object[], DataRowVersion): DataRow
Tries to find a row in the table using the provided set of key values. Only values of the specified version wil be cheched during the search.
method findRow(aKeys: array of Object; aVersion: DataRowVersion): DataRow
DataRow findRow(Object[] aKeys, DataRowVersion aVersion)
Parameters:
- aKeys: The set of keys to be use in search.
- aVersion: A version of table rows, that should be checked.
indexOf
Returns the index of the given row, if it is present in the table.
method indexOf(aValue: Object): Integer
Integer indexOf(Object aValue)
Parameters:
- aValue: The row whose position in the table is to be returned.
isEmpty
Returns true if this collection contains no rows.
method isEmpty: Boolean
Boolean isEmpty()
iterator final
Returns an iterator over the rows in this collection.