| Package | Description |
|---|---|
| com.onwbp.adaptation |
Provides core classes and interfaces for accessing datasets, tables, and their records.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RequestResult.close()
This method must be invoked after having invoked the methods
nextAdaptation (or getAdaptation)
to ensure that underlying resources are released. |
boolean |
RequestResult.contains(Adaptation aRecord)
Returns
true if the specified record belongs to the result of this request
(even if the record is obsolete). |
Adaptation |
RequestResult.getAdaptation(int anIndex)
Deprecated.
It is strongly recommended to use
RequestResult.nextAdaptation() instead,
as it is safer than this method in the case of
concurrent deletion. Moreover, it does not call
RequestResult.getSize(), and thus can be less expensive when the iteration is
not performed on all records.
|
int |
RequestResult.getSize()
Returns the total number of records held by this result.
|
boolean |
RequestResult.isEmpty()
Returns
true if the result is empty (that is, size is 0). |
boolean |
RequestResult.isSizeGreaterOrEqual(int minimalSize)
Verifies the number of records contained in this result.
|
Adaptation |
RequestResult.nextAdaptation()
Moves the cursor to the next record in the result
and returns it.
|
void |
RequestResult.refresh()
Forces a full re-computation of this result.
|
boolean |
RequestResult.refreshIfNeeded()
Performs a refresh of the result if it may have changed.
|