| Interface | osid.course.registration.batch.CourseRegistrationPeerList | ||
|---|---|---|---|
| Implements | osid.OsidList | ||
| Description |
Like all while (crpl.hasNext()) {
CourseRegistrationPeer peer = crpl.getNextCourseRegistrationPeer();
}
or
while (crpl.hasNext()) {
CourseRegistrationPeer[] peers = crpl.getNextCourseRegistrationPeers(crpl.available());
}
| ||
| Method | getNextCourseRegistrationPeer | ||
| Description |
Gets the next | ||
| Return | osid.course.registration.batch.CourseRegistrationPeer | the next CourseRegistrationPeer in this list. The
hasNext() method should be used to test that a next
CourseRegistrationPeer 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 | getNextCourseRegistrationPeers | ||
| Description |
Gets the next set of
| ||
| Parameters | cardinal | n | the number of CourseRegistrationPeer elements requested which
must be less than or equal to available() |
| Return | osid.course.registration.batch.CourseRegistrationPeer[] | an array of CourseRegistrationPeer 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. | |