OSID Logo
OSID Specifications
course requisite package
Version 3.0.0
Interfaceosid.course.requisite.CourseRequirementQuery
Implementsosid.OsidRuleQuery
osid.OsidAggregateableQuery
Description

This is the query for searching CourseRequirements . Each method match specifies an AND term while multiple invocations of the same method produce a nested OR .

MethodmatchAltRequisiteId
Description

Sets the alt requisite Id for this query.

Parametersosid.id.IdaltRequisiteIdan alt requisite Id
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTaltRequisiteId is null
CompliancemandatoryThis method must be implemented.
MethodclearAltRequisiteIdTerms
Description

Clears the alt requisite Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsAltRequisiteQuery
Description

Tests if a RequisiteQuery is available.

Returnbooleantrue if a requisite query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAltRequisiteQuery
Description

Gets the query for an alternate requisite. Multiple retrievals produce a nested OR term.

Returnosid.course.requisite.RequisiteQuerythe query
ErrorsUNIMPLEMENTEDsupportsAltRequisiteQuery() is false
ComplianceoptionalThis method must be implemented if supportsAltRequisiteQuery() is true .
MethodmatchAnyAltRequisite
Description

Matches course requirements that have any alternate requisite.

Parametersbooleanmatchtrue to match, false to match none
CompliancemandatoryThis method must be implemented.
MethodclearAltRequisiteTerms
Description

Clears the alternate requisite terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCourseId
Description

Sets the course Id for this query.

Parametersosid.id.IdcourseIda course Id
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTcourseId is null
CompliancemandatoryThis method must be implemented.
MethodclearCourseIdTerms
Description

Clears the course Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsCourseQuery
Description

Tests if a CourseQuery is available.

Returnbooleantrue if a course query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCourseQuery
Description

Gets the query for a course. Multiple retrievals produce a nested OR term.

Returnosid.course.CourseQuerythe query
ErrorsUNIMPLEMENTEDsupportsCourseQuery() is false
ComplianceoptionalThis method must be implemented if supportsCourseQuery() is true .
MethodmatchAnyCourse
Description

Matches course requirements that have any course.

Parametersbooleanmatchtrue to match, false to match none
CompliancemandatoryThis method must be implemented.
MethodclearCourseTerms
Description

Clears the course terms.

CompliancemandatoryThis method must be implemented.
MethodmatchRequiresSubjectArea
Description

Matches course requirements that require any course in a subject area.

Parametersbooleanmatchtrue for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearRequiresSubjectAreaTerms
Description

Clears the requires subject area terms.

CompliancemandatoryThis method must be implemented.
MethodmatchSubjectAreaId
Description

Sets the subject area Id for this query.

Parametersosid.id.IdsubjectAreaIda subject area Id
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTsubjectAreaId is null
CompliancemandatoryThis method must be implemented.
MethodclearSubjectAreaIdTerms
Description

Clears the subject area Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsSubjectAreaQuery
Description

Tests if a SubjectQuery is available.

Returnbooleantrue if a subject query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetSubjectAreaQuery
Description

Gets the query for a subject area. Multiple retrievals produce a nested OR term.

Returnosid.ontology.SubjectQuerythe query
ErrorsUNIMPLEMENTEDsupportsSubjectAreaQuery() is false
ComplianceoptionalThis method must be implemented if supportsSubjectAreaQuery() is true .
MethodmatchAnySubjectArea
Description

Matches course requirements that have any subject area.

Parametersbooleanmatchtrue to match, false to match none
CompliancemandatoryThis method must be implemented.
MethodclearSubjectAreaTerms
Description

Clears the subject area terms.

CompliancemandatoryThis method must be implemented.
MethodmatchIncludeEquivalentUnits
Description

Matches course requirements that include equivalent courses.

Parametersbooleanmatchtrue for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearIncludeEquivalentUnitsTerms
Description

Clears the include equivalent units terms.

CompliancemandatoryThis method must be implemented.
MethodmatchRequiresMinimumNumber
Description

Matches course requirements that require a minimum number of courses.

Parametersbooleanmatchtrue for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearRequiresMinimumNumberTerms
Description

Clears the requires minimum number terms.

CompliancemandatoryThis method must be implemented.
MethodmatchMinimumNumber
Description

Matches course requirements with a minimum number between the given values inclusive.

Parameterscardinalminlow number
cardinalmaxhigh number
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTmax is less than min
CompliancemandatoryThis method must be implemented.
MethodmatchAnyMinimumNumber
Description

Matches course requirements with any minimum number.

Parametersbooleanmatchtrue to match, false to match none
CompliancemandatoryThis method must be implemented.
MethodclearMinimumNumberTerms
Description

Clears the minimum number terms.

CompliancemandatoryThis method must be implemented.
MethodmatchRequiresMinimumNonTransferNumber
Description

