Interface OsidList
- All Superinterfaces:
AutoCloseable, Closeable, OsidList
- All Known Subinterfaces:
AcademyBatchFormList, AcademyList, AcademyNodeList, AccountBatchFormList, AccountList, AccountNodeList, ActionBatchFormList, ActionEnablerList, ActionGroupBatchFormList, ActionGroupList, ActionList, ActivityBatchFormList, ActivityBatchFormList, ActivityBatchFormList, ActivityList, ActivityList, ActivityList, ActivityNodeList, ActivityPeerList, ActivityRegistrationBatchFormList, ActivityRegistrationList, ActivityRegistrationPeerList, ActivityUnitBatchFormList, ActivityUnitList, AddressBatchFormList, AddressBookBatchFormList, AddressBookList, AddressBookNodeList, AddressList, AgencyBatchFormList, AgencyList, AgencyNodeList, AgendaList, AgentBatchFormList, AgentList, AliasRequestList, AliasResponseList, AllocationList, AnswerBatchFormList, AnswerList, AntimatroidList, AntimatroidNodeList, AppointmentBatchFormList, AppointmentList, AppointmentPeerList, AssessmentBatchFormList, AssessmentEntryBatchFormList, AssessmentEntryList, AssessmentEntryPeerList, AssessmentList, AssessmentOfferedBatchFormList, AssessmentOfferedList, AssessmentPartList, AssessmentRequirementList, AssessmentSectionList, AssessmentTakenBatchFormList, AssessmentTakenList, AssessmentTakenPeerList, AssetBatchFormList, AssetContentBatchFormList, AssetContentList, AssetList, AuctionBatchFormList, AuctionConstrainerEnablerList, AuctionConstrainerList, AuctionHouseBatchFormList, AuctionHouseList, AuctionHouseNodeList, AuctionList, AuctionProcessorEnablerList, AuctionProcessorList, AuditBatchFormList, AuditConstrainerEnablerList, AuditConstrainerList, AuditEnablerList, AuditList, AuditProcessorEnablerList, AuditProcessorList, AuthorizationAgentPeerList, AuthorizationBatchFormList, AuthorizationEnablerList, AuthorizationList, AuthorizationResourcePeerList, AuthorizationTrustPeerList, AvailabilityBatchFormList, AvailabilityEnablerList, AvailabilityList, AvailabilityPeerList, AwardBatchFormList, AwardEntryBatchFormList, AwardEntryList, AwardEntryPeerList, AwardList, AwardRequirementList, BallotBatchFormList, BallotConstrainerEnablerList, BallotConstrainerList, BallotList, BankBatchFormList, BankList, BankNodeList, BidBatchFormList, BidEnablerList, BidList, BidPeerList, BillingBatchFormList, BillingList, BillingNodeList, BinBatchFormList, BinList, BinNodeList, BlockBatchFormList, BlockList, BlogBatchFormList, BlogList, BlogNodeList, BookBatchFormList, BookList, BookNodeList, BranchBatchFormList, BranchList, BrokerBatchFormList, BrokerConstrainerEnablerList, BrokerConstrainerList, BrokerEnablerList, BrokerList, BrokerProcessorEnablerList, BrokerProcessorList, BudgetBatchFormList, BudgetEntryBatchFormList, BudgetEntryList, BudgetEntryPeerList, BudgetList, BudgetPeerList, BuildingBatchFormList, BuildingList, BusinessBatchFormList, BusinessBatchFormList, BusinessList, BusinessList, BusinessNodeList, BusinessNodeList, CalendarBatchFormList, CalendarList, CalendarNodeList, CampusBatchFormList, CampusList, CampusNodeList, CandidateBatchFormList, CandidateList, CandidatePeerList, CanonicalUnitBatchFormList, CanonicalUnitEnablerList, CanonicalUnitList, CanonicalUnitProcessorEnablerList, CanonicalUnitProcessorList, CatalogEnablerList, CatalogList, CatalogNodeList, CatalogueBatchFormList, CatalogueList, CatalogueNodeList, CategoryBatchFormList, CategoryList, ChainList, CheckList, ChecklistBatchFormList, ChecklistList, ChecklistNodeList, CheckResultList, CommentBatchFormList, CommentList, CommissionBatchFormList, CommissionEnablerList, CommissionList, CommissionPeerList, CommitmentBatchFormList, CommitmentEnablerList, CommitmentList, CommitmentPeerList, CompetencyBatchFormList, CompetencyList, CompositionBatchFormList, CompositionEnablerList, CompositionList, ConferralBatchFormList, ConferralList, ConferralPeerList, ConfigurationBatchFormList, ConfigurationList, ConfigurationNodeList, ContactBatchFormList, ContactEnablerList, ContactList, ContactPeerList, ControllerBatchFormList, ControllerList, ConvocationBatchFormList, ConvocationList, CookbookBatchFormList, CookbookList, CookbookNodeList, CoordinateList, CostList, CourseBatchFormList, CourseCatalogBatchFormList, CourseCatalogList, CourseCatalogNodeList, CourseEntryBatchFormList, CourseEntryList, CourseEntryPeerList, CourseList, CourseOfferingBatchFormList, CourseOfferingList, CourseOfferingPeerList, CourseRegistrationBatchFormList, CourseRegistrationList, CourseRegistrationPeerList, CourseRequirementList, CreateResponseList, CredentialBatchFormList, CredentialEntryBatchFormList, CredentialEntryList, CredentialEntryPeerList, CredentialList, CredentialRequirementList, CreditBatchFormList, CreditList, CreditPeerList, CurrencyList, CustomerBatchFormList, CustomerList, CyclicEventBatchFormList, CyclicEventList, CyclicTimePeriodBatchFormList, CyclicTimePeriodList, DateTimeIntervalList, DateTimeList, DeedBatchFormList, DeedList, DeedPeerList, DeleteResponseList, DemographicEnablerList, DemographicList, DepotBatchFormList, DepotList, DepotNodeList, DeviceBatchFormList, DeviceEnablerList, DeviceList, DictionaryBatchFormList, DictionaryList, DictionaryNodeList, DirectionBatchFormList, DirectionList, DirectoryList, DispatchBatchFormList, DispatchConstrainerEnablerList, DispatchConstrainerList, DispatchEnablerList, DispatchList, DispatchProcessorEnablerList, DispatchProcessorList, DistributorBatchFormList, DistributorList, DistributorNodeList, DocetBatchFormList, DocetList, DocetPeerList, DurationList, EdgeBatchFormList, EdgeEnablerList, EdgeList, EdgePeerList, EffortBatchFormList, EffortList, EffortPeerList, EndpointList, EngineList, EngineList, EngineNodeList, EngineNodeList, EnrollmentBatchFormList, EnrollmentList, EnrollmentPeerList, EntryBatchFormList, EntryBatchFormList, EntryBatchFormList, EntryBatchFormList, EntryList, EntryList, EntryList, EntryList, EntryPeerList, EntryPeerList, EventBatchFormList, EventList, FamilyBatchFormList, FamilyList, FamilyNodeList, FileList, FiscalPeriodBatchFormList, FiscalPeriodList, FloorBatchFormList, FloorList, ForumBatchFormList, ForumList, ForumNodeList, FoundryBatchFormList, FoundryList, FoundryNodeList, FrontOfficeBatchFormList, FrontOfficeList, FrontOfficeNodeList, FunctionBatchFormList, FunctionList, GradeBatchFormList, GradebookBatchFormList, GradebookColumnBatchFormList, GradebookColumnCalculationList, GradebookColumnList, GradebookList, GradebookNodeList, GradeEntryBatchFormList, GradeEntryList, GradeEntryPeerList, GradeList, GradeMapList, GradeSystemBatchFormList, GradeSystemList, GradeSystemTransformList, GraphBatchFormList, GraphList, GraphNodeList, HierarchyList, HoldAgentPeerList, HoldBatchFormList, HoldEnablerList, HoldList, HoldResourcePeerList, IdBatchFormList, IdiomBatchFormList, IdiomList, IdList, IngredientBatchFormList, IngredientList, InputBatchFormList, InputEnablerList, InputList, InputPeerList, InquestBatchFormList, InquestList, InquestNodeList, InquiryBatchFormList, InquiryEnablerList, InquiryList, InstallationContentList, InstallationList, InstructionList, IntersectionBatchFormList, IntersectionList, IntersectionPathList, InventoryBatchFormList, InventoryList, IssueBatchFormList, IssueBatchFormList, IssueConstrainerEnablerList, IssueConstrainerList, IssueEnablerList, IssueList, IssueList, IssuePeerList, IssueProcessorEnablerList, IssueProcessorList, ItemBatchFormList, ItemBatchFormList, ItemBatchFormList, ItemBatchFormList, ItemList, ItemList, ItemList, ItemList, ItemPeerList, JobBatchFormList, JobConstrainerEnablerList, JobConstrainerList, JobList, JobProcessorEnablerList, JobProcessorList, JournalBatchFormList, JournalEntryBatchFormList, JournalEntryList, JournalEntryPeerList, JournalList, JournalNodeList, KeyBatchFormList, KeyList, LearningObjectiveRequirementList, LeaseBatchFormList, LeaseList, LeasePeerList, LessonAnchorList, LessonList, LocaleList, LocationBatchFormList, LocationList, LocationNodeList, LogBatchFormList, LogEntryBatchFormList, LogEntryList, LogEntryList, LogList, LogNodeList, MailboxBatchFormList, MailboxList, MailboxNodeList, MapBatchFormList, MapList, MapNodeList, MeetingTimeList, MessageBatchFormList, MessageList, MeterBatchFormList, MeterList, ModelBatchFormList, ModelList, ModuleBatchFormList, ModuleList, NodeBatchFormList, NodeList, NodeList, ObjectiveBankBatchFormList, ObjectiveBankList, ObjectiveBankNodeList, ObjectiveBatchFormList, ObjectiveList, ObjectiveNodeList, ObstacleBatchFormList, ObstacleEnablerList, ObstacleList, OfferingBatchFormList, OfferingConstrainerEnablerList, OfferingConstrainerList, OfferingList, OfferingPeerList, OfficeBatchFormList, OfficeList, OfficeNodeList, OffsetEventBatchFormList, OffsetEventEnablerList, OffsetEventList, OntologyBatchFormList, OntologyList, OntologyNodeList, OrderBatchFormList, OrderList, OrganizationBatchFormList, OrganizationList, OrganizationNodeList, OublietteBatchFormList, OublietteList, OublietteNodeList, PackageBatchFormList, PackageList, ParameterBatchFormList, ParameterBatchFormList, ParameterList, ParameterList, ParameterProcessorEnablerList, ParameterProcessorList, ParticipantBatchFormList, ParticipantList, ParticipantPeerList, PathBatchFormList, PathList, PathList, PayerBatchFormList, PayerList, PaymentBatchFormList, PaymentList, PaymentPeerList, PeriodBatchFormList, PeriodList, PersonBatchFormList, PersonList, PlanList, PollsBatchFormList, PollsList, PollsNodeList, PoolBatchFormList, PoolConstrainerEnablerList, PoolConstrainerList, PoolEnablerList, PoolList, PoolProcessorEnablerList, PoolProcessorList, PositionBatchFormList, PositionList, PostBatchFormList, PostBatchFormList, PostEntryBatchFormList, PostEntryList, PostList, PostList, PressBatchFormList, PressList, PressNodeList, PriceBatchFormList, PriceEnablerList, PriceList, PriceScheduleBatchFormList, PriceScheduleList, ProcedureBatchFormList, ProcedureList, ProcessBatchFormList, ProcessConstrainerEnablerList, ProcessConstrainerList, ProcessEnablerList, ProcessList, ProcessList, ProcessNodeList, ProcessProcessorEnablerList, ProcessProcessorList, ProductBatchFormList, ProductList, ProficiencyBatchFormList, ProficiencyList, ProficiencyPeerList, ProfileBatchFormList, ProfileEntryAgentPeerList, ProfileEntryBatchFormList, ProfileEntryEnablerList, ProfileEntryList, ProfileEntryResourcePeerList, ProfileItemBatchFormList, ProfileItemList, ProfileList, ProfileNodeList, ProgramBatchFormList, ProgramEntryBatchFormList, ProgramEntryList, ProgramEntryPeerList, ProgramList, ProgramOfferingBatchFormList, ProgramOfferingList, ProgramOfferingPeerList, ProgramRequirementList, ProjectBatchFormList, ProjectList, PropertyList, ProvisionableBatchFormList, ProvisionableEnablerList, ProvisionableList, ProvisionablePeerList, ProvisionBatchFormList, ProvisionEnablerList, ProvisionList, ProvisionPeerList, PublisherBatchFormList, PublisherList, PublisherNodeList, QualifierBatchFormList, QualifierList, QualifierNodeList, QuestionBatchFormList, QuestionList, QueueBatchFormList, QueueBatchFormList, QueueConstrainerEnablerList, QueueConstrainerEnablerList, QueueConstrainerList, QueueConstrainerList, QueueEnablerList, QueueEnablerList, QueueList, QueueList, QueueProcessorEnablerList, QueueProcessorEnablerList, QueueProcessorList, QueueProcessorList, RaceBatchFormList, RaceConstrainerEnablerList, RaceConstrainerList, RaceList, RaceProcessorEnablerList, RaceProcessorList, RaceResultList, ReadingList, RealmBatchFormList, RealmList, RealmNodeList, ReceiptBatchFormList, ReceiptList, RecipeBatchFormList, RecipeList, RecurringEventBatchFormList, RecurringEventEnablerList, RecurringEventList, RegistrationBatchFormList, RegistrationList, RegistrationPeerList, RegistrationRequestItemList, RegistrationRequestList, RegistrationTargetBatchFormList, RegistrationTargetList, RelationshipBatchFormList, RelationshipEnablerList, RelationshipList, RelationshipPeerList, RelevancyBatchFormList, RelevancyEnablerList, RelevancyList, RelevancyPeerList, RenovationBatchFormList, RenovationList, ReplyBatchFormList, ReplyList, RepositoryBatchFormList, RepositoryList, RepositoryNodeList, RequestBatchFormList, RequestList, RequestPeerList, RequestTransactionBatchFormList, RequestTransactionList, RequestTransactionPeerList, RequisiteList, ResourceBatchFormList, ResourceList, ResourceLocationList, ResourceNodeList, ResourceRelationshipBatchFormList, ResourceRelationshipList, ResourceRelationshipPeerList, ResourceVelocityList, ResponseBatchFormList, ResponseList, ResponseList, ResponsePeerList, ResultBatchFormList, ResultList, RoomBatchFormList, RoomList, RouteList, RouteProgressList, RouteSegmentList, RuleList, SceneBatchFormList, SceneList, ScheduleBatchFormList, ScheduleList, SchedulePeerList, ScheduleSlotBatchFormList, ScheduleSlotList, SequenceRuleEnablerList, SequenceRuleList, SettingBatchFormList, SettingList, ShipmentBatchFormList, ShipmentList, SignalBatchFormList, SignalEnablerList, SignalList, SiteList, SpatialUnitList, SpeedZoneBatchFormList, SpeedZoneEnablerList, SpeedZoneList, StateList, StatisticList, StepBatchFormList, StepConstrainerEnablerList, StepConstrainerList, StepEnablerList, StepList, StepProcessorEnablerList, StepProcessorList, StockBatchFormList, StockList, StockNodeList, StoreBatchFormList, StoreList, StoreNodeList, SubjectBatchFormList, SubjectList, SubjectNodeList, SubscriptionBatchFormList, SubscriptionEnablerList, SubscriptionList, SubscriptionPeerList, SubtaskIssuePeerList, SummaryList, SummaryList, SupersedingEventEnablerList, SupersedingEventList, SyllabusBatchFormList, SyllabusList, SystemBatchFormList, SystemList, SystemNodeList, TermBatchFormList, TermList, TermNodeList, TextBatchFormList, TextList, TimeList, TimePeriodBatchFormList, TimePeriodList, TodoBatchFormList, TodoList, TodoNodeList, TodoProducerList, TriggerBatchFormList, TriggerEnablerList, TriggerList, TrustList, TypeList, UpdateResponseList, UtilityBatchFormList, UtilityList, UtilityNodeList, ValueBatchFormList, ValueEnablerList, ValueList, VaultBatchFormList, VaultList, VaultNodeList, VoteBatchFormList, VoteEnablerList, VoteList, VotePeerList, VoterAllocationList, WarehouseList, WarehouseNodeList, WorkBatchFormList, WorkBatchFormList, WorkflowEventList, WorkList, WorkList
OsidList is the top-level interface for all OSID lists. An OSID
list provides sequential access, one at a time or many at a time, access
to a set of elements. These elements are not required to be OsidObjects
but generally are. The element retrieval methods are defined in the
sub-interface of OsidList where the appropriate return type is
defined.
OsidLists are a once pass through iteration of elements. The size
of the object set and the means in which the element set is generated or
stored is not known. Assumptions based on the length of the element set by
copying the entire contents of the list into a fixed buffer should be done
with an awareness that an implementation may return a number of elements
ranging from zero to infinity.
Lists are returned by methods when multiple return values are possible. There is no guarantee that successive calls to the same method will return the same set of elements in a list. Unless an order is specified in an interface definition, the order of the elements is not known.
-
Method Summary
-
Method Details
-
hasNext
boolean hasNext()Tests if there are more elements in this list.- Returns:
trueif more elements are available in this list,falseif the end of the list has been reached- Compliance:
mandatory- This method must be implemented.- Notes:
Any- errors that may result from accesing the underlying set of elements are to be deferred until the consumer attempts retrieval in which case the provider must return {@code true} for this method.
-
available
long available()Gets the number of elements available for retrieval. The number returned by this method may be less than or equal to the total number of elements in this list. To determine if the end of the list has been reached, the methodhasNext()should be used. This method conveys what is known about the number of remaining elements at a point in time and can be used to determine a minimum size of the remaining elements, if known. A valid return is zero even ifhasNext()is true. This method does not imply asynchronous usage. All OSID methods may block.- Returns:
- the number of elements available for retrieval
- Compliance:
mandatory- This method must be implemented.- Notes:
Any- errors that may result from accesing the underlying set of elements are to be deferred until the consumer attempts retrieval in which case the provider must return a positive integer for this method so the consumer can continue execution to receive the error. In all other circumstances, the provider must not return a number greater than the number of elements known since this number will be fed as a parameter to the bulk retrieval method.
-
skip
void skip(long n) Skip the specified number of elements in the list. If the number skipped is greater than the number of elements in the list, hasNext() becomes false and available() returns zero as there are no more elements to retrieve.- Parameters:
n- the number of elements to skip- Compliance:
mandatory- This method must be implemented.
-