Interface Assessment

All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject

public interface Assessment extends OsidObject

An Assessment represents a sequence of assessment items. Like all OSID objects, an Assessment is identified by its Id and any persisted references should use the Id .

An Assessment may have an accompanying rubric used for assessing performance. The rubric assessment is established canonically in this Assessment .

  • Method Details

    • getLevelId

      Id getLevelId()
      Gets the Id of a Grade corresponding to the assessment difficulty.
      Returns:
      a grade Id
      Compliance:
      mandatory - This method must be implemented.
    • getLevel

      Grade getLevel() throws OperationFailedException
      Gets the Grade corresponding to the assessment difficulty.
      Returns:
      the level
      Throws:
      OperationFailedException - unable to complete request
      Compliance:
      mandatory - This method must be implemented.
    • hasRubric

      boolean hasRubric()
      Tests if a rubric assessment is associated with this assessment.
      Returns:
      true if a rubric is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRubricId

      Id getRubricId()
      Gets the Id of the rubric.
      Returns:
      an assessment Id
      Throws:
      IllegalStateException - hasRubric() is false
      Compliance:
      mandatory - This method must be implemented.
    • getRubric

      Gets the rubric.
      Returns:
      the assessment
      Throws:
      IllegalStateException - hasRubric() is false
      OperationFailedException - unable to complete request
      Compliance:
      mandatory - This method must be implemented.
    • getAssessmentRecord

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