| Interface | osid.financials.BusinessNodeList | ||
|---|---|---|---|
| Implements | osid.OsidList | ||
| Description |
Like all
while (bnl.hasNext()) {
BusinessNode node = bnl.getNextBusinessNode();
}
or
while (bnl.hasNext()) {
BusinessNode[] nodes = bnl.getNextBusinessNodes(bnl.available());
}
| ||
| Method | getNextBusinessNode | ||
| Description |
Gets the next | ||
| Return | osid.financials.BusinessNode | the next BusinessNode in this list. The hasNext()
method should be used to test that a next BusinessNode
is available before calling this method. | |
| Errors | ILLEGAL_STATE | no more elements available in this list | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getNextBusinessNodes | ||
| Description |
Gets the next set of | ||
| Parameters | cardinal | n | the number of BusinessNode elements requested which must be
less than or equal to available() |
| Return | osid.financials.BusinessNode[] | an array of BusinessNode elements. The length
of the array is less than or equal to the number specified. | |
| Errors | ILLEGAL_STATE | no more elements available in this list | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |