OSID Logo
OSID Specifications
course requisite package
Version 3.0.0
Release Candidate Preview
Interfaceosid.course.requisite.ProgramRequirementForm
Implementsosid.OsidRuleForm
osid.OsidAggregateableForm
Description

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

MethodgetRequiresCompletionMetadata
Description

Gets the metadata for the requires completion flag.

Returnosid.Metadatametadata for the requires completion flag
CompliancemandatoryThis method must be implemented.
MethodsetRequiresCompletion
Description

Sets the requires completion flag.

Parametersbooleancompletionthe new requires completion flag
ErrorsINVALID_ARGUMENT completion is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearRequiresCompletion
Description

Clears the requires completion flag.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetTimeframeMetadata
Description

Gets the metadata for the timeframe.

Returnosid.Metadatametadata for the timeframe
CompliancemandatoryThis method must be implemented.
MethodsetTimeframe
Description

Sets the timeframe.

Parametersosid.calendaring.Durationdurationthe new duration
ErrorsINVALID_ARGUMENT duration is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT duration is null
CompliancemandatoryThis method must be implemented.
MethodclearTimeframe
Description

Clears the timeframe.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetMinimumGPSSystemMetadata
Description

Gets the metadata for the minimum GPA system.

Returnosid.Metadatametadata for the minimum GPA system
CompliancemandatoryThis method must be implemented.
MethodsetMinimumGPASystem
Description

Sets the minimum GPA system.

Parametersosid.id.IdgradeSystemIdthe new grade system
ErrorsINVALID_ARGUMENT gradeSystemId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT gradeSystemId is null
CompliancemandatoryThis method must be implemented.
MethodclearMinimumGPASystem
Description

Clears the minimum GPA system.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetMinimumGPAMetadata
Description

Gets the metadata for the minimum GPA.

Returnosid.Metadatametadata for the minimum GPA
CompliancemandatoryThis method must be implemented.
MethodsetMinimumGPA
Description

Sets the minimum GPA.

Parametersdecimalgpathe new grade
ErrorsINVALID_ARGUMENT grade is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearMinimumGPA
Description

Clears the minimum GPA.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetMinimumEarnedCreditsMetadata
Description

Gets the metadata for the minimum earned credits

Returnosid.Metadatametadata for the minimum earned credits
CompliancemandatoryThis method must be implemented.
MethodsetMinimumEarnedCredits
Description

Sets the minimum earned credits.

Parametersdecimalcreditsthe new minimum earned credits
ErrorsINVALID_ARGUMENT credits is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearMinimumEarnedCredits
Description

Clears the minimum earned credits.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetProgramRequirementFormRecord
Description

Gets the ProgramRequirementFormRecord corresponding to the given program requirement record Type.

Parametersosid.type.TypeprogramRequirementRecordTypea program requirement record type
Returnosid.course.requisite.records.ProgramRequirementFormRecordthe program requirement form record
ErrorsNULL_ARGUMENT programRequirementRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(programRequirementRecordType) is false
CompliancemandatoryThis method must be implemented.