Class Assessment

Description

Assessment includes zero or more Sections which in turn contain zero or more Items. The Sections added to an Assessment are returned first in, first out (FIFO). Items can be ordered explicitly using the orderSections method.

AssessmentType is meaningful to an application and not specifcally defined in the OSID. The unique Id for an Item is set by the AssessmentManager's createAssessment method's implementation. Assessments also contain a Topic. An Assessment is related to a AssessmentPublished which is an Assessment and a set of data relating to the availability of the Assessment. An Assessment is also related to an AssessmentTaken which is an Assessment and a set of data relating to an agentId of the student's integration with it.

<p> OSID Version: 2.0 </p>

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

Located in /harmoni/oki2/osid/assessment/Assessment.php (line 27)


	
			
Method Summary
void addSection (mixed $section, object Section $section )
object mixed getData ()
string getDescription ()
string getDisplayName ()
object Properties getPropertiesByType (mixed $propertiesType, object Type $propertiesType )
string getTopic ()
void orderSections (mixed $sections, object Section[] $sections )
void removeSection (mixed $sectionId, object Id $sectionId )
void updateData (object mixed $data)
void updateDescription (mixed $description, string $description )
void updateDisplayName (mixed $displayName, string $displayName )
void updateTopic (mixed $topic, string $topic )
Methods
addSection (line 369)

Add a Section to this Assessment. The Sections added to an Assessment are returned first in, first out (FIFO). Sections can be ordered explicitly using the orderSections method.

  • 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, NULL_ARGUMENT, ALREADY_ADDED
void addSection (mixed $section, object Section $section )
getAssessmentType (line 218)

Get the AssessmentType for this Assessment.

  • 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
object Type getAssessmentType ()
getData (line 311)

Get the Data for this Assessment. The structure of the Data is not defined in the OSID.

  • return: (original type: java.io.Serializable)
  • 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
object mixed getData ()
getDescription (line 172)

Get the description for this Assessment.

  • 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
string getDescription ()
getDisplayName (line 149)

Get the display name for this Assessment.

  • 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
string getDisplayName ()
getId (line 195)

Get the unique Id for this Assessment.

  • 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
object Id getId ()
getProperties (line 264)

Get the Properties associated with this Assessment.

  • 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
object PropertiesIterator getProperties ()
getPropertiesByType (line 340)

Get the Properties of this Type associated with this Assessment.

  • 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, NULL_ARGUMENT, UNKNOWN_TYPE
object Properties getPropertiesByType (mixed $propertiesType, object Type $propertiesType )
getPropertyTypes (line 241)

Get all the Property Types for Assessment.

  • 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
object TypeIterator getPropertyTypes ()
getSections (line 421)

Get all the Sections in the Assessment. The Sections added to a Assessment are returned first in, first out (FIFO). Sections can be ordered explicitly using the orderSections method. Only the Sections directly associated with this Assessment are returned.

  • 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
object SectionIterator getSections ()
getTopic (line 287)

Get the Topic for this Assessment.

  • 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
string getTopic ()
orderSections (line 452)

Change the order of the Sections in the Assessment. Sections normally

are returned first in, first out (FIFO). This ordering, which has important pedagogical implications, is changed to match the order in the Sections array. Additional added Sections are returned first in, first out (FIFO) after the ordered Sections.

  • 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, NULL_ARGUMENT, UNKNOWN_SECTION
void orderSections (mixed $sections, object Section[] $sections )
  • object Section[] $sections
removeSection (line 395)

Remove a Section from this Assessment.

  • 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, NULL_ARGUMENT, UNKNOWN_ID
void removeSection (mixed $sectionId, object Id $sectionId )
updateData (line 126)

Update the data for this Assessment. The structure of the Data is not defined in the OSID.

  • 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, NULL_ARGUMENT
void updateData (object mixed $data)
  • object mixed $data: (original type: java.io.Serializable)
updateDescription (line 75)

Update the description for this Assessment.

  • 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, NULL_ARGUMENT
void updateDescription (mixed $description, string $description )
  • string $description
updateDisplayName (line 50)

Update the display name for this Assessment.

  • 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, NULL_ARGUMENT
void updateDisplayName (mixed $displayName, string $displayName )
  • string $displayName
updateTopic (line 100)

Update the Topic for this Assessment.

  • 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, NULL_ARGUMENT
void updateTopic (mixed $topic, string $topic )
  • string $topic

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