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