OSID Logo
OSID Specifications
course requisite package
Version 3.1.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.IdaltRequisiteId an alt requisite Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT altRequisiteId is null
Compliancemandatory This method must be implemented.
MethodclearAltRequisiteIdTerms
Description

Clears the alt requisite Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAltRequisiteQuery
Description

Tests if a RequisiteQuery is available.

Returnboolean true if a requisite query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAltRequisiteQuery
Description

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

Returnosid.course.requisite.RequisiteQuery the query
ErrorsUNIMPLEMENTED supportsAltRequisiteQuery() is false
Complianceoptional This method must be implemented if supportsAltRequisiteQuery() is true.
MethodmatchAnyAltRequisite
Description

Matches course requirements that have any alternate requisite.

Parametersbooleanmatch true to match, false to match none
Compliancemandatory This method must be implemented.
MethodclearAltRequisiteTerms
Description

Clears the alternate requisite terms.

Compliancemandatory This method must be implemented.
MethodmatchCourseId
Description

Sets the course Id for this query.

Parametersosid.id.IdcourseId a course Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT courseId is null
Compliancemandatory This method must be implemented.
MethodclearCourseIdTerms
Description

Clears the course Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsCourseQuery
Description

Tests if a CourseQuery is available.

Returnboolean true if a course query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCourseQuery
Description

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

Returnosid.course.CourseQuery the query
ErrorsUNIMPLEMENTED supportsCourseQuery() is false
Complianceoptional This method must be implemented if supportsCourseQuery() is true.
MethodmatchAnyCourse
Description

Matches course requirements that have any course.

Parametersbooleanmatch true to match, false to match none
Compliancemandatory This method must be implemented.
MethodclearCourseTerms
Description

Clears the course terms.

Compliancemandatory This method must be implemented.
MethodmatchRequiresSubjectArea
Description

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

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearRequiresSubjectAreaTerms
Description

Clears the requires subject area terms.

Compliancemandatory This method must be implemented.
MethodmatchSubjectAreaId
Description

Sets the subject area Id for this query.

Parametersosid.id.IdsubjectAreaId a subject area Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT subjectAreaId is null
Compliancemandatory This method must be implemented.
MethodclearSubjectAreaIdTerms
Description

Clears the subject area Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsSubjectAreaQuery
Description

Tests if a SubjectQuery is available.

Returnboolean true if a subject query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetSubjectAreaQuery
Description

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

Returnosid.ontology.SubjectQuery the query
ErrorsUNIMPLEMENTED supportsSubjectAreaQuery() is false
Complianceoptional This method must be implemented if supportsSubjectAreaQuery() is true.
MethodmatchAnySubjectArea
Description

Matches course requirements that have any subject area.

Parametersbooleanmatch true to match, false to match none
Compliancemandatory This method must be implemented.
MethodclearSubjectAreaTerms
Description

Clears the subject area terms.

Compliancemandatory This method must be implemented.
MethodmatchIncludeEquivalentUnits
Description

Matches course requirements that include equivalent courses.

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearIncludeEquivalentUnitsTerms
Description

Clears the include equivalent units terms.

Compliancemandatory This method must be implemented.
MethodmatchRequiresMinimumNumber
Description

Matches course requirements that require a minimum number of courses.

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearRequiresMinimumNumberTerms
Description

Clears the requires minimum number terms.

Compliancemandatory This method must be implemented.
MethodmatchMinimumNumber
Description

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

Parameterscardinalmin low number
cardinalmax high number
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT max is less than min
Compliancemandatory This method must be implemented.
MethodmatchAnyMinimumNumber
Description

Matches course requirements with any minimum number.

Parametersbooleanmatch true to match, false to match none
Compliancemandatory This method must be implemented.
MethodclearMinimumNumberTerms
Description

Clears the minimum number terms.

Compliancemandatory This method must be implemented.
MethodmatchRequiresMinimumNonTransferNumber
Description

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

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearRequiresMinimumNonTransferNumberTerms
Description

Clears the requires minimum non-transfer number terms.

