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

This is the query for searching AssessmentRequirements. 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 assessment 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.
MethodmatchAssessmentId
Description

Sets the assessment Id for this query.

Parametersosid.id.IdassessmentId an assessment Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT assessmentId is null
Compliancemandatory This method must be implemented.
MethodclearAssessmentIdTerms
Description

Clears the assessment Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAssessmentQuery
Description

Tests if a AssessmentQuery is available.

Returnboolean true if an assessment query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAssessmentQuery
Description

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

Returnosid.assessment.AssessmentQuery the query
ErrorsUNIMPLEMENTED supportsAssessmentQuery() is false
Complianceoptional This method must be implemented if supportsAssessmentQuery() is true.
MethodmatchAnyAssessment
Description

Matches assessment requirements that have any assessment.

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

Clears the assessment terms.

Compliancemandatory This method must be implemented.
MethodmatchIncludeEquivalentUnits
Description

Matches assessment requirements that include equivalent assessments.

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

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

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

Parametersosid.type.TypeassessmentRequirementQueryRecordType a AssessmentRequirement record type
Returnosid.course.requisite.records.AssessmentRequirementQueryRecord the query record
ErrorsNULL_ARGUMENT assessmentRequirementQueryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(assessmentRequirementQueryRecordType) is false
Compliancemandatory This method must be implemented.