OSID Logo
OSID Specifications
assessment package
Version 3.0.0
Interfaceosid.assessment.AssessmentSession
Implementsosid.OsidSession
Used Byosid.assessment.AssessmentManager
osid.assessment.AssessmentProxyManager
Description

This session is used to take an assessment. The assessment associated with this session represents the "assessment taken" by an Agent . This session may be created using an AssessmentOffered Id retrieved from an assessment bank, and instantiating this session represents the transaction of taking an assessment. Resuming an assessment, if permitted, is performed through instantiating this session with the AssessmentTaken Id .

Assessment Items are accessed via the Question interface. A Question Id is the same as the Item Id.

This session manages the flow of control for the assessment taking process. It allows for two types of processes:

  • synchronous response: Each consecutive question is only available after the previous item was submitted or skipped.
  • asynchronous response: Questions may be accessed independently of response submission.

It may be the case that it is allowed to suspend and resume an assessment. canSuspend() indicates the availability of this feature. finished() indicates the assessment is complete.

This session is used in the context of an AssessmentSection . An assessment with no sections defined is assumed to have a single default section that maps to the entire assessment.

MethodgetBankId
Description

Gets the Bank Id associated with this session.

Returnosid.id.Idthe Bank Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetBank
Description

Gets the Bank associated with this session.

Returnosid.assessment.Bankthe Bank associated with this session
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanTakeAssessments
Description

Tests if this user can take this assessment section. A return of true does not guarantee successful authorization. A return of false indicates that it is known all methods in this session will result in a PERMISSION_DENIED . This is intended as a hint to an application that may opt not to offer assessment operations to unauthorized users.

Returnbooleanfalse if assessment methods are not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodhasAssessmentBegun
Description

Tests if this assessment has started. An assessment begins from the designated start time if a start time is defined. If no start time is defined the assessment may begin at any time. Assessment sections cannot be accessed if the return for this method is false .

Parametersosid.id.IdassessmentTakenIdId of the AssessmentTaken
Returnbooleantrue if this assessment has begun, false otherwise
ErrorsNOT_FOUNDassessmentTakenId is not found
NULL_ARGUMENTassessmentTakenId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodisAssessmentOver
Description

Tests if this assessment is over. An assessment is over if finishedAssessment() is invoked or the designated finish time has expired.

Parametersosid.id.IdassessmentTakenIdId of the AssessmentTaken
Returnbooleantrue if this assessment is over, false otherwise
ErrorsNOT_FOUNDassessmentTakenId is not found
NULL_ARGUMENTassessmentTakenId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodfinishedAssessment
Description

Indicates the entire assessment is complete.

Parametersosid.id.IdassessmentTakenIdId of the AssessmentTaken
ErrorsILLEGAL_STATEhasBegun() is false or isOver() is true
NOT_FOUNDassessmentTakenId is not found
NULL_ARGUMENTassessmentTakenId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodrequiresSynchronousSections
Description

Tests if synchronous sections are required. This method should be checked to determine if all sections are available when requested, or the next sections becomes available only after the previous section is complete.

There are two methods for retrieving sections. One is using the built-in hasNextSection() and getNextSection() methods. In synchronous mode, hasNextSection() is false until the current section is completed. In asynchronous mode, hasNextSection() returns true until the end of the assessment.

AssessmentSections may also be accessed via an AssessmentSectionList . If syncronous sections are required, AssessmentSectionList.available() == 0 and AssessmentSectionList.getNextQuestion() blocks until the section is complete. AssessmentSectionList.hasNext() is always true until the end of the assessment is reached.
Parametersosid.id.IdassessmentTakenIdId of the AssessmentTaken
Returnbooleantrue if this synchronous sections are required, false otherwise
ErrorsNOT_FOUNDassessmentTakenId is not found
NULL_ARGUMENTassessmentTakenId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetFirstAssessmentSection
Description

Gets the first assessment section in this assesment. All assessments have at least one AssessmentSection .

