Interface | osid.course.plan.LessonAnchorList | ||
---|---|---|---|
Implements | osid.OsidList | ||
Description |
Like all while (lal.hasNext()) { LessonAnchor anchor = lal.getNextLessonAnchor(); }or while (lal.hasNext()) { LessonAnchor[] anchors = lal.getNextLessonAnchors(lal.available()); } | ||
Method | getNextLessonAnchor | ||
Description |
Gets the next | ||
Return | osid.course.plan.LessonAnchor | the next LessonAnchor in this list. The hasNext()
method should be used to test that a next LessonAnchor
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 | getNextLessonAnchors | ||
Description |
Gets the next set of | ||
Parameters | cardinal | n | the number of LessonAnchor elements requested which must be
less than or equal to available() |
Return | osid.course.plan.LessonAnchor[] | an array of LessonAnchor 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. |