OSID Logo
OSID Specifications
assessment package
Version 3.0.0
Release Candidate Preview
Interfaceosid.assessment.AssessmentTakenForm
Implementsosid.OsidObjectForm
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.Metadatametadata for the resource
CompliancemandatoryThis method must be implemented.
MethodsetTaker
Description

Sets the resource who will be taking this assessment.

Parametersosid.id.IdresourceIdthe resource Id
ErrorsINVALID_ARGUMENT resourceId is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearTaker
Description

Clears the resource.

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

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

Parametersosid.type.TypeassessmentTakenRecordTypethe assessment taken record type
Returnosid.assessment.records.AssessmentTakenFormRecordthe assessment taken record
ErrorsNULL_ARGUMENT assessmentTakenRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(assessmentTakenRecordType) is false
CompliancemandatoryThis method must be implemented.