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