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.
method asList: List<DataRow>
List<DataRow> asList()
contains
Returns true if the collection contains the given row.
method contains(aRow: DataRow): Boolean
Boolean contains(DataRow aRow)
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.
method findRow(aKeys: array of Object): DataRow
DataRow findRow(Object[] aKeys)
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.
method iterator: Iterator<DataRow>
Iterator<DataRow> iterator()
Row
property Row[x: Integer]: DataRow read;
DataRow Row[Integer x] { __get; }
Count
property Count: Integer read;
Integer Count { __get; }
Row
property Row[x: Integer]: DataRow read;
DataRow Row[Integer x] { __get; }
asList
Returns the unmodifiable list of the rows from the table.
method asList: List<DataRow>
List<DataRow> asList()
contains
Returns true if the collection contains the given row.
method contains(aRow: DataRow): Boolean
Boolean contains(DataRow aRow)
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.
method findRow(aKeys: array of Object): DataRow
DataRow findRow(Object[] aKeys)
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.
method iterator: Iterator<DataRow>
Iterator<DataRow> iterator()