OSID Logo
OSID Specifications
course requisite package
Version 3.1.0
Interfaceosid.course.requisite.ProgramRequirementForm
Implementsosid.OsidRuleForm
osid.OsidAggregateableForm
Used Byosid.course.requisite.RequisiteAdminSession
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.Metadata metadata for the requires completion flag
Compliancemandatory This method must be implemented.
MethodsetRequiresCompletion
Description

Sets the requires completion flag.

Parametersbooleancompletion the new requires completion flag
ErrorsINVALID_ARGUMENT completion is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearRequiresCompletion
Description

Clears the requires completion flag.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
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.
MethodgetMinimumGPASystemMetadata
Description

Gets the metadata for the minimum GPA system.

Returnosid.Metadata metadata for the minimum GPA system
Compliancemandatory This method must be implemented.
MethodsetMinimumGPASystem
Description

Sets the minimum GPA 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.
MethodclearMinimumGPASystem
Description

Clears the minimum GPA system.

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

Gets the metadata for the minimum GPA.

Returnosid.Metadata metadata for the minimum GPA
Compliancemandatory This method must be implemented.
MethodsetMinimumGPA
Description

Sets the minimum GPA.

Parametersdecimalgpa the new grade
ErrorsINVALID_ARGUMENT grade is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearMinimumGPA
Description

Clears the minimum GPA.

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

Gets the metadata for the minimum earned credits

Returnosid.Metadata metadata for the minimum earned credits
Compliancemandatory This method must be implemented.
MethodsetMinimumEarnedCredits
Description

Sets the minimum earned credits.

Parametersdecimalcredits the new minimum earned credits
ErrorsINVALID_ARGUMENT credits is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearMinimumEarnedCredits
Description

Clears the minimum earned credits.

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

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

Parametersosid.type.TypeprogramRequirementRecordType a program requirement record type
Returnosid.course.requisite.records.ProgramRequirementFormRecord the program requirement form record
ErrorsNULL_ARGUMENT programRequirementRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(programRequirementRecordType) is false
Compliancemandatory This method must be implemented.