public interface AssessmentTaken extends OsidObject
Represents a taken assessment or an assessment in progress.
| Modifier and Type | Method and Description |
|---|---|
DateTime |
getActualStartTime()
Gets the time this assessment was started.
|
AssessmentOffered |
getAssessmentOffered()
Gets the
AssessmentOffered. |
Id |
getAssessmentOfferedId()
Gets the
Id of the AssessmentOffered. |
AssessmentTakenRecord |
getAssessmentTakenRecord(Type assessmentTakenRecordType)
Gets the assessment taken record corresponding to the given
AssessmentTaken record Type. |
long |
getCompletion()
Gets a completion percentage of the assessment.
|
DateTime |
getCompletionTime()
Gets the time of this assessment was completed.
|
DisplayText |
getFeedback()
Gets any overall comments available for this assessment by the grader.
|
Grade |
getGrade()
Gets a grade for the assessment.
|
Id |
getGradeId()
Gets a grade
Id for the assessment. |
AssessmentTaken |
getRubric()
Gets the rubric.
|
Id |
getRubricId()
Gets the
Id of the rubric. |
java.math.BigDecimal |
getScore()
Gets a score for the assessment.
|
GradeSystem |
getScoreSystem()
Gets a grade system for the score.
|
Id |
getScoreSystemId()
Gets a score system
Id for the assessment. |
Resource |
getTaker()
Gets the
Resource taking this assessment. |
Id |
getTakerId()
Gets the
Id of the resource who took or is taking this
assessment. |
Agent |
getTakingAgent()
Gets the
Agent. |
Id |
getTakingAgentId()
Gets the
Id of the Agent who took or is
taking the assessment. |
Duration |
getTimeSpent()
Gets the total time spent taking this assessment.
|
boolean |
hasEnded()
Tests if this assessment has ended.
|
boolean |
hasRubric()
Tests if a rubric assessment is associated with this assessment.
|
boolean |
hasStarted()
Tests if this assessment has begun.
|
boolean |
isGraded()
Tests if a grade is available for this assessment.
|
boolean |
isScored()
Tests if a score is available for this assessment.
|
getDescription, getDisplayName, getGenusType, isOfGenusTypegetId, isCurrentgetRecordTypes, hasRecordTypegetProperties, getPropertiesByRecordTypeId getAssessmentOfferedId()
Id of the AssessmentOffered. Id mandatory - This method must be implemented. AssessmentOffered getAssessmentOffered() throws OperationFailedException
AssessmentOffered. OperationFailedException - unable to complete requestmandatory - This method must be implemented. Id getTakerId()
Id of the resource who took or is taking this
assessment. Id mandatory - This method must be implemented. Resource getTaker() throws OperationFailedException
Resource taking this assessment.OperationFailedException - unable to complete requestmandatory - This method must be implemented. Id getTakingAgentId()
Id of the Agent who took or is
taking the assessment. Id mandatory - This method must be implemented. Agent getTakingAgent() throws OperationFailedException
Agent. OperationFailedException - unable to complete requestmandatory - This method must be implemented. boolean hasStarted()
true if the assessment has begun, false
otherwisemandatory - This method must be implemented. DateTime getActualStartTime()
IllegalStateException - hasStarted() is
false mandatory - This method must be implemented. boolean hasEnded()
true if the assessment has ended, false
otherwisemandatory - This method must be implemented. DateTime getCompletionTime()
IllegalStateException - hasEnded() is
false mandatory - This method must be implemented. Duration getTimeSpent()
mandatory - This method must be implemented. long getCompletion()
mandatory - This method must be implemented. boolean isScored()
true if a score is available, false
otherwisemandatory - This method must be implemented. Id getScoreSystemId()
Id for the assessment.IllegalStateException - isScore() is
false mandatory - This method must be implemented. GradeSystem getScoreSystem() throws OperationFailedException
IllegalStateException - isScored() is
false OperationFailedException - unable to complete requestmandatory - This method must be implemented. java.math.BigDecimal getScore()
IllegalStateException - isScored() is
false mandatory - This method must be implemented. boolean isGraded()
true if a grade is available, false
otherwisemandatory - This method must be implemented. Id getGradeId()
Id for the assessment.IllegalStateException - isGraded() is
false mandatory - This method must be implemented. Grade getGrade() throws OperationFailedException
IllegalStateException - isGraded() is
false OperationFailedException - unable to complete requestmandatory - This method must be implemented. DisplayText getFeedback()
mandatory - 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. AssessmentTaken getRubric() throws OperationFailedException
IllegalStateException - hasRubric() is
false OperationFailedException - unable to complete requestmandatory - This method must be implemented. AssessmentTakenRecord getAssessmentTakenRecord(Type assessmentTakenRecordType) throws OperationFailedException
AssessmentTaken record Type. This method is
used to retrieve an object implementing the requested record. The
assessmentTakenRecordType may be the Type
returned in getRecordTypes() or any of its
parents in a Type hierarchy where
hasRecordType(assessmentTakenRecordType) is true
.assessmentTakenRecordType - an assessment taken record typeNullArgumentException -
assessmentTakenRecordType is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(assessmentTakenRecordType) is
false mandatory - This method must be implemented.