OSID Logo
OSID Specifications
assessment authoring package
Version 3.0.0
Interfaceosid.assessment.authoring.AssessmentPartForm
Implementsosid.OsidObjectForm
osid.OsidContainableForm
osid.OsidOperableForm
Used Byosid.assessment.authoring.AssessmentPartAdminSession
Description

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

MethodgetWeightMetadata
Description

Gets the metadata for the weight.

Returnosid.Metadatametadata for the weight
CompliancemandatoryThis method must be implemented.
MethodsetWeight
Description

Sets the weight on a scale from 0-100.

Parameterscardinalweightthe new weight
ErrorsINVALID_ARGUMENTweight is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearWeight
Description

Clears the weight.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetAllocatedTimeMetadata
Description

Gets the metadata for the allocated time.

Returnosid.Metadatametadata for the allocated time
CompliancemandatoryThis method must be implemented.
MethodsetAllocatedTime
Description

Sets the allocated time.

Parametersosid.calendaring.Durationtimethe allocated time
ErrorsINVALID_ARGUMENTtime is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearAllocatedTime
Description

Clears the allocated time.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentPartFormRecord
Description

Gets the AssessmentPartFormRecord corresponding to the given assessment record Type .

Parametersosid.type.TypeassessmentPartRecordTypethe assessment part record type
Returnosid.assessment.authoring.records.AssessmentPartFormRecordthe assessment part record
ErrorsNULL_ARGUMENTassessmentPartRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(assessmentPartRecordType) is false
CompliancemandatoryThis method must be implemented.