Parametersosid.id.IdassessmentTakenIdId of the AssessmentTaken
Returnosid.assessment.AssessmentSectionthe first assessment section
ErrorsILLEGAL_STATEhasAssessmentBegun() is false
NOT_FOUNDassessmentTakenId is not found
NULL_ARGUMENTassessmentTakenId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodhasNextAssessmentSection
Description

Tests if there is a next assessment section in the assessment following the given assessment section Id .

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
Returnbooleantrue if there is a next section, false otherwise
ErrorsILLEGAL_STATEhasAssessmentBegun() is false
NOT_FOUNDassessmentTakenId is not found
NULL_ARGUMENTassessmentTakenId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetNextAssessmentSection
Description

Gets the next assessemnt section following the given assesment section.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
Returnosid.assessment.AssessmentSectionthe next section
ErrorsILLEGAL_STATEhasNextAssessmentSection() is false
NOT_FOUNDassessmentSectionId is not found
NULL_ARGUMENTassessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodhasPreviousAssessmentSection
Description

Tests if there is a previous assessment section in the assessment following the given assessment section Id .

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
Returnbooleantrue if there is a previous assessment section, false otherwise
ErrorsILLEGAL_STATEhasAssessmentBegun() is false
NOT_FOUNDassessmentSectionId is not found
NULL_ARGUMENTassessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetPreviousAssessmentSection
Description

Gets the next assessemnt section following the given assesment section.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
Returnosid.assessment.AssessmentSectionthe previous assessment section
ErrorsILLEGAL_STATEhasNextAssessmentSection() is false
NOT_FOUNDassessmentSectionId is not found
NULL_ARGUMENTassessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentSection
Description

Gets an assessemnts section by Id .

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
Returnosid.assessment.AssessmentSectionthe assessment section
ErrorsILLEGAL_STATEhasAssessmentBegun() is false
NOT_FOUNDassessmentSectionId is not found
NULL_ARGUMENTassessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentSections
Description

Gets the assessment sections of this assessment.

Parametersosid.id.IdassessmentTakenIdId of the AssessmentTaken
Returnosid.assessment.AssessmentSectionListthe list of assessment sections
ErrorsILLEGAL_STATEhasAssessmentBegun() is false
NOT_FOUNDassessmentTakenId is not found
NULL_ARGUMENTassessmentTakenId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodisAssessmentSectionComplete
Description

Tests if the all responses have been submitted to this assessment section. If isAssessmentSectionComplete() is false, then getUnansweredQuestions() may return a list of questions that can be submitted.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
Returnbooleantrue if this assessment section is complete, false otherwise
ErrorsILLEGAL_STATEisAssessmentOver() is true
NOT_FOUNDassessmentSectionId is not found
NULL_ARGUMENTassessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetIncompleteAssessmentSections
Description

Gets the incomplete assessment sections of this assessment.

Parametersosid.id.IdassessmentTakenIdId of the AssessmentTaken
Returnosid.assessment.AssessmentSectionListthe list of incomplete assessment sections
ErrorsILLEGAL_STATEhasAssessmentBegun() is false
NOT_FOUNDassessmentTakenId is not found
NULL_ARGUMENTassessmentTakenId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodhasAssessmentSectionBegun
Description

Tests if this assessment section has started. A section begins from the designated start time if a start time is defined. If no start time is defined the section may begin at any time. Assessment items cannot be accessed or submitted if the return for this method is false .

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
Returnbooleantrue if this assessment section has begun, false otherwise
ErrorsILLEGAL_STATEhasAssessmentBegun() is false or isAssessmentOver() is true
NOT_FOUNDassessmentSectionId is not found
NULL_ARGUMENTassessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodisAssessmentSectionOver
Description

Tests if this assessment section is over. An assessment section is over if new or updated responses can not be submitted such as the designated finish time has expired.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
Returnbooleantrue if this assessment is over, false otherwise
ErrorsILLEGAL_STATEhasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUNDassessmentSectionId is not found
NULL_ARGUMENTassessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodfinishedAssessmentSection
Description

