Class AssessmentPublishedIterator

Description

AssessmentPublishedIterator provides access to these objects sequentially, one at a time. The purpose of all Iterators is to to offer a way for OSID methods to return multiple values of a common type and not use an array.

Returning an array may not be appropriate if the number of values returned is large or is fetched remotely. Iterators do not allow access to values by index, rather you must access values in sequence. Similarly, there is no way to go backwards through the sequence unless you place the values in a data structure, such as an array, that allows for access by index.

<p> OSID Version: 2.0 </p>

<p> Licensed under the org.osid.SidImplementationLicenseMIT. </p>

Located in /harmoni/oki2/osid/assessment/AssessmentPublishedIterator.php (line 24)


	
			
Method Summary
Methods
hasNextAssessmentPublished (line 46)

Return true if there is an additional AssessmentPublished ; false otherwise.

  • access: public
  • throws: object AssessmentException An exception with one of the following messages defined in org.osid.assessment.AssessmentException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
boolean hasNextAssessmentPublished ()
nextAssessmentPublished (line 71)

Return the next AssessmentPublished.

  • access: public
  • throws: object AssessmentException An exception with one of the following messages defined in org.osid.assessment.AssessmentException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED Throws an exception with the message org.osid.OsidException.NO_MORE_ELEMENTS if all objects have already been returned.
object AssessmentPublished nextAssessmentPublished ()

Documentation generated on Wed, 19 Sep 2007 10:21:33 -0400 by phpDocumentor 1.3.0RC3