OSID Logo
OSID Specifications
hold rules package
Version 3.0.0
Interfaceosid.hold.rules.IssueEnablerList
Implementsosid.OsidList
Used Byosid.hold.rules.IssueConstrainerEnablerLookupSession
osid.hold.rules.IssueEnablerLookupSession
osid.hold.rules.IssueEnablerOublietteSession
osid.hold.rules.IssueEnablerQuerySession
osid.hold.rules.IssueEnablerRuleLookupSession
osid.hold.rules.IssueEnablerSearchResults
Description

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

while (iel.hasNext()) {
     IssueEnabler issueEnabler =iel.getNextIssueEnabler();
}

or

while (iel.hasNext()) {
     IssueEnabler[] issueEnablers = iel.getNextIssueEnablers(iel.available());
}            
                
MethodgetNextIssueEnabler
Description

Gets the next IssueEnabler in this list.

Returnosid.hold.rules.IssueEnablerthe next IssueEnabler in this list. The hasNext() method should be used to test that a next IssueEnabler is available before calling this method.
ErrorsILLEGAL_STATEno more elements available in this list
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetNextIssueEnablers
Description

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

Parameterscardinalnthe number of IssueEnabler elements requested which must be less than or equal to available()
Returnosid.hold.rules.IssueEnabler[]an array of IssueEnabler elements. The length of the array is less than or equal to the number specified.
ErrorsILLEGAL_STATEno more elements available in this list
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.