OSID Logo
OSID Specifications
assessment authoring package
Version 3.1.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.Metadata metadata for the weight
Compliancemandatory This method must be implemented.
MethodsetWeight
Description

Sets the weight on a scale from 0-100.

Parameterscardinalweight the new weight
ErrorsINVALID_ARGUMENT weight is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearWeight
Description

Clears the weight.

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

Gets the metadata for the allocated time.

Returnosid.Metadata metadata for the allocated time
Compliancemandatory This method must be implemented.
MethodsetAllocatedTime
Description

Sets the allocated time.

Parametersosid.calendaring.Durationtime the allocated time
ErrorsINVALID_ARGUMENT time is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearAllocatedTime
Description

Clears the allocated time.

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

Gets the AssessmentPartFormRecord corresponding to the given assessment record Type.

Parametersosid.type.TypeassessmentPartRecordType the assessment part record type
Returnosid.assessment.authoring.records.AssessmentPartFormRecord the assessment part record
ErrorsNULL_ARGUMENT assessmentPartRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(assessmentPartRecordType) is false
Compliancemandatory This method must be implemented.