OSID Logo
OSID Specifications
assessment package
Version 3.1.0
Interfaceosid.assessment.AssessmentTakenForm
Implementsosid.OsidObjectForm
Implemented Byosid.assessment.batch.AssessmentTakenBatchForm
Used Byosid.assessment.AssessmentTakenAdminSession
Description

This is the form for creating and updating an AssessmentTaken. Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the AssessmentTakenAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetTakerMetadata
Description

Gets the metadata for a resource to manually set which resource will be taking the assessment.

Returnosid.Metadata metadata for the resource
Compliancemandatory This method must be implemented.
MethodsetTaker
Description

Sets the resource who will be taking this assessment.

Parametersosid.id.IdresourceId the resource Id
ErrorsINVALID_ARGUMENT resourceId is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearTaker
Description

Clears the resource.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetAssessmentTakenFormRecord
Description

Gets the AssessmentTakenFormRecord corresponding to the given assessment taken record Type.

Parametersosid.type.TypeassessmentTakenRecordType the assessment taken record type
Returnosid.assessment.records.AssessmentTakenFormRecord 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.