Interface AnswerQuery

All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidExtensibleQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidQuery, Suppliable

public interface AnswerQuery extends OsidObjectQuery

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

  • Method Details

    • getAnswerQueryRecord

      AnswerQueryRecord getAnswerQueryRecord(Type answerRecordType) throws OperationFailedException
      Gets the answer record query corresponding to the given Answer record Type .Multiple retrievals produce a nested OR term.
      Parameters:
      answerRecordType - an answer record type
      Returns:
      the answer query record
      Throws:
      NullArgumentException - answerRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(answerRecordType) is false
      Compliance:
      mandatory - This method must be implemented.