Interface | osid.ontology.batch.OntologyBatchFormList | ||
---|---|---|---|
Implements | osid.OsidList | ||
Description |
Like all while (obfl.hasNext()) { OntologyBatchForm form = obfl.getNextOntologyBatchForm(); }or while (obfl.hasNext()) { OntologyBatchForm[] forms = obfl.getNextOntologyBatchForms(obfl.available()); } | ||
Method | getNextOntologyBatchForm | ||
Description |
Gets the next | ||
Return | osid.ontology.batch.OntologyBatchForm | the next OntologyBatchForm in this list. The
hasNext() method should be used to test that a next
OntologyBatchForm 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 | getNextOntologyBatchForms | ||
Description |
Gets the next set of | ||
Parameters | cardinal | n | the number of OntologyBatchForm elements requested which
must be less than or equal to available() |
Return | osid.ontology.batch.OntologyBatchForm[] | an array of OntologyBatchForm 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. |