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

This is the query for searching RequisiteRequirements. 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 requisite 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.
MethodmatchRequisiteId
Description

Sets the requisite Id for this query.

Parametersosid.id.IdrequisiteId a requisite Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT requisiteId is null
Compliancemandatory This method must be implemented.
MethodclearRequisiteIdTerms
Description

Clears the requisite Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsRequisiteQuery
Description

Tests if a RequisiteQuery is available.

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

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

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

Matches requisite requirements that have any requisite.

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

Clears the requisite terms.

Compliancemandatory This method must be implemented.
MethodmatchRequiresMinimumNumber
Description

Matches requisite requirements that require a minimum number of requisites.

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 requisite 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 requisite 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 requisite requirements that have a target requisite 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 requisite requirements with a target set requisite 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 requisite 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.
MethodmatchHasTimeframe
Description

Matches requisite 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.
MethodgetRequisiteRequirementQueryRecord
Description

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

Parametersosid.type.TyperequisiteRequirementQueryRecordType a RequisiteRequirement record type
Returnosid.course.requisite.records.RequisiteRequirementQueryRecord the query record
ErrorsNULL_ARGUMENT requisiteRequirementQueryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(requisiteRequirementQueryRecordType) is false
Compliancemandatory This method must be implemented.