OSID Logo
OSID Specifications
assessment package
Version 3.1.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.Id the assessment offered Id
Compliancemandatory This method must be implemented.
MethodgetAssessmentOffered
Description

Gets the AssessmentOffered.

Returnosid.assessment.AssessmentOffered the assessment offered
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetTakerId
Description

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

Returnosid.id.Id the resource Id
Compliancemandatory This method must be implemented.
MethodgetTaker
Description

Gets the Resource taking this assessment.

Returnosid.resource.Resource the resource
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetTakingAgentId
Description

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

Returnosid.id.Id the agent Id
Compliancemandatory This method must be implemented.
MethodgetTakingAgent
Description

Gets the Agent.

Returnosid.authentication.Agent the agent
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodhasStarted
Description

Tests if this assessment has begun.

Returnboolean true if the assessment has begun, false otherwise
Compliancemandatory This method must be implemented.
MethodgetActualStartTime
Description

Gets the time this assessment was started.

Returnosid.calendaring.DateTime the start time
ErrorsILLEGAL_STATE hasStarted() is false
Compliancemandatory This method must be implemented.
MethodhasEnded
Description

Tests if this assessment has ended.

Returnboolean true if the assessment has ended, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCompletionTime
Description

Gets the time of this assessment was completed.

Returnosid.calendaring.DateTime the end time
ErrorsILLEGAL_STATE hasEnded() is false
Compliancemandatory This method must be implemented.
MethodgetTimeSpent
Description

Gets the total time spent taking this assessment.

Returnosid.calendaring.Duration the total time spent
Compliancemandatory This method must be implemented.
MethodgetCompletion
Description

Gets a completion percentage of the assessment.

Returncardinal the percent complete (0-100)
Compliancemandatory This method must be implemented.
MethodisScored
Description

Tests if a score is available for this assessment.

Returnboolean true if a score is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetScoreSystemId
Description

Gets a score system Id for the assessment.

Returnosid.id.Id the grade system
ErrorsILLEGAL_STATE isScore() is false
Compliancemandatory This method must be implemented.
MethodgetScoreSystem
Description

Gets a grade system for the score.

Returnosid.grading.GradeSystem the grade system
ErrorsILLEGAL_STATE isScored() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetScore
Description

Gets a score for the assessment.

Returndecimal the score
ErrorsILLEGAL_STATE isScored() is false
Compliancemandatory This method must be implemented.
MethodisGraded
Description

Tests if a grade is available for this assessment.

Returnboolean true if a grade is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetGradeId
Description

Gets a grade Id for the assessment.

Returnosid.id.Id the grade
ErrorsILLEGAL_STATE isGraded() is false
Compliancemandatory This method must be implemented.
MethodgetGrade
Description

Gets a grade for the assessment.

Returnosid.grading.Grade the grade
ErrorsILLEGAL_STATE isGraded() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetFeedback
Description

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

Returnosid.locale.DisplayText comments
Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodgetRubricId
Description

Gets the Id of the rubric.

Returnosid.id.Id an assessment taken Id
ErrorsILLEGAL_STATE hasRubric() is false
Compliancemandatory This method must be implemented.
MethodgetRubric
Description

Gets the rubric.

Returnosid.assessment.AssessmentTaken the assessment taken
ErrorsILLEGAL_STATE hasRubric() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This 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.TypeassessmentTakenRecordType an assessment taken record type
Returnosid.assessment.records.AssessmentTakenRecord the assessment taken record
ErrorsNULL_ARGUMENT assessmentTakenRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(assessmentTakenRecordType) is false
Compliancemandatory This method must be implemented.