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.
Modifier and Type | Method and Description |
---|---|
AssessmentRecord |
getAssessmentRecord(Type assessmentRecordType)
Gets the assessment record corresponding to the given
Assessment record Type. |
Grade |
getLevel()
Gets the
Grade corresponding to the assessment
difficulty. |
Id |
getLevelId()
Gets the
Id of a Grade corresponding to
the assessment difficulty. |
Assessment |
getRubric()
Gets the rubric.
|
Id |
getRubricId()
Gets the
Id of the rubric. |
boolean |
hasRubric()
Tests if a rubric assessment is associated with this assessment.
|
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
Id getLevelId()
Id
of a Grade
corresponding to
the assessment difficulty. Id
mandatory
- This method must be implemented. Grade getLevel() throws OperationFailedException
Grade
corresponding to the assessment
difficulty.OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. boolean hasRubric()
true
if a rubric is available, false
otherwisemandatory
- This method must be implemented. Id getRubricId()
Id
of the rubric. Id
IllegalStateException
- hasRubric()
is
false
mandatory
- This method must be implemented. Assessment getRubric() throws OperationFailedException
IllegalStateException
- hasRubric()
is
false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. AssessmentRecord getAssessmentRecord(Type assessmentRecordType) throws OperationFailedException
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
.assessmentRecordType
- the type of the record to retrieveNullArgumentException
- assessmentRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(assessmentRecordType)
is false
mandatory
- This method must be implemented.