OSID Logo
OSID Specifications
course requisite package
Version 3.1.0
Interfaceosid.course.requisite.CourseRequirement
Implementsosid.OsidRule
osid.Aggregateable
Used Byosid.course.requisite.CourseRequirementList
osid.course.requisite.Requisite
osid.course.requisite.RequisiteAdminSession
osid.course.requisite.RequisiteLookupSession
Description

A CourseRequirement is an OsidRule and represents a requirement based on the completion or a co-requisite of a course.

MethodgetAltRequisites
Description

Gets any Requisites that may be substituted in place of this CourseRequirement. All Requisites must be satisifed to be a substitute for this course requirement. Inactive Requisites are not evaluated but if no applicable requisite exists, then the alternate requisite is not satisifed.

Returnosid.course.requisite.Requisite[] the alternate requisites
Compliancemandatory This method must be implemented.
MethodgetCourseIds
Description

Gets the Ids of the Courses.

Returnosid.id.IdList the course Ids
Compliancemandatory This method must be implemented.
MethodgetCourses
Description

Gets the Courses. If requiresMinimumNumber() and requiresMinimumCredits() are both false, then all Courses in this set must be completed for this requirement.

Returnosid.course.CourseList the courses
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodrequiresSubjectArea
Description

Tests if any Course tagged in a subject area is required.

Returnboolean true if a subject area is required, false otherwise
Compliancemandatory This method must be implemented.
MethodgetSubjectAreaId
Description

Gets the subject area Id.

Returnosid.id.Id the subject area Id
ErrorsILLEGAL_STATE requiresSubjectArea() is false
Compliancemandatory This method must be implemented.
MethodgetSubjectArea
Description

Gets the subject area.

Returnosid.ontology.Subject the subject area
ErrorsILLEGAL_STATE requiresSubjectArea() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodincludeEquivalentUnits
Description

Tests if equivalent Courses to the ones specified satisfy this requirement.

Returnboolean true if equivalent courses are acceptable, false otherwise
Compliancemandatory This method must be implemented.
MethodrequiresMinimumNumber
Description

Tests if a minimum number of Courses from the set must be completed to satisfy this CourseRequisite.

Returnboolean true if a minimum number of courses is required, false otherwise
Compliancemandatory This method must be implemented.
MethodgetMinimumNumber
Description

The minimum number of Courses in this CourseRequisite to complete from the set.

Returncardinal the minimum number of courses
ErrorsILLEGAL_STATE requiresMinimumNumber() is false
Compliancemandatory This method must be implemented.
MethodrequiresMinimumNonTransferNumber
Description

Tests if there is a minimum number of non-transfer Courses required to complete from the set.

Returnboolean true if a minimum number of non-transfer courses is required, false otherwise
ErrorsILLEGAL_STATE requiresMinimumNumber() is false
Compliancemandatory This method must be implemented.
MethodgetMinimumNonTransferNumber
Description

The minimum number of non-transfer Courses required from the set.

Returncardinal the minimum number of non-transfer courses
ErrorsILLEGAL_STATE requiresMinimumNonTransferNumber() is false
Compliancemandatory This method must be implemented.
MethodhasTargetNumberForSet
Description

Tests if the set should contain a minimum number of Courses to be a valid requirement.

Returnboolean true if the set has a minimum course count, false otherwise
Compliancemandatory This method must be implemented.
MethodgetTargetSetNumber
Description

The minimum number of courses in the set to be a valid requirement.

Returncardinal the minimum number of courses in the set
ErrorsILLEGAL_STATE hasTargetNumberForSet() is false
Compliancemandatory This method must be implemented.
MethodrequiresMinimumCredits
Description

Tests if a minimum number of credits must be completed from the set of Courses to satisfy this requirement.

Returnboolean true if a minimum number of credits is required, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCreditScaleId
Description

The Id of the credit scale of the minimum credits.

Returnosid.id.Id the credit scale Id
ErrorsILLEGAL_STATE requiresMinimumCredits() is false
Compliancemandatory This method must be implemented.
MethodgetCreditScale
Description

The credit scale of the minimum credits.

Returnosid.grading.GradeSystem the credit scale
ErrorsILLEGAL_STATE requiresMinimumCredits() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetMinimumCredits
Description

The minimum number of credits that must be completed from the set of Courses to satisfy this requirement.