Indicates an assessment section is complete.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
ErrorsILLEGAL_STATEhasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUNDassessmentSectionId is not found
NULL_ARGUMENTassessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodrequiresSynchronousResponses
Description

Tests if synchronous responses are required in this assessment section. This method should be checked to determine if all items are available when requested, or the next item becomes available only after the response to the current item is submitted.

There are two methods for retrieving questions. One is using the built-in hasNextQuestion() and getNextQuestion() methods. In synchronous mode, hasNextQuestion() is false until the response for the current question is submitted. In asynchronous mode, hasNextQuestion() returns true until the end of the assessment.

Questions may also be accessed via a QuestionList . If syncronous responses are required, QuestionList.available() == 0 and QuestionList.getNextQuestion() blocks until the response is submitted. QuestionList.hasNext() is always true until the end of the assessment is reached.
Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
Returnbooleantrue if this synchronous responses are required, false otherwise
ErrorsILLEGAL_STATEhasAssessmentBegun() is false or isAssessmentOver() is true
NOT_FOUNDassessmentSectionId is not found
NULL_ARGUMENTassessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetFirstQuestion
Description

Gets the first question in this assesment section.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
Returnosid.assessment.Questionthe first question
ErrorsILLEGAL_STATEhasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUNDassessmentSectionId is not found
NULL_ARGUMENTassessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodhasNextQuestion
Description

Tests if there is a next question following the given question Id .

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
osid.id.IditemIdId of the Item
Returnbooleantrue if there is a next question, false otherwise
ErrorsILLEGAL_STATEhasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUNDassessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENTassessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetNextQuestion
Description

Gets the next question in this assesment section.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
osid.id.IditemIdId of the Item
Returnosid.assessment.Questionthe next question
ErrorsILLEGAL_STATEhasNextQuestion() is false
NOT_FOUNDassessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENTassessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodhasPreviousQuestion
Description

Tests if there is a previous question preceeding the given question Id .

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
osid.id.IditemIdId of the Item
Returnbooleantrue if there is a previous question, false otherwise
ErrorsILLEGAL_STATEhasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUNDassessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENTassessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetPreviousQuestion
Description

Gets the previous question in this assesment section.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
osid.id.IditemIdId of the Item
Returnosid.assessment.Questionthe previous question
ErrorsILLEGAL_STATEhasPreviousQuestion() is false
NOT_FOUNDassessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENTassessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetQuestion
Description

Gets the Question specified by its Id .

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
osid.id.IditemIdId of the Item
Returnosid.assessment.Questionthe returned Question
ErrorsILLEGAL_STATEhasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUNDassessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENTassessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetQuestions
Description

Gets the questions of this assessment section.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
Returnosid.assessment.QuestionListthe list of assessment questions
ErrorsILLEGAL_STATEhasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUNDassessmentSectionId is not found
NULL_ARGUMENTassessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetResponseForm
Description

Gets the response form for submitting an answer.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
osid.id.IditemIdId of the Item
Returnosid.assessment.AnswerForman answer form
ErrorsILLEGAL_STATEhasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUNDassessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENTassessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodsubmitResponse
Description

Submits an answer to an item.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
osid.id.IditemIdId of the Item
osid.assessment.AnswerFormanswerFormthe response
ErrorsILLEGAL_STATEhasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true , or answerForm was already used in a submit transaction
INVALID_ARGUMENTone or more of the elements in the form is invalid
NOT_FOUNDassessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENTassessmentSectionId, itemId , or answerForm is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTEDanswerForm is not of this service
CompliancemandatoryThis method must be implemented.
MethodskipItem
Description

Skips an item.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
osid.id.IditemIdId of the Item
ErrorsILLEGAL_STATEhasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUNDassessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENTassessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodisQuestionAnswered
Description

Tests if the given item has a response.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
osid.id.IditemIdId of the Item
Returnbooleantrue if this item has a response, false otherwise
ErrorsILLEGAL_STATEhasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUNDassessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENTassessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetUnansweredQuestions
Description

