OSID Logo
OSID Specifications
course chronicle package
Version 3.1.0
Interfaceosid.course.chronicle.AwardEntry
Implementsosid.OsidRelationship
Used Byosid.course.chronicle.AwardEntryAdminSession
osid.course.chronicle.AwardEntryList
osid.course.chronicle.AwardEntryLookupSession
Description

An AwardEntry represents an academic record entry for a recognition.

MethodgetStudentId
Description

Gets the Id of the Student.

Returnosid.id.Id the student Id
Compliancemandatory This method must be implemented.
MethodgetStudent
Description

Gets the Student.

Returnosid.resource.Resource the student
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetAwardId
Description

Gets the Id of the Award.

Returnosid.id.Id the award Id
Compliancemandatory This method must be implemented.
MethodgetAward
Description

Gets the Award.

Returnosid.recognition.Award the award
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetDateAwarded
Description

Gets the award date.

Returnosid.calendaring.DateTime the date awarded
Compliancemandatory This method must be implemented.
MethodhasProgram
Description

Tests if this award applies to a specific program. If hasProgram() is true, hasCourse() and hasAssessment() must be false.

Returnboolean true if a program is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetProgramId
Description

Gets the Id of the Program.

Returnosid.id.Id the program Id
ErrorsILLEGAL_STATE hasProgram() is false
Compliancemandatory This method must be implemented.
MethodgetProgram
Description

Gets the Program.

Returnosid.course.program.Program the program
ErrorsILLEGAL_STATE hasProgram() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodhasCourse
Description

Tests if this award applies to a specific course. If hasCourse() is true, hasProgram() and hasAssessment() must be false.

Returnboolean true if a course is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCourseId
Description

Gets the Id of the Course.

Returnosid.id.Id the course Id
ErrorsILLEGAL_STATE hasCourse() is false
Compliancemandatory This method must be implemented.
MethodgetCourse
Description

Gets the Course.

Returnosid.course.Course the course
ErrorsILLEGAL_STATE hasCourse() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodhasAssessment
Description

Tests if this award applies to a specific assessment. If hasAssessment() is true, hasCourse() and hasProgram() must be false.

Returnboolean true if an assessment is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAssessmentId
Description

Gets the Id of the Assessment.

Returnosid.id.Id the assessment Id
ErrorsILLEGAL_STATE hasAssessment() is false
Compliancemandatory This method must be implemented.
MethodgetAssessment
Description

Gets the Assessment.

Returnosid.assessment.Assessment the assessment
ErrorsILLEGAL_STATE hasAssessment() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetAwardEntryRecord
Description

Gets the award entry record corresponding to the given AwardEntry record Type. This method is used to retrieve an object implementing the requested record. The awardEntryRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(awardEntryRecordType) is true.

Parametersosid.type.TypeawardEntryRecordType the type of award entry record to retrieve
Returnosid.course.chronicle.records.AwardEntryRecord the award entry record
ErrorsNULL_ARGUMENT awardEntryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(awardEntryRecordType) is false
Compliancemandatory This method must be implemented.