Interface Assessment
- All Superinterfaces:
Browsable, Extensible, Identifiable, 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 Summary
Modifier and TypeMethodDescriptiongetAssessmentRecord(Type assessmentRecordType) Gets the assessment record corresponding to the givenAssessmentrecordType.getLevel()Gets theGradecorresponding to the assessment difficulty.Gets theIdof aGradecorresponding to the assessment difficulty.Gets the rubric.Gets theIdof the rubric.booleanTests if a rubric assessment is associated with this assessment.Methods inherited from interface Browsable
getProperties, getPropertiesByRecordTypeModifier and TypeMethodDescriptionGets a list of properties.getPropertiesByRecordType(Type recordType) Gets a list of properties corresponding to the specified record type.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidObject
getDescription, getDisplayName, getGenusType, isOfGenusTypeModifier and TypeMethodDescriptionGets the description associated with this instance of this OSID object.Gets the preferred display name associated with this instance of this OSID object appropriate for display to the user.Gets the genus type of this object.booleanisOfGenusType(Type genusType) Tests if this object is of the given genusType.
-
Method Details
-
getLevelId
Id getLevelId()Gets theIdof aGradecorresponding to the assessment difficulty.- Returns:
- a grade
Id - Compliance:
mandatory- This method must be implemented.
-
getLevel
Gets theGradecorresponding 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:
trueif a rubric is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getRubricId
Id getRubricId()Gets theIdof the rubric.- Returns:
- an assessment
Id - Throws:
IllegalStateException-hasRubric()isfalse- Compliance:
mandatory- This method must be implemented.
-
getRubric
Gets the rubric.- Returns:
- the assessment
- Throws:
IllegalStateException-hasRubric()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getAssessmentRecord
Gets the assessment record corresponding to the givenAssessmentrecordType. This method is used to retrieve an object implementing the requested record. TheassessmentRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(assessmentRecordType)istrue.- Parameters:
assessmentRecordType- the type of the record to retrieve- Returns:
- the assessment record
- Throws:
NullArgumentException-assessmentRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(assessmentRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-