OSID Logo
OSID Specifications
assessment authoring package
Version 3.1.0
Interfaceosid.assessment.authoring.AssessmentPartQuery
Implementsosid.OsidObjectQuery
osid.OsidContainableQuery
osid.OsidOperableQuery
Used Byosid.assessment.authoring.AssessmentPartQuery
osid.assessment.authoring.AssessmentPartQuerySession
osid.assessment.authoring.AssessmentPartSearchSession
osid.assessment.authoring.AssessmentPartSmartBankSession
osid.assessment.authoring.SequenceRuleQuery
Description

This is the query for searching assessment parts. Each method match request produces an AND term while multiple invocations of a method produces a nested OR.

MethodmatchAssessmentId
Description

Sets the assessment Id for this query.

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

Clears all assessment Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAssessmentQuery
Description

Tests if an 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 assessment query
ErrorsUNIMPLEMENTED supportsAssessmentQuery() is false
Complianceoptional This method must be implemented if supportsAssessmentQuery() is true.
MethodclearAssessmentTerms
Description

Clears all assessment terms.

Compliancemandatory This method must be implemented.
MethodmatchParentAssessmentPartId
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.
MethodclearParentAssessmentPartIdTerms
Description

Clears all assessment part Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsParentAssessmentPartQuery
Description

Tests if an AssessmentPartQuery is available.

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

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

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

Matches assessment parts with any parent assessment part.

Parametersbooleanmatch true to match assessment parts with any parent, false to match assessment parts with no parents
Compliancemandatory This method must be implemented.
MethodclearParentAssessmentPartTerms
Description

Clears all assessment part terms.

Compliancemandatory This method must be implemented.
MethodmatchSection
Description

Matches assessment parts that are also used as sections.

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

Clears all section terms.

Compliancemandatory This method must be implemented.
MethodmatchWeight
Description

Matches assessment parts that fall in between the given weights 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.
MethodmatchAnyWeight
Description

Matches assessment parts with any weight assigned.

Parametersbooleanmatch true to match assessment parts with any wieght, false to match assessment parts with no weight
Compliancemandatory This method must be implemented.
MethodclearWeightTerms
Description

Clears all weight terms.

Compliancemandatory This method must be implemented.
MethodmatchAllocatedTime
Description

Matches assessment parts hose allocated time falls in between the given times inclusive.

Parametersosid.calendaring.Durationlow low end of range
osid.calendaring.Durationhigh 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.
MethodmatchAnyAllocatedTime
Description

Matches assessment parts with any time assigned.

Parametersbooleanmatch true to match assessment parts with any alloocated time, false to match assessment parts with no allocated time
Compliancemandatory This method must be implemented.
MethodclearAllocatedTimeTerms
Description

Clears all allocated time terms.

Compliancemandatory This method must be implemented.
MethodmatchChildAssessmentPartId
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.
MethodclearChildAssessmentPartIdTerms
Description

Clears all assessment part Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsChildAssessmentPartQuery
Description

Tests if an AssessmentPartQuery is available.

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

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

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

Matches assessment parts with any child assessment part.

Parametersbooleanmatch true to match assessment parts with any children, false to match assessment parts with no children
Compliancemandatory This method must be implemented.
MethodclearChildAssessmentPartTerms
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.
MethodgetAssessmentPartQueryRecord
Description

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

Parametersosid.type.TypeassessmentPartRecordType an assessment part record type
Returnosid.assessment.authoring.records.AssessmentPartQueryRecord the assessment part query record
ErrorsNULL_ARGUMENT assessmentPartRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(assessmentPartRecordType) is false
Compliancemandatory This method must be implemented.