OSID Logo
OSID Specifications
assessment package
Version 3.0.0
Interfaceosid.assessment.AssessmentTaken
Implementsosid.OsidObject
Used Byosid.assessment.AssessmentSection
osid.assessment.AssessmentTaken
osid.assessment.AssessmentTakenAdminSession
osid.assessment.AssessmentTakenList
osid.assessment.AssessmentTakenLookupSession
Description

Represents a taken assessment or an assessment in progress.

MethodgetAssessmentOfferedId
Description

Gets the Id of the AssessmentOffered .

Returnosid.id.Idthe assessment offered Id
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentOffered
Description

Gets the AssessmentOffered .

Returnosid.assessment.AssessmentOfferedthe assessment offered
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetTakerId
Description

Gets the Id of the resource who took or is taking this assessment.

Returnosid.id.Idthe resource Id
CompliancemandatoryThis method must be implemented.
MethodgetTaker
Description

Gets the Resource taking this assessment.

Returnosid.resource.Resourcethe resource
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetTakingAgentId
Description

Gets the Id of the Agent who took or is taking the assessment.

Returnosid.id.Idthe agent Id
CompliancemandatoryThis method must be implemented.
MethodgetTakingAgent
Description

Gets the Agent .

Returnosid.authentication.Agentthe agent
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodhasStarted
Description

Tests if this assessment has begun.

Returnbooleantrue if the assessment has begun, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetActualStartTime
Description

Gets the time this assessment was started.

Returnosid.calendaring.DateTimethe start time
ErrorsILLEGAL_STATEhasStarted() is false
CompliancemandatoryThis method must be implemented.
MethodhasEnded
Description

Tests if this assessment has ended.

Returnbooleantrue if the assessment has ended, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCompletionTime
Description

Gets the time of this assessment was completed.

Returnosid.calendaring.DateTimethe end time
ErrorsILLEGAL_STATEhasEnded() is false
CompliancemandatoryThis method must be implemented.
MethodgetTimeSpent
Description

Gets the total time spent taking this assessment.

Returnosid.calendaring.Durationthe total time spent
CompliancemandatoryThis method must be implemented.
MethodgetCompletion
Description

Gets a completion percentage of the assessment.

Returncardinalthe percent complete (0-100)
CompliancemandatoryThis method must be implemented.
MethodisScored
Description

Tests if a score is available for this assessment.

Returnbooleantrue if a score is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetScoreSystemId
Description

Gets a score system Id for the assessment.

Returnosid.id.Idthe grade system
ErrorsILLEGAL_STATEisScore() is false
CompliancemandatoryThis method must be implemented.
MethodgetScoreSystem
Description

Gets a grade system for the score.

Returnosid.grading.GradeSystemthe grade system
ErrorsILLEGAL_STATEisScored() is false
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetScore
Description

Gets a score for the assessment.

Returndecimalthe score
ErrorsILLEGAL_STATEisScored() is false
CompliancemandatoryThis method must be implemented.
MethodisGraded
Description

Tests if a grade is available for this assessment.

Returnbooleantrue if a grade is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetGradeId
Description

Gets a grade Id for the assessment.

Returnosid.id.Idthe grade
ErrorsILLEGAL_STATEisGraded() is false
CompliancemandatoryThis method must be implemented.
MethodgetGrade
Description

Gets a grade for the assessment.

Returnosid.grading.Gradethe grade
ErrorsILLEGAL_STATEisGraded() is false
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetFeedback
Description

Gets any overall comments available for this assessment by the grader.

Returnosid.locale.DisplayTextcomments
CompliancemandatoryThis method must be implemented.
MethodhasRubric
Description

Tests if a rubric assessment is associated with this assessment.

Returnbooleantrue if a rubric is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetRubricId
Description

Gets the Id of the rubric.

Returnosid.id.Idan assessment taken Id
ErrorsILLEGAL_STATEhasRubric() is false
CompliancemandatoryThis method must be implemented.
MethodgetRubric
Description

Gets the rubric.

Returnosid.assessment.AssessmentTakenthe assessment taken
ErrorsILLEGAL_STATEhasRubric() is false
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentTakenRecord
Description

Gets the assessment taken record corresponding to the given AssessmentTaken record Type . This method is used to retrieve an object implementing the requested record. The assessmentTakenRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(assessmentTakenRecordType) is true .

Parametersosid.type.TypeassessmentTakenRecordTypean assessment taken record type
Returnosid.assessment.records.AssessmentTakenRecordthe assessment taken record
ErrorsNULL_ARGUMENTassessmentTakenRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(assessmentTakenRecordType) is false
CompliancemandatoryThis method must be implemented.