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.

Like all OsidForms, ProgramRequirementForm is stateful and must not be accessed by multiple processing threads.

MethodgetProgramsMetadata
Description

Gets the metadata for the programs.

Returnosid.Metadata metadata for the programs
Compliancemandatory This method must be implemented.
MethodsetPrograms
Description

Sets the programs.

Parametersosid.id.Id[]programIds the new programs
ErrorsINVALID_ARGUMENT programIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT programIds is null
Compliancemandatory This method must be implemented.
MethodclearPrograms
Description

Removes the programs.

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

Gets the metadata for the include equivalent units flag.

Returnosid.Metadata metadata for the include equivalent units flag
Compliancemandatory This method must be implemented.
MethodsetIncludeEquivalentUnits
Description

Sets the include equivalent units flag.

ParametersbooleanincludeEquivalentUnits the new include equivalent units flag
ErrorsINVALID_ARGUMENT includeEquivalentUnits is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearIncludeEquivalentUnits
Description

Clears the include equivalent units flag.

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

Gets the metadata for the minimum number of programs.

Returnosid.Metadata metadata for the minimum number
Compliancemandatory This method must be implemented.
MethodsetMinimumNumber
Description

Sets the minimum number of programs to complete from the set.

Parameterscardinalnumber the new minimum number
ErrorsINVALID_ARGUMENT number is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearMinimumNumber
Description

Clears the minimum number of programs.

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

Gets the metadata for the target number of programs in the set.

Returnosid.Metadata metadata for the target set number
Compliancemandatory This method must be implemented.
MethodsetTargetSetNumber
Description

Sets the target number of programs in the set.

Parameterscardinalnumber the new target set number
ErrorsINVALID_ARGUMENT number is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearTargetSetNumber
Description

Clears the target set number.

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