public interface AwardBatchFormList extends OsidList
Like all OsidLists,
AwardBatchFormList
provides a means for accessing AwardBatchForm
elements
sequentially either one at a time or many at a time. Examples:
while (abfl.hasNext()) { AwardBatchForm form = abfl.getNextAwardBatchForm(); }or
while (abfl.hasNext()) { AwardBatchForm[] forms = abfl.getNextAwardBatchForms(abfl.available()); }
Modifier and Type | Method and Description |
---|---|
AwardBatchForm |
getNextAwardBatchForm()
Gets the next
AwardBatchForm in this list. |
AwardBatchForm[] |
getNextAwardBatchForms(long n)
Gets the next set of
AwardBatchForm elements in this
list. |
AwardBatchForm getNextAwardBatchForm() throws OperationFailedException
AwardBatchForm
in this list. AwardBatchForm
in this list. The
hasNext()
method should be used to test that a
next AwardBatchForm
is available before calling
this method.IllegalStateException
- no more elements available in
this listOperationFailedException
- unable to complete requestmandatory
- This method must be implemented. AwardBatchForm[] getNextAwardBatchForms(long n) throws OperationFailedException
AwardBatchForm
elements in this
list. The specified amount must be less than or equal to the return
from available().
n
- the number of AwardBatchForm
elements
requested which must be less than or equal to
available()
AwardBatchForm
elements.
The length of the array is less than or equal to the
number specified.IllegalStateException
- no more elements available in
this listOperationFailedException
- unable to complete requestmandatory
- This method must be implemented.