OSID Logo
OSID Specifications
assessment authoring package
Version 3.1.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.IdassessmentPartId an assessment part Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT assessmentPartId is null
Compliancemandatory This method must be implemented.
MethodclearAssessmentPartIdTerms
Description

Clears all assessment part Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAssessmentPartQuery
Description

Tests if an AssessmentPartQuery is available.

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

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

Returnosid.assessment.authoring.AssessmentPartQuery the assessment part query
ErrorsUNIMPLEMENTED supportsAssessmentPartQuery() is false
Complianceoptional This method must be implemented if supportsAssessmentPartQuery() is true.
MethodclearAssessmentPartTerms
Description

Clears all assessment part terms.

Compliancemandatory This method must be implemented.
MethodmatchNextAssessmentPartId
Description

Sets the assessment part Id for this query.

Parametersosid.id.IdassessmentPartId an assessment part Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT assessmentPartId is null
Compliancemandatory This method must be implemented.
MethodclearNextAssessmentPartIdTerms
Description

Clears all assessment part Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsNextAssessmentPartQuery
Description

Tests if an AssessmentPartQuery is available.

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

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

Returnosid.assessment.authoring.AssessmentPartQuery the assessment part query
ErrorsUNIMPLEMENTED supportsNextAssessmentPartQuery() is false
Complianceoptional This method must be implemented if supportsNextAssessmentPartQuery() is true.
MethodclearNextAssessmentPartTerms
Description

Clears all assessment part terms.

Compliancemandatory This method must be implemented.
MethodmatchMinimumScore
Description

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

Parameterscardinallow low end of range
cardinalhigh high end of range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT high is less than low
Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodclearMinimumScoreTerms
Description

Clears all minimum score terms.

Compliancemandatory This method must be implemented.
MethodmatchMaximumScore
Description

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

Parameterscardinallow low end of range
cardinalhigh high end of range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT high is less than low
Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodclearMaximumScoreTerms
Description

Clears all maximum score terms.

Compliancemandatory This method must be implemented.
MethodmatchCumulative
Description

Matches cumulative rules.

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearCumulativeTerms
Description

Clears all cumulative terms.

Compliancemandatory This method must be implemented.
MethodmatchAppliedAssessmentPartId
Description

Sets the assessment part Id for this query.

Parametersosid.id.IdassessmentPartId an assessment part Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT assessmentPartId is null
Compliancemandatory This method must be implemented.
MethodclearAppliedAssessmentPartIdTerms
Description

Clears all assessment part Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAppliedAssessmentPartQuery
Description

Tests if an AssessmentPartQuery is available.

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

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

Returnosid.assessment.authoring.AssessmentPartQuery the assessment part query
ErrorsUNIMPLEMENTED supportsAppliedAssessmentPartQuery() is false
Complianceoptional This 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
Compliancemandatory This method must be implemented.
MethodclearAppliedAssessmentPartTerms
Description

Clears all assessment part terms.

Compliancemandatory This method must be implemented.
MethodmatchBankId
Description

Matches constrainers mapped to the bank.

Parametersosid.id.IdbankId the bank Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT bankId is null
Compliancemandatory This method must be implemented.
MethodclearBankIdTerms
Description

Clears the bank Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsBankQuery
Description

Tests if an BankQuery is available.

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

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

Returnosid.assessment.BankQuery the bank query
ErrorsUNIMPLEMENTED supportsBankQuery() is false
Complianceoptional This method must be implemented if supportsBankQuery() is true.
MethodclearBankTerms
Description

Clears the bank query terms.

Compliancemandatory This 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.TypesequenceRuleRecordType a sequence rule record type
Returnosid.assessment.authoring.records.SequenceRuleQueryRecord the sequence rule query record
ErrorsNULL_ARGUMENT sequenceRuleRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(sequenceRuleRecordType) is false
Compliancemandatory This method must be implemented.