Class AssessmentTaken

Description

AssessmentTaken includes a AssessmentPublished, the agentId of the student who took it, the Sections taken within which are the Items taken, and the Evaluations for the Assessment. There is also any supporting data.

OSID Version: 2.0

Licensed under the org.osid.SidImplementationLicenseMIT.

Located in /harmoni/oki2/osid/assessment/AssessmentTaken.php (line 19)


	
			
Method Summary
object Evaluation createEvaluation (mixed $evaluationType, object Type $evaluationType )
object SectionTaken createSectionTaken (mixed $section, object Section $section )
void deleteEvaluation (mixed $evaluationId, object Id $evaluationId )
void deleteSectionTaken (mixed $sectionTakenId, object Id $sectionTakenId )
object mixed getData ()
int getDate ()
string getDisplayName ()
object EvaluationIterator getEvaluationsByType (mixed $evaluationType, object Type $evaluationType )
void updateData (object mixed $data)
void updateDisplayName (mixed $displayName, string $displayName )
Methods
createEvaluation (line 317)

Create an Evaluation of the specified Type 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, UNKNOWN_TYPE
object Evaluation createEvaluation (mixed $evaluationType, object Type $evaluationType )
createSectionTaken (line 237)

Create a SectionTaken based on an AssessmentPublished and agentId of the student.

  • 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
object SectionTaken createSectionTaken (mixed $section, object Section $section )
deleteEvaluation (line 343)

Delete this Evaluation 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 deleteEvaluation (mixed $evaluationId, object Id $evaluationId )
deleteSectionTaken (line 263)

Delete a SectionTaken.

  • 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 deleteSectionTaken (mixed $sectionTakenId, object Id $sectionTakenId )
getAgentId (line 160)

Get the agentId of the student who took the 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 getAgentId ()
getAssessmentPublished (line 137)

Get the AssessmentPublished that was taken.

  • 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 AssessmentPublished getAssessmentPublished ()
getData (line 207)

Get the Data for this AssessmentTaken. 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 ()
getDate (line 183)

Get the date the Assessment was taken.

  • 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
int getDate ()
getDisplayName (line 91)

Get the display name for this AssessmentTaken.

  • 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 ()
getEvaluations (line 395)

Get all the Evaluations 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 EvaluationIterator getEvaluations ()
getEvaluationsByType (line 372)

Get the Evaluations of the specified Type 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, UNKNOWN_TYPE
object EvaluationIterator getEvaluationsByType (mixed $evaluationType, object Type $evaluationType )
getId (line 114)

Get the unique Id for this AssessmentTaken.

  • 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 ()
getSectionsTaken (line 288)

Get all the Sections taken for this Assessment. SectionsTaken are returned first in, first out (FIFO). Only the Sections taken that are 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 SectionTakenIterator getSectionsTaken ()
updateData (line 68)

Update the data for this AssessmentTaken. 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)
updateDisplayName (line 42)

Update the display name for this AssessmentTaken.

  • 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

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