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

This is the form for creating and updating AwardRequirements. 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.
MethodgetAwardlRequirementFormRecord
Description

Gets the AwardRequirementFormRecord corresponding to the given awardl requirement record Type.

Parametersosid.type.TypeawardRequirementRecordType an award requirement record type
Returnosid.course.requisite.records.AwardRequirementFormRecord the award requirement form record
ErrorsNULL_ARGUMENT awardRequirementRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(awardRequirementRecordType) is false
Compliancemandatory This method must be implemented.