Interface Question

All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject

public interface Question extends OsidObject

A Question represents the question portion of an assessment item. Like all OSID objects, a Question is identified by its Id and any persisted references should use the Id .

  • Method Details

    • getQuestionRecord

      QuestionRecord getQuestionRecord(Type questionRecordType) throws OperationFailedException
      Gets the item record corresponding to the given Question record Type .This method is used to retrieve an object implementing the requested record. The questionRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(questionRecordType) is true .
      Parameters:
      questionRecordType - the type of the record to retrieve
      Returns:
      the question record
      Throws:
      NullArgumentException - questionRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(questionRecordType) is false
      Compliance:
      mandatory - This method must be implemented.