| Interface | osid.assessment.authoring.SequenceRuleList | ||
|---|---|---|---|
| Implements | osid.OsidList | ||
| Description |
Like all
while (srl.hasNext()) {
AssessmentSequenceRule rule = srl.getNextAssessmentSequenceRule();
}
or
while (srl.hasNext()) {
AssessmentSequenceRule[] rules = srl.getNextAssessmentSequenceRules(srl.available());
}
| ||
| Method | getNextSequenceRule | ||
| Description |
Gets the next | ||
| Return | osid.assessment.authoring.SequenceRule | the next SequenceRule in this list. The hasNext()
method should be used to test that a next SequenceRule
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 | getNextSequenceRules | ||
| Description |
Gets the next set of | ||
| Parameters | cardinal | n | the number of SequenceRule elements requested which should
be less than or equal to available() |
| Return | osid.assessment.authoring.SequenceRule[] | an array of SequenceRule 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. | |