OSID Logo
OSID Specifications
assessment authoring package
Version 3.0.0
Release Candidate Preview
Interfaceosid.assessment.authoring.SequenceRuleQuery
Implementsosid.OsidRuleQuery
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
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT assessmentPartId 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.

Returnboolean true 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
ErrorsUNIMPLEMENTED supportsAssessmentPartQuery() 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
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT assessmentPartId 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.

Returnboolean true 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
ErrorsUNIMPLEMENTED supportsNextAssessmentPartQuery() 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
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT high is less than low
CompliancemandatoryThis method must be implemented.
MethodmatchAnyMinimumScore
Description

Matches assessment parts with any minimum score assigned.

Parametersbooleanmatch true 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
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT high is less than low
CompliancemandatoryThis method must be implemented.
MethodmatchAnyMaximumScore
Description

Matches assessment parts with any maximum score assigned.

Parametersbooleanmatch true 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.

Parametersbooleanmatch true 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
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT assessmentPartId 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.

Returnboolean true 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
ErrorsUNIMPLEMENTED supportsAppliedAssessmentPartQuery() is false
ComplianceoptionalThis method must be implemented if supportsAppliedAssessmentPartQuery() is true.
MethodmatchAnyAppliedAssessmentPart
Description

Matches assessment parts with any applied assessment part.

Parametersbooleanmatch true 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
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT bankId 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.

Returnboolean true 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
ErrorsUNIMPLEMENTED supportsBankQuery() 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_ARGUMENT sequenceRuleRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(sequenceRuleRecordType) is false
CompliancemandatoryThis method must be implemented.