| Interface | osid.assessment.authoring.AssessmentPartList | ||
|---|---|---|---|
| Implements | osid.OsidList | ||
| Used By | osid.assessment.authoring.AssessmentPart | ||
osid.assessment.authoring.AssessmentPartBankSession | |||
osid.assessment.authoring.AssessmentPartItemSession | |||
osid.assessment.authoring.AssessmentPartLookupSession | |||
osid.assessment.authoring.AssessmentPartQuerySession | |||
osid.assessment.authoring.AssessmentPartSearchResults | |||
osid.assessment.authoring.SequenceRule | |||
| Description |
Like all while (apl.hasNext()) {
AssessmentPart assessmentPart = apl.getNextAssessmentPart();
}
or
while (apl.hasNext()) {
AssessmentPart[] assessmentParts = apl.hetNextAssessmentParts(apl.available());
}
| ||
| Method | getNextAssessmentPart | ||
| Description |
Gets the next | ||
| Return | osid.assessment.authoring.AssessmentPart | the next AssessmentPart in this list. The
hasNext() method should be used to test that a next
AssessmentPart 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 | getNextAssessmentParts | ||
| Description |
Gets the next set of | ||
| Parameters | cardinal | n | the number of AssessmentPart elements requested which should
be less than or equal to available() |
| Return | osid.assessment.authoring.AssessmentPart[] | an array of AssessmentPart 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. | |