OSID Logo
OSID Specifications
assessment package
Version 3.1.0
Interfaceosid.assessment.AssessmentQuery
Implementsosid.OsidObjectQuery
Used Byosid.assessment.AssessmentOfferedQuery
osid.assessment.AssessmentQuery
osid.assessment.AssessmentQuerySession
osid.assessment.AssessmentSearchSession
osid.assessment.AssessmentSmartBankSession
osid.assessment.BankQuery
osid.assessment.ItemQuery
osid.assessment.authoring.AssessmentPartQuery
osid.course.chronicle.AssessmentEntryQuery
osid.course.chronicle.AwardEntryQuery
show 4 more…
osid.course.requisite.RequisiteQuery
osid.course.syllabus.DocetQuery
osid.learning.ActivityQuery
osid.learning.ObjectiveQuery
Description

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

MethodmatchLevelId
Description

Sets the level grade Id for this query.

Parametersosid.id.IdgradeId a grade Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT gradeId is null
Compliancemandatory This method must be implemented.
MethodclearLevelIdTerms
Description

Clears all level Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsLevelQuery
Description

Tests if a GradeQuery is available.

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

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

Returnosid.grading.GradeQuery the grade query
ErrorsUNIMPLEMENTED supportsLevelQuery() is false
Complianceoptional This method must be implemented if supportsLevelQuery() is true.
MethodmatchAnyLevel
Description

Matches an assessment that has any level assigned.

Parametersbooleanmatch true to match assessments with any level, false to match assessments with no level
Compliancemandatory This method must be implemented.
MethodclearLevelTerms
Description

Clears all level terms.

Compliancemandatory This method must be implemented.
MethodmatchRubricId
Description

Sets the rubric 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.
MethodclearRubricIdTerms
Description

Clears all rubric assessment Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsRubricQuery
Description

Tests if an AssessmentQuery is available.

Returnboolean true if a rubric assessment query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetRubricQuery
Description

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

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

Matches an assessment that has any rubric assessment assigned.

Parametersbooleanmatch true to match assessments with any rubric, false to match assessments with no rubric
Compliancemandatory This method must be implemented.
MethodclearRubricTerms
Description

Clears all rubric assessment terms.

Compliancemandatory This method must be implemented.
MethodmatchItemId
Description

Sets the item Id for this query.

Parametersosid.id.IditemId an item Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT itemId is null
Compliancemandatory This method must be implemented.
MethodclearItemIdTerms
Description

Clears all item Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsItemQuery
Description

Tests if an ItemQuery is available.

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

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

Returnosid.assessment.ItemQuery the item query
ErrorsUNIMPLEMENTED supportsItemQuery() is false
Complianceoptional This method must be implemented if supportsItemQuery() is true.
MethodmatchAnyItem
Description

Matches an assessment that has any item.

Parametersbooleanmatch true to match assessments with any item, false to match assessments with no items
Compliancemandatory This method must be implemented.
MethodclearItemTerms
Description

Clears all item terms.

Compliancemandatory This method must be implemented.
MethodmatchAssessmentOfferedId
Description

Sets the assessment offered Id for this query.

Parametersosid.id.IdassessmentOfferedId an assessment offered Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT assessmentOfferedId is null
Compliancemandatory This method must be implemented.
MethodclearAssessmentOfferedIdTerms
Description

Clears all assessment offered Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAssessmentOfferedQuery
Description

Tests if an AssessmentOfferedQuery is available.

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

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

Returnosid.assessment.AssessmentOfferedQuery the assessment offered query
ErrorsUNIMPLEMENTED supportsAssessmentOfferedQuery() is false
Complianceoptional This method must be implemented if supportsAssessmentOfferedQuery() is true.
MethodmatchAnyAssessmentOffered
Description

Matches an assessment that has any offering.

Parametersbooleanmatch true to match assessments with any offering, false to match assessments with no offerings
Compliancemandatory This method must be implemented.
MethodclearAssessmentOfferedTerms
Description

Clears all assessment offered terms.

Compliancemandatory This method must be implemented.
MethodmatchAssessmentTakenId
Description

Sets the assessment taken Id for this query.

Parametersosid.id.IdassessmentTakenId an assessment taken Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT assessmentTakenId is null
Compliancemandatory This method must be implemented.
MethodclearAssessmentTakenIdTerms
Description

Clears all assessment taken Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAssessmentTakenQuery
Description

Tests if an AssessmentTakenQuery is available.

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

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

Returnosid.assessment.AssessmentTakenQuery the assessment taken query
ErrorsUNIMPLEMENTED supportsAssessmentTakenQuery() is false
Complianceoptional This method must be implemented if supportsAssessmentTakenQuery() is true.
MethodmatchAnyAssessmentTaken
Description

Matches an assessment that has any taken version.

Parametersbooleanmatch true to match assessments with any taken assessments, false to match assessments with no taken assessments
Compliancemandatory This method must be implemented.
MethodclearAssessmentTakenTerms
Description

Clears all assessment taken terms.

Compliancemandatory This method must be implemented.
MethodmatchBankId
Description

Sets the bank Id for this query.

Parametersosid.id.IdbankId a 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 all bank Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsBankQuery
Description

Tests if a 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 all bank terms.

Compliancemandatory This method must be implemented.
MethodgetAssessmentQueryRecord
Description

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

Parametersosid.type.TypeassessmentRecordType an assessment record type
Returnosid.assessment.records.AssessmentQueryRecord the assessment query record
ErrorsNULL_ARGUMENT assessmentRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(assessmentRecordType) is false
Compliancemandatory This method must be implemented.