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