OSID Logo
OSID Specifications
assessment package
Version 3.0.0
Release Candidate Preview
Interfaceosid.assessment.AnswerSearchOrder
Implementsosid.OsidObjectSearchOrder
Description

An interface for specifying the ordering of search results.

MethodgetAnswerSearchOrderRecord
Description

Gets the answer search order record corresponding to the given answer record Type. Multiple retrievals return the same underlying object.

Parametersosid.type.TypeanswerRecordTypean answer record type
Returnosid.assessment.records.AnswerSearchOrderRecordthe answer search order record
ErrorsNULL_ARGUMENT answerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(answerRecordType) is false
CompliancemandatoryThis method must be implemented.