OSID Logo
OSID Specifications
resourcing package
Version 3.1.0
Interfaceosid.resourcing.FoundryList
Implementsosid.OsidList
Used Byosid.resourcing.AvailabilityFoundrySession
osid.resourcing.CommissionFoundrySession
osid.resourcing.CompetencyFoundrySession
osid.resourcing.EffortFoundrySession
osid.resourcing.FoundryHierarchySession
osid.resourcing.FoundryLookupSession
osid.resourcing.FoundryQuerySession
osid.resourcing.FoundrySearchResults
osid.resourcing.JobFoundrySession
osid.resourcing.WorkFoundrySession
show 6 more…
osid.resourcing.rules.AvailabilityEnablerFoundrySession
osid.resourcing.rules.CommissionEnablerFoundrySession
osid.resourcing.rules.JobConstrainerEnablerFoundrySession
osid.resourcing.rules.JobConstrainerFoundrySession
osid.resourcing.rules.JobProcessorEnablerFoundrySession
osid.resourcing.rules.JobProcessorFoundrySession
Description

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

while (fl.hasNext()) {
     Foundry foundry = fl.getNextFoundry();
}
                
or
while (fl.hasNext()) {
     Foundry[] foundries = fl.getNextFoundries(fl.available());
}
                
MethodgetNextFoundry
Description

Gets the next Foundry in this list.

Returnosid.resourcing.Foundry the next Foundry in this list. The hasNext() method should be used to test that a next Foundry 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.
MethodgetNextFoundries
Description

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

Parameterscardinaln the number of Foundry elements requested which must be less than or equal to available()
Returnosid.resourcing.Foundry[] an array of Foundry 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.