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