| Interface | osid.course.syllabus.DocetList | ||
|---|---|---|---|
| Implements | osid.OsidList | ||
| Description | 
                 Like all  
                     
                     
                     while (cl.hasNext()) {
                          Docet docet = cl.getNextDocet();
                     }
                     
                                 
                     
                
                or 
                
                     
                     
                     while (cl.hasNext()) {
                          Docet[] docets = cl.getNextDocets(cl.available());
                     }
                     
                                 
                     
                
                 | ||
| Method | getNextDocet | ||
| Description | 
                     Gets the next   | ||
| Return | osid.course.syllabus.Docet | the next  Docet  in this list. The  hasNext()  
method should be used to test that a next  Docet  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 | getNextDocets | ||
| Description | 
                     Gets the next set of   | ||
| Parameters | cardinal | n | the number of  Docet  elements requested which must be less 
than or equal to  available()   | 
| Return | osid.course.syllabus.Docet[] | an array of  Docet  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. | |