Compliancemandatory This method must be implemented.
MethodmatchMinimumNonTransferNumber
Description

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

Parameterscardinalmin low number
cardinalmax high number
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT max is less than min
Compliancemandatory This method must be implemented.
MethodmatchAnyMinimumNonTransferNumber
Description

Matches course requirements with any minimum non-transfer number.

Parametersbooleanmatch true to match, false to match none
Compliancemandatory This method must be implemented.
MethodclearMinimumNonTransferNumberTerms
Description

Clears the minimum non-transfer number terms.

Compliancemandatory This method must be implemented.
MethodmatchHasTargetNumberForSet
Description

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

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearHasTargetNumberForSetTerms
Description

Clears the has target number for set terms.

Compliancemandatory This method must be implemented.
MethodmatchTargetSetNumber
Description

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

Parameterscardinalmin low number
cardinalmax high number
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT max is less than min
Compliancemandatory This method must be implemented.
MethodmatchAnyTargetSetNumber
Description

Matches course requirements with any target set number.

Parametersbooleanmatch true to match, false to match none
Compliancemandatory This method must be implemented.
MethodclearTargetSetNumberTerms
Description

Clears the target set number terms.

Compliancemandatory This method must be implemented.
MethodmatchRequiresMinimumCredits
Description

Matches course requirements that require a minimum number of credits.

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearRequiresMinimumCreditsTerms
Description

Clears the requires minimum credits terms.

Compliancemandatory This method must be implemented.
MethodmatchCreditScaleId
Description

Sets the credit scale Id for this query.

Parametersosid.id.IdcreditScaleId a credit scale Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT creditScaleId is null
Compliancemandatory This method must be implemented.
MethodclearCreditScaleIdTerms
Description

Clears the credit scale Id terms.

Compliancemandatory This method must be implemented.
MethodmatchAnyCreditScale
Description

Matches course requirements with any credit scale.

Parametersbooleanmatch true to match, false to match none
Compliancemandatory This method must be implemented.
MethodclearCreditScaleTerms
Description

Clears the credit scale terms.

Compliancemandatory This method must be implemented.
MethodmatchMinimumCredits
Description

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

Parametersdecimalmin low value
decimalmax high value
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT max is less than min
Compliancemandatory This method must be implemented.
MethodmatchAnyMinimumCredits
Description

Matches course requirements with any minimum credits.

Parametersbooleanmatch true to match, false to match none
Compliancemandatory This method must be implemented.
MethodclearMinimumCreditsTerms
Description

Clears the minimum credits terms.

Compliancemandatory This method must be implemented.
MethodmatchRequiresMinimumNonTransferCredits
Description

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

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearRequiresMinimumNonTransferCreditsTerms
Description

Clears the requires minimum non-transfer credits terms.

Compliancemandatory This method must be implemented.
MethodmatchNonTransferCredits
Description

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

Parametersdecimalmin low value
decimalmax high value
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT max is less than min
Compliancemandatory This method must be implemented.
MethodmatchAnyNonTransferCredits
Description

Matches course requirements with any non-transfer credits.

Parametersbooleanmatch true to match, false to match none
Compliancemandatory This method must be implemented.
MethodclearNonTransferCreditsTerms
Description

Clears the non-transfer credits terms.

Compliancemandatory This method must be implemented.
MethodmatchHasTargetCreditsForSet
Description

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

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearHasTargetCreditsForSetTerms
Description

Clears the has target credits for set terms.

Compliancemandatory This method must be implemented.
MethodmatchTargetSetCredits
Description

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

Parametersdecimalmin low value
decimalmax high value
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT max is less than min
Compliancemandatory This method must be implemented.
MethodmatchAnyTargetSetCredits
Description

Matches course requirements with any target set credits.

Parametersbooleanmatch true to match, false to match none
Compliancemandatory This method must be implemented.
MethodclearTargetSetCreditsTerms
Description

Clears the target set credits terms.

Compliancemandatory This method must be implemented.
MethodmatchRequiresCompletion
Description