Matches course requirements that require a minimum non-transfer course count.

Parametersbooleanmatchtrue for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearRequiresMinimumNonTransferNumberTerms
Description

Clears the requires minimum non-transfer number terms.

CompliancemandatoryThis method must be implemented.
MethodmatchMinimumNonTransferNumber
Description

Matches course requirements with a minimum non-transfer course count between the given values inclusive.

Parameterscardinalminlow number
cardinalmaxhigh number
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTmax is less than min
CompliancemandatoryThis method must be implemented.
MethodmatchAnyMinimumNonTransferNumber
Description

Matches course requirements with any minimum non-transfer number.

Parametersbooleanmatchtrue to match, false to match none
CompliancemandatoryThis method must be implemented.
MethodclearMinimumNonTransferNumberTerms
Description

Clears the minimum non-transfer number terms.

CompliancemandatoryThis method must be implemented.
MethodmatchHasTargetNumberForSet
Description

Matches course requirements that have a target course count for the set.

Parametersbooleanmatchtrue for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearHasTargetNumberForSetTerms
Description

Clears the has target number for set terms.

CompliancemandatoryThis method must be implemented.
MethodmatchTargetSetNumber
Description

Matches course requirements with a target set course count between the given values inclusive.

Parameterscardinalminlow number
cardinalmaxhigh number
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTmax is less than min
CompliancemandatoryThis method must be implemented.
MethodmatchAnyTargetSetNumber
Description

Matches course requirements with any target set number.

Parametersbooleanmatchtrue to match, false to match none
CompliancemandatoryThis method must be implemented.
MethodclearTargetSetNumberTerms
Description

Clears the target set number terms.

CompliancemandatoryThis method must be implemented.
MethodmatchRequiresMinimumCredits
Description

Matches course requirements that require a minimum number of credits.

Parametersbooleanmatchtrue for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearRequiresMinimumCreditsTerms
Description

Clears the requires minimum credits terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCreditScaleId
Description

Sets the credit scale Id for this query.

Parametersosid.id.IdcreditScaleIda credit scale Id
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTcreditScaleId is null
CompliancemandatoryThis method must be implemented.
MethodclearCreditScaleIdTerms
Description

Clears the credit scale Id terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAnyCreditScale
Description

Matches course requirements with any credit scale.

Parametersbooleanmatchtrue to match, false to match none
CompliancemandatoryThis method must be implemented.
MethodclearCreditScaleTerms
Description

Clears the credit scale terms.

CompliancemandatoryThis method must be implemented.
MethodmatchMinimumCredits
Description

Matches course requirements with a minimum credits value between the given values inclusive.

Parametersdecimalminlow value
decimalmaxhigh value
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTmax is less than min
CompliancemandatoryThis method must be implemented.
MethodmatchAnyMinimumCredits
Description

Matches course requirements with any minimum credits.

Parametersbooleanmatchtrue to match, false to match none
CompliancemandatoryThis method must be implemented.
MethodclearMinimumCreditsTerms
Description

Clears the minimum credits terms.

CompliancemandatoryThis method must be implemented.
MethodmatchRequiresMinimumNonTransferCredits
Description

Matches course requirements that require a minimum non-transfer credit count.

Parametersbooleanmatchtrue for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearRequiresMinimumNonTransferCreditsTerms
Description

Clears the requires minimum non-transfer credits terms.

CompliancemandatoryThis method must be implemented.
MethodmatchNonTransferCredits
Description

Matches course requirements with a non-transfer credits value between the given values inclusive.

Parametersdecimalminlow value
decimalmaxhigh value
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTmax is less than min
CompliancemandatoryThis method must be implemented.
MethodmatchAnyNonTransferCredits
Description

Matches course requirements with any non-transfer credits.

Parametersbooleanmatchtrue to match, false to match none
CompliancemandatoryThis method must be implemented.
MethodclearNonTransferCreditsTerms
Description

Clears the non-transfer credits terms.

CompliancemandatoryThis method must be implemented.
MethodmatchHasTargetCreditsForSet
Description

Matches course requirements that have a target credit count for the set.

Parametersbooleanmatchtrue for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearHasTargetCreditsForSetTerms
Description

Clears the has target credits for set terms.

CompliancemandatoryThis method must be implemented.
MethodmatchTargetSetCredits
Description

Matches course requirements with a target set credit value between the given values inclusive.

Parametersdecimalminlow value
decimalmaxhigh value
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTmax is less than min
CompliancemandatoryThis method must be implemented.
MethodmatchAnyTargetSetCredits
Description

Matches course requirements with any target set credits.

Parametersbooleanmatchtrue to match, false to match none
CompliancemandatoryThis method must be implemented.
MethodclearTargetSetCreditsTerms
Description