Gets the unanswered questions of this assessment section.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
Returnosid.assessment.QuestionListthe list of questions with no rsponses
ErrorsILLEGAL_STATEhasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUNDassessmentSectionId is not found
NULL_ARGUMENTassessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodhasUnansweredQuestions
Description

Tests if there are unanswered questions in this assessment section.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
Returnbooleantrue if there are unanswered questions, false otherwise
ErrorsILLEGAL_STATEhasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUNDassessmentSectionId is not found
NULL_ARGUMENTassessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetFirstUnansweredQuestion
Description

Gets the first unanswered question in this assesment section.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
Returnosid.assessment.Questionthe first unanswered question
ErrorsILLEGAL_STATEhasUnansweredQuestions() is false
NOT_FOUNDassessmentSectionId is not found
NULL_ARGUMENTassessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodhasNextUnansweredQuestion
Description

Tests if there is a next unanswered question following the given question Id .

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
osid.id.IditemIdId of the Item
Returnbooleantrue if there is a next unanswered question, false otherwise
ErrorsILLEGAL_STATEhasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUNDassessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENTassessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetNextUnansweredQuestion
Description

Gets the next unanswered question in this assesment section.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
osid.id.IditemIdId of the Item
Returnosid.assessment.Questionthe next unanswered question
ErrorsILLEGAL_STATEhasNextUnansweredQuestion() is false
NOT_FOUNDassessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENTassessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodhasPreviousUnansweredQuestion
Description

Tests if there is a previous unanswered question preceeding the given question Id .

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
osid.id.IditemIdId of the Item
Returnbooleantrue if there is a previous unanswered question, false otherwise
ErrorsILLEGAL_STATEhasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUNDassessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENTassessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetPreviousUnansweredQuestion
Description

Gets the previous unanswered question in this assesment section.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
osid.id.IditemIdId of the Item
Returnosid.assessment.Questionthe previous unanswered question
ErrorsILLEGAL_STATEhasPreviousUnansweredQuestion() is false
NOT_FOUNDassessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENTassessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetResponse
Description

Gets the submitted response to the associated item.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
osid.id.IditemIdId of the Item
Returnosid.assessment.Responsethe response
ErrorsILLEGAL_STATEhasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUNDassessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENTassessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetResponses
Description

Gets all submitted responses.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
Returnosid.assessment.ResponseListthe list of responses
ErrorsILLEGAL_STATEhasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUNDassessmentSectionId is not found
NULL_ARGUMENTassessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodclearResponse
Description

Clears the response to an item The item appears as unanswered. If no response exists, the method simply returns.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
osid.id.IditemIdId of the Item
ErrorsILLEGAL_STATEhasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUNDassessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENTassessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodfinishAssessmentSection
Description

Indicates an assessment section is complete. Finished sections may or may not allow new or updated responses.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
ErrorsILLEGAL_STATEhasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUNDassessmentSectionId is not found
NULL_ARGUMENTassessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodisAnswerAvailable
Description

Tests if an answer is available for the given item.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
osid.id.IditemIdId of the Item
Returnbooleantrue if an answer are available, false otherwise
ErrorsNOT_FOUNDassessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENTassessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetAnswers
Description

Gets the acceptable answers to the associated item.

Parametersosid.id.IdassessmentSectionIdId of the AssessmentSection
osid.id.IditemIdId of the Item
Returnosid.assessment.AnswerListthe answers
ErrorsILLEGAL_STATEisAnswerAvailable() is false
NOT_FOUNDassessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENTassessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodfinishAssessment
Description

Indicates the entire assessment is complete.

Parametersosid.id.IdassessmentTakenIdId of the AssessmentTaken
ErrorsILLEGAL_STATEhasBegun() is false or isOver() is true
NOT_FOUNDassessmentTakenId is not found
NULL_ARGUMENTassessmentTakenId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.