Interface AwardEntry
- All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject, OsidRelationship, Temporal
An AwardEntry represents an academic record entry for a
recognition.
-
Method Summary
Modifier and TypeMethodDescriptionGets theAssessment.Gets theIdof theAssessment.getAward()Gets theAward.getAwardEntryRecord(Type awardEntryRecordType) Gets the award entry record corresponding to the givenAwardEntryrecordType.Gets theIdof theAward.Gets theCourse.Gets theIdof theCourse.Gets the award date.Gets theProgram.Gets theIdof theProgram.Gets theStudent.Gets theIdof theStudent.booleanTests if this award applies to a specific assessment.booleanTests if this award applies to a specific course.booleanTests if this award applies to a specific program.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.Methods inherited from interface OsidRelationship
getEndReason, getEndReasonId, hasEndReasonModifier and TypeMethodDescriptionGets a state indicating why this relationship has ended.Gets a stateIdindicating why this relationship has ended.booleanTests if a reason this relationship came to an end is known.Methods inherited from interface Temporal
getEndDate, getStartDate, isEffectiveModifier and TypeMethodDescriptionGets the end date.Gets the start date.booleanTests if the current date is within the start end end dates inclusive.
-
Method Details
-
getStudentId
Id getStudentId()Gets theIdof theStudent.- Returns:
- the student
Id - Compliance:
mandatory- This method must be implemented.
-
getStudent
Gets theStudent.- Returns:
- the student
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getAwardId
Id getAwardId()Gets theIdof theAward.- Returns:
- the award
Id - Compliance:
mandatory- This method must be implemented.
-
getAward
Gets theAward.- Returns:
- the award
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getDateAwarded
DateTime getDateAwarded()Gets the award date.- Returns:
- the date awarded
- Compliance:
mandatory- This method must be implemented.
-
hasProgram
boolean hasProgram()Tests if this award applies to a specific program. IfhasProgram()istrue,hasCourse()andhasAssessment()must be false.- Returns:
trueif a program is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getProgramId
Id getProgramId()Gets theIdof theProgram.- Returns:
- the program
Id - Throws:
IllegalStateException-hasProgram()isfalse- Compliance:
mandatory- This method must be implemented.
-
getProgram
Gets theProgram.- Returns:
- the program
- Throws:
IllegalStateException-hasProgram()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
hasCourse
boolean hasCourse()Tests if this award applies to a specific course. IfhasCourse()istrue,hasProgram()andhasAssessment()must befalse.- Returns:
trueif a course is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCourseId
Id getCourseId()Gets theIdof theCourse.- Returns:
- the course
Id - Throws:
IllegalStateException-hasCourse()isfalse- Compliance:
mandatory- This method must be implemented.
-
getCourse
Gets theCourse.- Returns:
- the course
- Throws:
IllegalStateException-hasCourse()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
hasAssessment
boolean hasAssessment()Tests if this award applies to a specific assessment. IfhasAssessment()istrue,hasCourse()andhasProgram()must befalse.- Returns:
trueif an assessment is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAssessmentId
Id getAssessmentId()Gets theIdof theAssessment.- Returns:
- the assessment
Id - Throws:
IllegalStateException-hasAssessment()isfalse- Compliance:
mandatory- This method must be implemented.
-
getAssessment
Gets theAssessment.- Returns:
- the assessment
- Throws:
IllegalStateException-hasAssessment()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getAwardEntryRecord
Gets the award entry record corresponding to the givenAwardEntryrecordType. This method is used to retrieve an object implementing the requested record. TheawardEntryRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(awardEntryRecordType)istrue.- Parameters:
awardEntryRecordType- the type of award entry record to retrieve- Returns:
- the award entry record
- Throws:
NullArgumentException-awardEntryRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(awardEntryRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-