| Interface | osid.resourcing.rules.CommissionEnablerList | ||
|---|---|---|---|
| Implements | osid.OsidList | ||
| Description |
Like all
while (cel.hasNext()) {
CommissionEnabler enabler = cel.getNextCommissionEnabler();
}
or
while (cel.hasNext()) {
CommissionEnabler[] enablers = cel.getNextCommissionEnablers(cel.available());
}
| ||
| Method | getNextCommissionEnabler | ||
| Description |
Gets the next | ||
| Return | osid.resourcing.rules.CommissionEnabler | the next CommissionEnabler in this list. The
hasNext() method should be used to test that a next
CommissionEnabler 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 | getNextCommissionEnablers | ||
| Description |
Gets the next set of | ||
| Parameters | cardinal | n | the number of CommissionEnabler elements requested which
must be less than or equal to available() |
| Return | osid.resourcing.rules.CommissionEnabler[] | an array of CommissionEnabler 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. | |