OSID Logo
OSID Specifications
assessment authoring package
Version 3.0.0
Interfaceosid.assessment.authoring.SequenceRuleQuery
Implementsosid.OsidRuleQuery
Used Byosid.assessment.authoring.SequenceRuleEnablerQuery
osid.assessment.authoring.SequenceRuleQuerySession
osid.assessment.authoring.SequenceRuleSearchSession
osid.assessment.authoring.SequenceRuleSmartBankSession
Description

This is the query for searching sequence rules. Each method match specifies a AND term while multiple invocations of the same method produce a nested OR .

MethodmatchAssessmentPartId
Description

Sets the assessment part Id for this query.

Parametersosid.id.IdassessmentPartIdan assessment part Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTassessmentPartId is null
CompliancemandatoryThis method must be implemented.
MethodclearAssessmentPartIdTerms
Description

Clears all assessment part Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsAssessmentPartQuery
Description

Tests if an AssessmentPartQuery is available.

Returnbooleantrue if an assessment part query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentPartQuery
Description

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

Returnosid.assessment.authoring.AssessmentPartQuerythe assessment part query
ErrorsUNIMPLEMENTEDsupportsAssessmentPartQuery() is false
ComplianceoptionalThis method must be implemented if supportsAssessmentPartQuery() is true .
MethodclearAssessmentPartTerms
Description

Clears all assessment part terms.

CompliancemandatoryThis method must be implemented.
MethodmatchNextAssessmentPartId
Description

Sets the assessment part Id for this query.

Parametersosid.id.IdassessmentPartIdan assessment part Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTassessmentPartId is null
CompliancemandatoryThis method must be implemented.
MethodclearNextAssessmentPartIdTerms
Description

Clears all assessment part Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsNextAssessmentPartQuery
Description

Tests if an AssessmentPartQuery is available.

Returnbooleantrue if an assessment part query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetNextAssessmentPartQuery
Description

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

Returnosid.assessment.authoring.AssessmentPartQuerythe assessment part query
ErrorsUNIMPLEMENTEDsupportsNextAssessmentPartQuery() is false
ComplianceoptionalThis method must be implemented if supportsNextAssessmentPartQuery() is true .
MethodclearNextAssessmentPartTerms
Description

Clears all assessment part terms.

CompliancemandatoryThis method must be implemented.
MethodmatchMinimumScore
Description

Matches minimum scores that fall in between the given scores inclusive.

Parameterscardinallowlow end of range
cardinalhighhigh end of range
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENThigh is less than low
CompliancemandatoryThis method must be implemented.
MethodmatchAnyMinimumScore
Description

Matches assessment parts with any minimum score assigned.

Parametersbooleanmatchtrue to match assessment parts with any minimum score, false to match assessment parts with no minimum score
CompliancemandatoryThis method must be implemented.
MethodclearMinimumScoreTerms
Description

Clears all minimum score terms.

CompliancemandatoryThis method must be implemented.
MethodmatchMaximumScore
Description

Matches maximum scores that fall in between the given scores inclusive.

Parameterscardinallowlow end of range
cardinalhighhigh end of range
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENThigh is less than low
CompliancemandatoryThis method must be implemented.
MethodmatchAnyMaximumScore
Description

Matches assessment parts with any maximum score assigned.

Parametersbooleanmatchtrue to match assessment parts with any maximum score, false to match assessment parts with no maximum score
CompliancemandatoryThis method must be implemented.
MethodclearMaximumScoreTerms
Description

Clears all maximum score terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCumulative
Description

Matches cumulative rules.

Parametersbooleanmatchtrue for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearCumulativeTerms
Description

Clears all cumulative terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAppliedAssessmentPartId
Description

Sets the assessment part Id for this query.

Parametersosid.id.IdassessmentPartIdan assessment part Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTassessmentPartId is null
CompliancemandatoryThis method must be implemented.
MethodclearAppliedAssessmentPartIdTerms
Description

Clears all assessment part Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsAppliedAssessmentPartQuery
Description

Tests if an AssessmentPartQuery is available.

Returnbooleantrue if an assessment part query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAppliedAssessmentPartQuery
Description

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

Returnosid.assessment.authoring.AssessmentPartQuerythe assessment part query
ErrorsUNIMPLEMENTEDsupportsAppliedAssessmentPartQuery() is false
ComplianceoptionalThis method must be implemented if supportsAppliedAssessmentPartQuery() is true .
MethodmatchAnyAppliedAssessmentPart
Description

Matches assessment parts with any applied assessment part.

Parametersbooleanmatchtrue to match assessment parts with any applied assessment part, false to match assessment parts with no applied assessment parts
CompliancemandatoryThis method must be implemented.
MethodclearAppliedAssessmentPartTerms
Description

Clears all assessment part terms.

CompliancemandatoryThis method must be implemented.
MethodmatchBankId
Description

Matches constrainers mapped to the bank.

Parametersosid.id.IdbankIdthe bank Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTbankId is null
CompliancemandatoryThis method must be implemented.
MethodclearBankIdTerms
Description

Clears the bank Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsBankQuery
Description

Tests if an BankQuery is available.

Returnbooleantrue if a bank query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetBankQuery
Description

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

Returnosid.assessment.BankQuerythe bank query
ErrorsUNIMPLEMENTEDsupportsBankQuery() is false
ComplianceoptionalThis method must be implemented if supportsBankQuery() is true .
MethodclearBankTerms
Description

Clears the bank query terms.

CompliancemandatoryThis method must be implemented.
MethodgetSequenceRuleQueryRecord
Description

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

Parametersosid.type.TypesequenceRuleRecordTypea sequence rule record type
Returnosid.assessment.authoring.records.SequenceRuleQueryRecordthe sequence rule query record
ErrorsNULL_ARGUMENTsequenceRuleRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(sequenceRuleRecordType) is false
CompliancemandatoryThis method must be implemented.