OSID Logo
OSID Specifications
assessment package
Version 3.0.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.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_ARGUMENTresourceId is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearTaker
Description

Clears the resource.

ErrorsNO_ACCESSMetadata.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_ARGUMENTassessmentTakenRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(assessmentTakenRecordType) is false
CompliancemandatoryThis method must be implemented.