Returndecimal the minimum credits
ErrorsILLEGAL_STATE requiresMinimumCredits() is false
Compliancemandatory This method must be implemented.
MethodrequiresMinimumNonTransferCredits
Description

Tests if a minimum number of non-transfer credits must be completed from the set of Courses to satisfy this requirement.

Returnboolean true if a minimum number of non-transfer credits is required, false otherwise
ErrorsILLEGAL_STATE requiresMinimumCredits() is false
Compliancemandatory This method must be implemented.
MethodgetNonTransferCredits
Description

The minimum number of non-transfer credits that must be completed from the set of Courses to satisfy this requirement.

Returndecimal the minimum non-transfer credits
ErrorsILLEGAL_STATE requiresMinimumNonTransferCredits() is false
Compliancemandatory This method must be implemented.
MethodhasTargetCreditsForSet
Description

Tests if the set should contain a minimum number of Course credits to be a valid requirement.

Returnboolean true if the set has a minimum credit count, false otherwise
Compliancemandatory This method must be implemented.
MethodgetTargetSetCredits
Description

The minimum number of Course credits to be a valid requirement.

Returndecimal the minimum credits in the set
ErrorsILLEGAL_STATE hasTargetCreditsForSet() is false
Compliancemandatory This method must be implemented.
MethodrequiresCompletion
Description

Tests if this requirement requires completion of the course with a passing grade.

Returnboolean true if a completion of the course is required, false is the course is a co-requisite
Compliancemandatory This method must be implemented.
MethodhasTimeframe
Description

Tests if the course must be completed within the required duration.

Returnboolean true if the course must be completed within a required time, false if it could have been completed at any time in the past
Compliancemandatory This method must be implemented.
MethodgetTimeframe
Description

Gets the timeframe in which the course has to be completed. A negative duration indicates the course had to be completed within the specified amount of time in the past. A posiitive duration indicates the course must be completed within the specified amount of time in the future. A zero duration indicates the course must be completed in the current term.

Returnosid.calendaring.Duration the time frame
ErrorsILLEGAL_STATE hasTimeframe() is false
Compliancemandatory This method must be implemented.
MethodhasMinimumGrade
Description

Tests if a minimum grade above passing is required in the completion of the course or maintained at this level during a co-requisite.

Returnboolean true if a minimum grade is required, false if the course just has to be passed
Compliancemandatory This method must be implemented.
MethodgetMinimumGradeId
Description

Gets the minimum grade Id.

Returnosid.id.Id the minimum grade Id
ErrorsILLEGAL_STATE hasMinimumGrade() is false
Compliancemandatory This method must be implemented.
MethodgetMinimumGrade
Description

Gets the minimum grade.

Returnosid.grading.Grade the minimum grade
ErrorsILLEGAL_STATE hasMinimumGrade() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodhasMinimumScore
Description

Tests if a minimum score above passing is required in the completion of the course or maintained at this level during a co-requisite.

Returnboolean true if a minimum score is required, false if the course just has to be passed
Compliancemandatory This method must be implemented.
MethodgetMinimumScoreSystemId
Description

Gets the scoring system Id for the minimum score.

Returnosid.id.Id the scoring system Id
ErrorsILLEGAL_STATE hasMinimumScore() is false
Compliancemandatory This method must be implemented.
MethodgetMinimumScoreSystem
Description

Gets the scoring system for the minimum score.

Returnosid.grading.GradeSystem the scoring system
ErrorsILLEGAL_STATE hasMinimumScore() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetMinimumScore
Description

Gets the minimum score.

Returndecimal the minimum score
ErrorsILLEGAL_STATE hasMinimumScore() is false
Compliancemandatory This method must be implemented.
MethodhasMinimumEarnedCredits
Description

Tests if a minimum credits earned from the completion of the course, or registered for in a co-requisite is required.

Returnboolean true if a minimum credits is required, false otehrwise
Compliancemandatory This method must be implemented.
MethodgetMinimumEarnedCredits
Description

Gets the minimum earned credits.

Returndecimal the minimum credits
ErrorsILLEGAL_STATE hasMinimumEarnedCredits() is false
Compliancemandatory This method must be implemented.
MethodgetCourseRequirementRecord
Description

Gets the course requirement record corresponding to the given CourseRequirement record Type. This method is used to retrieve an object implementing the requested record. The courseRequirementRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(courseRequirementRecordType) is true.

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