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

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

MethodgetCoursesMetadata
Description

Gets the metadata for the courses.

Returnosid.Metadata metadata for the courses
Compliancemandatory This method must be implemented.
MethodsetCourses
Description

Sets the courses.

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

Removes the courses.

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

Gets the metadata for the requires subject area flag.

Returnosid.Metadata metadata for the requires subject area flag
Compliancemandatory This method must be implemented.
MethodsetRequiresSubjectArea
Description

Sets the requires subject area flag.

ParametersbooleanrequiresSubjectArea the new requires subject area flag
ErrorsINVALID_ARGUMENT requiresSubjectArea is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearRequiresSubjectArea
Description

Clears the requires subject area flag.

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

Gets the metadata for the subject area.

Returnosid.Metadata metadata for the subject area
Compliancemandatory This method must be implemented.
MethodsetSubjectArea
Description

Sets the subject area.

Parametersosid.id.IdsubjectAreaId the new subject area
ErrorsINVALID_ARGUMENT subjectAreaId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT subjectAreaId is null
Compliancemandatory This method must be implemented.
MethodclearSubjectArea
Description

Clears the subject area.

ErrorsNO_ACCESS Metadata.isRequired() 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 courses.

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

Sets the minimum number of courses 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 courses.

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

Gets the metadata for the minimum number of non-transfer courses.

Returnosid.Metadata metadata for the minimum non-transfer number
Compliancemandatory This method must be implemented.
MethodsetMinimumNonTransferNumber
Description

Sets the minimum number of non-transfer courses to complete from the set.

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

Clears the minimum non-transfer number of courses.

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 courses in the set.

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

Sets the target number of courses 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.
MethodgetMinimumCreditsMetadata
Description

Gets the metadata for the minimum credits.

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

Sets the minimum credits.

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

Clears the minimum credits.

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

Gets the metadata for the credit scale.

Returnosid.Metadata metadata for the credit scale
Compliancemandatory This method must be implemented.
MethodsetCreditScale
Description

Sets the credit scale.

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

Clears the credit scale.

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

Gets the metadata for the minimum non-transfer credits.

Returnosid.Metadata metadata for the non-transfer credits
Compliancemandatory This method must be implemented.
MethodsetNonTransferCredits
Description

Sets the minimum non-transfer credits.

Parametersdecimalcredits the new minimum non-transfer credits
ErrorsINVALID_ARGUMENT credits is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearNonTransferCredits
Description

Clears the non-transfer credits.

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

Gets the metadata for the target credits in the set.

Returnosid.Metadata metadata for the target set credits
Compliancemandatory This method must be implemented.
MethodsetTargetSetCredits
Description

Sets the target credits in the set.

Parametersdecimalcredits the new target set credits
ErrorsINVALID_ARGUMENT credits is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearTargetSetCredits
Description

Clears the target set credits.

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.
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.
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.
MethodgetCourseRequirementFormRecord
Description

Gets the CourseRequirementFormRecord corresponding to the given course requirement record Type.

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