OSID Logo
OSID Specifications
assessment package
Version 3.0.0
Release Candidate Preview
Interfaceosid.assessment.AssessmentTaken
Implementsosid.OsidObject
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.

Returnboolean true 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_STATE hasStarted() is false
CompliancemandatoryThis method must be implemented.
MethodhasEnded
Description

Tests if this assessment has ended.

Returnboolean true 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_STATE hasEnded() 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.

Returnboolean true 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_STATE isScore() is false
CompliancemandatoryThis method must be implemented.
MethodgetScoreSystem
Description

Gets a grade system for the score.

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

Gets a score for the assessment.

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

Tests if a grade is available for this assessment.

Returnboolean true 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_STATE isGraded() is false
CompliancemandatoryThis method must be implemented.
MethodgetGrade
Description

Gets a grade for the assessment.

Returnosid.grading.Gradethe grade
ErrorsILLEGAL_STATE isGraded() 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.

Returnboolean true 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_STATE hasRubric() is false
CompliancemandatoryThis method must be implemented.
MethodgetRubric
Description

Gets the rubric.

Returnosid.assessment.AssessmentTakenthe assessment taken
ErrorsILLEGAL_STATE hasRubric() 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_ARGUMENT assessmentTakenRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(assessmentTakenRecordType) is false
CompliancemandatoryThis method must be implemented.