public interface AssessmentEntry extends OsidRelationship
An AssessmentEntry
represents an academic record entry
for an assessment. It is intended to record standardized tests and other
major assessments associated with an academic record. Quizzes within a
course are tracked in the Grading OSID.
Modifier and Type | Method and Description |
---|---|
Assessment |
getAssessment()
Gets the
Assessment. |
AssessmentEntryRecord |
getAssessmentEntryRecord(Type assessmentEntryRecordType)
Gets the assessment entry record corresponding to the given
AssessmentEntry record Type. |
Id |
getAssessmentId()
Gets the
Id of the Assessment. |
Course |
getCourse()
Gets the
Course. |
Id |
getCourseId()
Gets the
Id of the Course. |
DateTime |
getDateCompleted()
Gets the completion date.
|
Grade |
getGrade()
Gets the
Grade. |
Id |
getGradeId()
Gets the
Id of the Grade. |
Program |
getProgram()
Gets the
Program. |
Id |
getProgramId()
Gets the
Id of the Program. |
java.math.BigDecimal |
getScore()
Gets the cumulative score.
|
GradeSystem |
getScoreScale()
Gets the
GradeSystem. |
Id |
getScoreScaleId()
Gets the
Id of the GradeSystem. |
Resource |
getStudent()
Gets the
Student. |
Id |
getStudentId()
Gets the
Id of the Student. |
boolean |
hasCourse()
Tests if this assessment applies to a specific course.
|
boolean |
hasGrade()
Tests if a grade is available.
|
boolean |
hasProgram()
Tests if this assessment applies to a program.
|
boolean |
hasScore()
Tests if a score is available.
|
getEndReason, getEndReasonId, hasEndReason
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
getEndDate, getStartDate, isEffective
Id getStudentId()
Id
of the Student.
Id
mandatory
- This method must be implemented. Resource getStudent() throws OperationFailedException
Student.
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Id getAssessmentId()
Id
of the Assessment.
Id
mandatory
- This method must be implemented. Assessment getAssessment() throws OperationFailedException
Assessment.
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. DateTime getDateCompleted()
mandatory
- This method must be implemented. boolean hasProgram()
hasCourse()
is true
then hasProgram()
must
be false.
true
if a program is available, false
otherwisemandatory
- This method must be implemented. Id getProgramId()
Id
of the Program.
Id
IllegalStateException
- hasProgram()
is
false
mandatory
- This method must be implemented. Program getProgram() throws OperationFailedException
Program.
IllegalStateException
- hasProgram()
is
false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. boolean hasCourse()
hasCourse()
is true
then hasProgram()
must be false.
true
if a course is available, false
otherwisemandatory
- This method must be implemented. Id getCourseId()
Id
of the Course.
Id
IllegalStateException
- hasCourse()
is
false
mandatory
- This method must be implemented. Course getCourse() throws OperationFailedException
Course.
IllegalStateException
- hasCourse()
is
false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. boolean hasGrade()
true
if a grade is available, false
otherwisemandatory
- This method must be implemented. Id getGradeId()
Id
of the Grade.
Id
IllegalStateException
- hasGrade()
is
false
mandatory
- This method must be implemented. Grade getGrade() throws OperationFailedException
Grade.
IllegalStateException
- hasGrade()
is
false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. boolean hasScore()
true
if a score is available, false
otherwisemandatory
- This method must be implemented. Id getScoreScaleId()
Id
of the GradeSystem.
Id
IllegalStateException
- hasScore()
is
false
mandatory
- This method must be implemented. GradeSystem getScoreScale() throws OperationFailedException
GradeSystem.
IllegalStateException
- hasScore()
is
false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. java.math.BigDecimal getScore()
IllegalStateException
- hasScore()
is
false
mandatory
- This method must be implemented. AssessmentEntryRecord getAssessmentEntryRecord(Type assessmentEntryRecordType) throws OperationFailedException
AssessmentEntry
record Type.
This method is
used to retrieve an object implementing the requested record. The
assessmentEntryRecordType
may be the Type
returned in getRecordTypes()
or any of its
parents in a Type
hierarchy where
hasRecordType(assessmentEntryRecordType)
is true
.assessmentEntryRecordType
- the type of assessment entry record
to retrieveNullArgumentException
-
assessmentEntryRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(assessmentEntryRecordType)
is
false
mandatory
- This method must be implemented.