OSID Logo
OSID Specifications
course requisite package
Version 3.1.0
Interfaceosid.course.requisite.AssessmentRequirementForm
Implementsosid.OsidRuleForm
osid.OsidAggregateableForm
Used Byosid.course.requisite.RequisiteAdminSession
Description

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

MethodgetTimeframeMetadata
Description

Gets the metadata for the timeframe.

Returnosid.Metadata metadata for the timeframe
Compliancemandatory This method must be implemented.
MethodsetTimeframe
Description

Sets the timeframe.

Parametersosid.calendaring.Durationduration the new duration
ErrorsINVALID_ARGUMENT duration is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT duration is null
Compliancemandatory This method must be implemented.
MethodclearTimeframe
Description

Clears the timeframe.

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

Gets the metadata for the minimum grade.

Returnosid.Metadata metadata for the minimum grade
Compliancemandatory This method must be implemented.
MethodsetMinimumGrade
Description

Sets the minimum grade.

Parametersosid.id.IdgradeId the new grade
ErrorsINVALID_ARGUMENT gradeId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT gradeId is null
Compliancemandatory This method must be implemented.
MethodclearMinimumGrade
Description

Clears the minimum grade.

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

Gets the metadata for the minimum score system.

Returnosid.Metadata metadata for the minimum score system
Compliancemandatory This method must be implemented.
MethodsetMinimumScoreSystem
Description

Sets the minimum score system.

Parametersosid.id.IdgradeSystemId the new grade system
ErrorsINVALID_ARGUMENT gradeSystemId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT gradeSystemId is null
Compliancemandatory This method must be implemented.
MethodclearMinimumScoreSystem
Description

Clears the minimum score system.

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

Gets the metadata for the minimum score.

Returnosid.Metadata metadata for the minimum score
Compliancemandatory This method must be implemented.
MethodsetMinimumScore
Description

Sets the minimum score.

Parametersdecimalscore the new minimum score
ErrorsINVALID_ARGUMENT score is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearMinimumScore
Description

Clears the minimum score.

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

Gets the AssessmentRequirementFormRecord corresponding to the given assessment requirement record Type.

Parametersosid.type.TypeassessmentRequirementRecordType an assessment requirement record type
Returnosid.course.requisite.records.AssessmentRequirementFormRecord the assessment requirement form record
ErrorsNULL_ARGUMENT assessmentRequirementRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(assessmentRequirementRecordType) is false
Compliancemandatory This method must be implemented.