OSID Logo
OSID Specifications
course requisite package
Version 3.1.0
Interfaceosid.course.requisite.ProgramRequirementQuery
Implementsosid.OsidRuleQuery
osid.OsidAggregateableQuery
Description

This is the query for searching ProgramRequirements. 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 program 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.
MethodmatchProgramId
Description

Sets the program Id for this query.

Parametersosid.id.IdprogramId a program Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT programId is null
Compliancemandatory This method must be implemented.
MethodclearProgramIdTerms
Description

Clears the program Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsProgramQuery
Description

Tests if a ProgramQuery is available.

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

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

Returnosid.course.program.ProgramQuery the query
ErrorsUNIMPLEMENTED supportsProgramQuery() is false
Complianceoptional This method must be implemented if supportsProgramQuery() is true.
MethodmatchAnyProgram
Description

Matches program requirements that have any program.

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

Clears the program terms.

Compliancemandatory This method must be implemented.
MethodmatchIncludeEquivalentUnits
Description

Matches program requirements that include equivalent programs.

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 program requirements that require a minimum number of programs.

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 program 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 program 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.
MethodmatchHasTargetNumberForSet
Description

Matches program requirements that have a target program 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 program requirements with a target set program 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 program 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.
MethodmatchRequiresCompletion
Description

Matches program 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 program 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.
MethodmatchHasMinimumGPA
Description

Matches program requirements that require a minimum GPA.

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

Clears the has minimum gpa terms.

Compliancemandatory This method must be implemented.
MethodmatchMinimumGPASystemId
Description

Sets the minimum gpa system Id for this query.

Parametersosid.id.IdminimumGPASystemId a minimum gpa system Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT minimumGPASystemId is null
Compliancemandatory This method must be implemented.
MethodclearMinimumGPASystemIdTerms
Description

Clears the minimum gpa system Id terms.

Compliancemandatory This method must be implemented.
MethodmatchAnyMinimumGPASystem
Description

Matches program requirements with any minimum GPA system.

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

Clears the minimum gpa system terms.

Compliancemandatory This method must be implemented.
MethodmatchMinimumGPA
Description

Matches program requirements with a minimum GPA 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.
MethodmatchAnyMinimumGPA
Description

Matches program requirements with any minimum GPA.

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

Clears the minimum gpa terms.

Compliancemandatory This method must be implemented.
MethodmatchHasMinimumEarnedCredits
Description

Matches program 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 program 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 program 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.
MethodgetProgramRequirementQueryRecord
Description

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

Parametersosid.type.TypeprogramRequirementQueryRecordType a ProgramRequirement record type
Returnosid.course.requisite.records.ProgramRequirementQueryRecord the query record
ErrorsNULL_ARGUMENT programRequirementQueryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(programRequirementQueryRecordType) is false
Compliancemandatory This method must be implemented.