OSID Logo
OSID Specifications
inquiry package
Version 3.1.0
Interfaceosid.inquiry.InquestList
Implementsosid.OsidList
Used Byosid.inquiry.AuditInquestSession
osid.inquiry.InquestHierarchySession
osid.inquiry.InquestLookupSession
osid.inquiry.InquestQuerySession
osid.inquiry.InquestSearchResults
osid.inquiry.InquiryInquestSession
osid.inquiry.ResponseInquestSession
osid.inquiry.rules.AuditConstrainerEnablerInquestSession
osid.inquiry.rules.AuditConstrainerInquestSession
osid.inquiry.rules.AuditEnablerInquestSession
show 3 more…
osid.inquiry.rules.AuditProcessorEnablerInquestSession
osid.inquiry.rules.AuditProcessorInquestSession
osid.inquiry.rules.InquiryEnablerInquestSession
Description

Like all OsidLists, InquestList provides a means for accessing Inquest elements sequentially either one at a time or many at a time. Examples:

while (il.hasNext()) {
     Inquest inquest = il.getNextInquest();
}
                
or
while (il.hasNext()) {
     Inquest[] inquests = il.getNextInquests(il.available());
}
                
MethodgetNextInquest
Description

Gets the next Inquest in this list.

Returnosid.inquiry.Inquest the next Inquest in this list. The hasNext() method should be used to test that a next Inquest is available before calling this method.
ErrorsILLEGAL_STATE no more elements available in this list
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetNextInquests
Description

Gets the next set of Inquest elements in this list. The specified amount must be less than or equal to the return from available().

Parameterscardinaln the number of Inquest elements requested which must be less than or equal to available()
Returnosid.inquiry.Inquest[] an array of Inquest elements. The length of the array is less than or equal to the number specified.
ErrorsILLEGAL_STATE no more elements available in this list
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.