Interface ProvisionBatchFormList
- All Superinterfaces:
AutoCloseable, Closeable, OsidList, OsidList
Like all OsidLists , ProvisionBatchFormList provides a
means for accessing ProvisionBatchForm elements sequentially
either one at a time or many at a time. Examples:
while (pbfl.hasNext()) {
ProvisionBatchForm form = pbfl.getNextProvisionBatchForm();
}
or
while (pbfl.hasNext()) {
ProvisionBatchForm[] forms = pbfl.getNextProvisionBatchForms(pbfl.available());
}
-
Method Summary
Modifier and TypeMethodDescriptionGets the nextProvisionBatchFormin this list.getNextProvisionBatchForms(long n) Gets the next set ofProvisionBatchFormelements in this list.
-
Method Details
-
getNextProvisionBatchForm
Gets the nextProvisionBatchFormin this list.- Returns:
- the next
ProvisionBatchFormin this list. ThehasNext()method should be used to test that a nextProvisionBatchFormis available before calling this method. - Throws:
IllegalStateException- no more elements available in this listOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getNextProvisionBatchForms
Gets the next set ofProvisionBatchFormelements in this list. The specified amount must be less than or equal to the return fromavailable().- Parameters:
n- the number ofProvisionBatchFormelements requested which must be less than or equal toavailable()- Returns:
- an array of
ProvisionBatchFormelements. The length of the array is less than or equal to the number specified. - Throws:
IllegalStateException- no more elements available in this listOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-