Clears the target set credits terms.

CompliancemandatoryThis method must be implemented.
MethodmatchRequiresCompletion
Description

Matches course requirements that require completion with a passing grade.

Parametersbooleanmatchtrue for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearRequiresCompletionTerms
Description

Clears the requires completion terms.

CompliancemandatoryThis method must be implemented.
MethodmatchHasTimeframe
Description

Matches course requirements that have a timeframe.

Parametersbooleanmatchtrue for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearHasTimeframeTerms
Description

Clears the has timeframe terms.

CompliancemandatoryThis method must be implemented.
MethodmatchHasMinimumGrade
Description

Matches course requirements that require a minimum grade.

Parametersbooleanmatchtrue for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearHasMinimumGradeTerms
Description

Clears the has minimum grade terms.

CompliancemandatoryThis method must be implemented.
MethodmatchMinimumGradeId
Description

Sets the minimum grade Id for this query.

Parametersosid.id.IdminimumGradeIda minimum grade Id
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTminimumGradeId is null
CompliancemandatoryThis method must be implemented.
MethodclearMinimumGradeIdTerms
Description

Clears the minimum grade Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsMinimumGradeQuery
Description

Tests if a GradeQuery is available.

Returnbooleantrue if a grade query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetMinimumGradeQuery
Description

Gets the query for a minimum grade. Multiple retrievals produce a nested OR term.

Returnosid.grading.GradeQuerythe query
ErrorsUNIMPLEMENTEDsupportsMinimumGradeQuery() is false
ComplianceoptionalThis method must be implemented if supportsMinimumGradeQuery() is true .
MethodmatchAnyMinimumGrade
Description

Matches course requirements with any minimum grade.

Parametersbooleanmatchtrue to match, false to match none
CompliancemandatoryThis method must be implemented.
MethodclearMinimumGradeTerms
Description

Clears the minimum grade terms.

CompliancemandatoryThis method must be implemented.
MethodmatchHasMinimumScore
Description

Matches course requirements that require a minimum score.

Parametersbooleanmatchtrue for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearHasMinimumScoreTerms
Description

Clears the has minimum score terms.

CompliancemandatoryThis method must be implemented.
MethodmatchMinimumScoreSystemId
Description

Sets the minimum score system Id for this query.

Parametersosid.id.IdminimumScoreSystemIda minimum score system Id
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTminimumScoreSystemId is null
CompliancemandatoryThis method must be implemented.
MethodclearMinimumScoreSystemIdTerms
Description

Clears the minimum score system Id terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAnyMinimumScoreSystem
Description

Matches course requirements with any minimum score system.

Parametersbooleanmatchtrue to match, false to match none
CompliancemandatoryThis method must be implemented.
MethodclearMinimumScoreSystemTerms
Description

Clears the minimum score system terms.

CompliancemandatoryThis method must be implemented.
MethodmatchMinimumScore
Description

Matches course requirements with a minimum score between the given values inclusive.

Parametersdecimalminlow value
decimalmaxhigh value
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTmax is less than min
CompliancemandatoryThis method must be implemented.
MethodmatchAnyMinimumScore
Description

Matches course requirements with any minimum score.

Parametersbooleanmatchtrue to match, false to match none
CompliancemandatoryThis method must be implemented.
MethodclearMinimumScoreTerms
Description

Clears the minimum score terms.

CompliancemandatoryThis method must be implemented.
MethodmatchHasMinimumEarnedCredits
Description

Matches course requirements that require a minimum earned credit count.

Parametersbooleanmatchtrue for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearHasMinimumEarnedCreditsTerms
Description

Clears the has minimum earned credits terms.

CompliancemandatoryThis method must be implemented.
MethodmatchMinimumEarnedCredits
Description

Matches course requirements with a minimum earned credits value between the given values inclusive.

Parametersdecimalminlow value
decimalmaxhigh value
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTmax is less than min
CompliancemandatoryThis method must be implemented.
MethodmatchAnyMinimumEarnedCredits
Description

Matches course requirements with any minimum earned credits.

Parametersbooleanmatchtrue to match, false to match none
CompliancemandatoryThis method must be implemented.
MethodclearMinimumEarnedCreditsTerms
Description

Clears the minimum earned credits terms.

CompliancemandatoryThis method must be implemented.
MethodgetCourseRequirementQueryRecord
Description

Gets the course requirement query record corresponding to the given CourseRequirement record Type . Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypecourseRequirementQueryRecordTypea course requirement record type
Returnosid.course.requisite.records.CourseRequirementQueryRecordthe course requirement query record
ErrorsNULL_ARGUMENTcourseRequirementQueryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(courseRequirementQueryRecordType) is false
CompliancemandatoryThis method must be implemented.