| Interface | osid.course.requisite.RequisiteRequirementQuery | ||
|---|---|---|---|
| Implements | osid.OsidRuleQuery | ||
osid.OsidAggregateableQuery | |||
| Description |
This is the query for searching
| ||
| Method | matchAltRequisiteId | ||
| Description |
Sets the alt requisite | ||
| Parameters | osid.id.Id | altRequisiteId | an alt requisite Id |
boolean | match | true if a positive match, false for a negative
match | |
| Errors | NULL_ARGUMENT | altRequisiteId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearAltRequisiteIdTerms | ||
| Description |
Clears the alt requisite | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsAltRequisiteQuery | ||
| Description |
Tests if a | ||
| Return | boolean | true if a requisite query is available, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAltRequisiteQuery | ||
| Description |
Gets the query for an alternate requisite. Multiple
retrievals produce a nested | ||
| Return | osid.course.requisite.RequisiteQuery | the query | |
| Errors | UNIMPLEMENTED | supportsAltRequisiteQuery() is false | |
| Compliance | optional | This method must be implemented if
supportsAltRequisiteQuery() is true. | |
| Method | matchAnyAltRequisite | ||
| Description |
Matches requisite requirements that have any alternate requisite. | ||
| Parameters | boolean | match | true to match, false to match none |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearAltRequisiteTerms | ||
| Description |
Clears the alternate requisite terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchRequisiteId | ||
| Description |
Sets the requisite | ||
| Parameters | osid.id.Id | requisiteId | a requisite Id |
boolean | match | true if a positive match, false for a negative
match | |
| Errors | NULL_ARGUMENT | requisiteId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearRequisiteIdTerms | ||
| Description |
Clears the requisite | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsRequisiteQuery | ||
| Description |
Tests if a | ||
| Return | boolean | true if a requisite query is available, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRequisiteQuery | ||
| Description |
Gets the query for a requisite. Multiple retrievals
produce a nested | ||
| Return | osid.course.requisite.RequisiteQuery | the query | |
| Errors | UNIMPLEMENTED | supportsRequisiteQuery() is false | |
| Compliance | optional | This method must be implemented if supportsRequisiteQuery()
is true. | |
| Method | matchAnyRequisite | ||
| Description |
Matches requisite requirements that have any requisite. | ||
| Parameters | boolean | match | true to match, false to match none |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearRequisiteTerms | ||
| Description |
Clears the requisite terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchRequiresMinimumNumber | ||
| Description |
Matches requisite requirements that require a minimum number of requisites. | ||
| Parameters | boolean | match | true for a positive match, false for a negative
match |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearRequiresMinimumNumberTerms | ||
| Description |
Clears the requires minimum number terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchMinimumNumber | ||
| Description |
Matches requisite requirements with a minimum number between the given values inclusive. | ||
| Parameters | cardinal | min | low number |
cardinal | max | high number | |
boolean | match | true for a positive match, false for a negative
match | |
| Errors | INVALID_ARGUMENT | max is less than min | |
| Compliance | mandatory | This method must be implemented. | |
| Method | matchAnyMinimumNumber | ||
| Description |
Matches requisite requirements with any minimum number. | ||
| Parameters | boolean | match | true to match, false to match none |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearMinimumNumberTerms | ||
| Description |
Clears the minimum number terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchHasTargetNumberForSet | ||
| Description |
Matches requisite requirements that have a target requisite count for the set. | ||
| Parameters | boolean | match | true for a positive match, false for a negative
match |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearHasTargetNumberForSetTerms | ||
| Description |
Clears the has target number for set terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchTargetSetNumber | ||
| Description |
Matches requisite requirements with a target set requisite count between the given values inclusive. | ||
| Parameters | cardinal | min | low number |
cardinal | max | high number | |
boolean | match | true for a positive match, false for a negative
match | |
| Errors | INVALID_ARGUMENT | max is less than min | |
| Compliance | mandatory | This method must be implemented. | |
| Method | matchAnyTargetSetNumber | ||
| Description |
Matches requisite requirements with any target set number. | ||
| Parameters | boolean | match | true to match, false to match none |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearTargetSetNumberTerms | ||
| Description |
Clears the target set number terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchHasTimeframe | ||
| Description |
Matches requisite requirements that have a timeframe. | ||
| Parameters | boolean | match | true for a positive match, false for a negative
match |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearHasTimeframeTerms | ||
| Description |
Clears the has timeframe terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRequisiteRequirementQueryRecord | ||
| Description |
Gets the query record corresponding to the given
| ||
| Parameters | osid.type.Type | requisiteRequirementQueryRecordType | a RequisiteRequirement record type |
| Return | osid.course.requisite.records.RequisiteRequirementQueryRecord | the query record | |
| Errors | NULL_ARGUMENT | requisiteRequirementQueryRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(requisiteRequirementQueryRecordType) is
false | ||
| Compliance | mandatory | This method must be implemented. | |