Matches course requirements that require completion with a passing grade.

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearRequiresCompletionTerms
Description

Clears the requires completion terms.

Compliancemandatory This method must be implemented.
MethodmatchHasTimeframe
Description

Matches course requirements that have a timeframe.

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearHasTimeframeTerms
Description

Clears the has timeframe terms.

Compliancemandatory This method must be implemented.
MethodmatchHasMinimumGrade
Description

Matches course requirements that require a minimum grade.

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearHasMinimumGradeTerms
Description

Clears the has minimum grade terms.

Compliancemandatory This method must be implemented.
MethodmatchMinimumGradeId
Description

Sets the minimum grade Id for this query.

Parametersosid.id.IdminimumGradeId a minimum grade Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT minimumGradeId is null
Compliancemandatory This method must be implemented.
MethodclearMinimumGradeIdTerms
Description

Clears the minimum grade Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsMinimumGradeQuery
Description

Tests if a GradeQuery is available.

Returnboolean true if a grade query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetMinimumGradeQuery
Description

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

Returnosid.grading.GradeQuery the query
ErrorsUNIMPLEMENTED supportsMinimumGradeQuery() is false
Complianceoptional This method must be implemented if supportsMinimumGradeQuery() is true.
MethodmatchAnyMinimumGrade
Description

Matches course requirements with any minimum grade.

Parametersbooleanmatch true to match, false to match none
Compliancemandatory This method must be implemented.
MethodclearMinimumGradeTerms
Description

Clears the minimum grade terms.

Compliancemandatory This method must be implemented.
MethodmatchHasMinimumScore
Description

Matches course requirements that require a minimum score.

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearHasMinimumScoreTerms
Description

Clears the has minimum score terms.

Compliancemandatory This method must be implemented.
MethodmatchMinimumScoreSystemId
Description

Sets the minimum score system Id for this query.

Parametersosid.id.IdminimumScoreSystemId a minimum score system Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT minimumScoreSystemId is null
Compliancemandatory This method must be implemented.
MethodclearMinimumScoreSystemIdTerms
Description

Clears the minimum score system Id terms.

Compliancemandatory This method must be implemented.
MethodmatchAnyMinimumScoreSystem
Description

Matches course requirements with any minimum score system.

Parametersbooleanmatch true to match, false to match none
Compliancemandatory This method must be implemented.
MethodclearMinimumScoreSystemTerms
Description

Clears the minimum score system terms.

Compliancemandatory This method must be implemented.
MethodmatchMinimumScore
Description

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

Parametersdecimalmin low value
decimalmax high value
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT max is less than min
Compliancemandatory This method must be implemented.
MethodmatchAnyMinimumScore
Description

Matches course requirements with any minimum score.

Parametersbooleanmatch true to match, false to match none
Compliancemandatory This method must be implemented.
MethodclearMinimumScoreTerms
Description

Clears the minimum score terms.

Compliancemandatory This method must be implemented.
MethodmatchHasMinimumEarnedCredits
Description

Matches course requirements that require a minimum earned credit count.

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearHasMinimumEarnedCreditsTerms
Description

Clears the has minimum earned credits terms.

Compliancemandatory This method must be implemented.
MethodmatchMinimumEarnedCredits
Description

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

Parametersdecimalmin low value
decimalmax high value
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT max is less than min
Compliancemandatory This method must be implemented.
MethodmatchAnyMinimumEarnedCredits
Description

Matches course requirements with any minimum earned credits.

Parametersbooleanmatch true to match, false to match none
Compliancemandatory This method must be implemented.
MethodclearMinimumEarnedCreditsTerms
Description

Clears the minimum earned credits terms.

Compliancemandatory This 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.TypecourseRequirementQueryRecordType a course requirement record type
Returnosid.course.requisite.records.CourseRequirementQueryRecord the course requirement query record
ErrorsNULL_ARGUMENT courseRequirementQueryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(courseRequirementQueryRecordType) is false
Compliancemandatory This method must be implemented.