OSID Logo
OSID Specifications
type package
Version 3.1.0
Interfaceosid.type.TypeList
Implementsosid.OsidList
Used Byosid.Extensible
osid.OsidExtensibleForm
osid.OsidProfile
osid.OsidQuery
osid.OsidRule
osid.acknowledgement.AcknowledgementProfile
osid.assessment.AssessmentProfile
osid.assessment.authoring.AssessmentAuthoringProfile
osid.authentication.AuthenticationProfile
osid.authentication.keys.AuthenticationKeysProfile
show 106 more…
osid.authentication.process.AuthenticationProcessProfile
osid.authorization.AuthorizationProfile
osid.authorization.rules.AuthorizationRulesProfile
osid.bidding.BiddingProfile
osid.bidding.rules.BiddingRulesProfile
osid.billing.BillingProfile
osid.billing.payment.BillingPaymentProfile
osid.blogging.BloggingProfile
osid.calendaring.CalendaringProfile
osid.calendaring.cycle.CalendaringCycleProfile
osid.calendaring.rules.CalendaringRulesProfile
osid.cataloging.CatalogingProfile
osid.cataloging.rules.CatalogingRulesProfile
osid.checklist.ChecklistProfile
osid.checklist.mason.ChecklistMasonProfile
osid.commenting.CommentingProfile
osid.communication.CommunicationProfile
osid.configuration.ConfigurationProfile
osid.configuration.rules.ConfigurationRulesProfile
osid.contact.ContactProfile
osid.contact.rules.ContactRulesProfile
osid.control.ControlProfile
osid.control.rules.ControlRulesProfile
osid.course.CourseProfile
osid.course.chronicle.CourseChronicleProfile
osid.course.plan.CoursePlanProfile
osid.course.program.CourseProgramProfile
osid.course.registration.CourseRegistrationProfile
osid.course.registration.request.RegistrationRequestProfile
osid.course.requisite.CourseRequisiteProfile
osid.course.syllabus.CourseSyllabusProfile
osid.dictionary.DictionaryProfile
osid.filing.FilingProfile
osid.filing.allocation.FilingAllocationProfile
osid.financials.FinancialsProfile
osid.financials.budgeting.FinancialsBudgetingProfile
osid.financials.posting.FinancialsPostingProfile
osid.forum.ForumProfile
osid.grading.GradingProfile
osid.grading.calculation.GradingCalculationProfile
osid.grading.transform.GradingTransformProfile
osid.hierarchy.HierarchyProfile
osid.hold.HoldProfile
osid.hold.rules.HoldRulesProfile
osid.inquiry.InquiryProfile
osid.inquiry.rules.InquiryRulesProfile
osid.installation.InstallationProfile
osid.inventory.InventoryProfile
osid.inventory.shipment.InventoryShipmentProfile
osid.journaling.JournalingProfile
osid.learning.LearningProfile
osid.lexicon.LexiconProfile
osid.locale.LocaleProfile
osid.logging.LoggingProfile
osid.mapping.MappingProfile
osid.mapping.path.MappingPathProfile
osid.mapping.path.rules.MappingPathRulesProfile
osid.mapping.route.MappingRouteProfile
osid.mapping.route.RoutingSession
osid.messaging.MessagingProfile
osid.metering.MeteringProfile
osid.offering.OfferingProfile
osid.offering.rules.OfferingRulesProfile
osid.ontology.OntologyProfile
osid.ontology.rules.OntologyRulesProfile
osid.ordering.OrderingProfile
osid.ordering.rules.OrderingRulesProfile
osid.personnel.PersonnelProfile
osid.process.ProcessProfile
osid.profile.ProfileProfile
osid.profile.rules.ProfileRulesProfile
osid.provisioning.ProvisioningProfile
osid.provisioning.rules.ProvisioningRulesProfile
osid.proxy.ProxyProfile
osid.recipe.RecipeProfile
osid.recognition.RecognitionProfile
osid.relationship.RelationshipProfile
osid.relationship.rules.RelationshipRulesProfile
osid.repository.RepositoryProfile
osid.repository.rules.RepositoryRulesProfile
osid.resource.ResourceProfile
osid.resource.demographic.ResourceDemographicProfile
osid.resourcing.ResourcingProfile
osid.resourcing.rules.ResourcingRulesProfile
osid.room.RoomProfile
osid.room.construction.RoomConstructionProfile
osid.room.squatting.RoomSquattingProfile
osid.rules.RulesProfile
osid.rules.check.RulesCheckProfile
osid.search.SearchProfile
osid.sequencing.SequencingProfile
osid.subscription.Dispatch
osid.subscription.SubscriptionProfile
osid.subscription.rules.SubscriptionRulesProfile
osid.topology.TopologyProfile
osid.topology.path.TopologyPathProfile
osid.topology.rules.TopologyRulesProfile
osid.tracking.TrackingProfile
osid.tracking.rules.TrackingRulesProfile
osid.transport.TransportProfile
osid.type.TypeLookupSession
osid.voting.VotingProfile
osid.voting.rules.VotingRulesProfile
osid.workflow.WorkflowProfile
osid.workflow.event.WorkflowEventProfile
osid.workflow.rules.WorkflowRulesProfile
Description

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

while (tl.hasNext()) {
     Type type = tl.getNextType();
}
                
or
while (tl.hasNext()) {
     Type[] types = tl.getNextTypes(tl.available());
}
                
MethodgetNextType
Description

Gets the next Type in this list.

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

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

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