OSID Logo
OSID Specifications
course chronicle package
Version 3.0.0
Release Candidate Preview
Interfaceosid.course.chronicle.ProgramEntry
Implementsosid.OsidRelationship
Description

A ProgramEntry represents an academic record entry for a Program. The fields in the ProgramEntry may be for the entire enrollment through the academic career or specific to an academic Term.

A ProgramEntry is also an OsidRelationship between the student and Program. The effectiveness of the OsidRelationship describes the effectiveness of the academic record entry itself, not the student's enrollment in the Program. A ProgramEntry may be superseded with a manual update or forced entry and the temporal nature of the relationship provides a history of changes to the academic record.

MethodgetStudentId
Description

Gets the Id of the Student.

Returnosid.id.Idthe student Id
CompliancemandatoryThis method must be implemented.
MethodgetStudent
Description

Gets the Student.

Returnosid.resource.Resourcethe student
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetProgramId
Description

Gets the Id of the Program.

Returnosid.id.Idthe program Id
CompliancemandatoryThis method must be implemented.
MethodgetProgram
Description

Gets the Program.

Returnosid.course.program.Programthe program
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetAdmissionDate
Description

Gets the date in which the student was admitted.

Returnosid.calendaring.DateTimethe admission date
CompliancemandatoryThis method must be implemented.
MethodisComplete
Description

Tests if the program has been completed. If this entry is for summary information an a past term, isComplete() may be true.

Returnboolean true if the program has been completed, false otherwise
CompliancemandatoryThis method must be implemented.
MethodisForTerm
Description

Tests if this entry is a progression entry applying to a single term. A program entry may provide summary information for the entire duration or for a single term. If isForTerm() is false, this entry applies to the entire enrollement period.

Returnboolean true if the program has a term, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetTermId
Description

Gets the Id of the Term.

Returnosid.id.Idthe term Id
ErrorsILLEGAL_STATE isForTerm() is false
CompliancemandatoryThis method must be implemented.
MethodgetTerm
Description

Gets the Term.

Returnosid.course.Termthe term
ErrorsILLEGAL_STATE isForTerm() is false
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetCreditScaleId
Description

Gets the Id of the GradeSystem.

Returnosid.id.Idthe grade system Id
CompliancemandatoryThis method must be implemented.
MethodgetCreditScale
Description

Gets the GradeSystem.

Returnosid.grading.GradeSystemthe grade system
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetCreditsEarned
Description

Gets the number of credits earned in this program or earned within the included term.

Returndecimalthe credits earned
CompliancemandatoryThis method must be implemented.
MethodhasGPA
Description

Tests if a cumulative GPA in this program of the GPA for the included term.

Returnboolean true if a GPA is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetGPAScaleId
Description

Gets the Id of the GradeSystem.

Returnosid.id.Idthe grade system Id
ErrorsILLEGAL_STATE hasGPA() is false
CompliancemandatoryThis method must be implemented.
MethodgetGPAScale
Description

Gets the GradeSystem.

Returnosid.grading.GradeSystemthe grade system
ErrorsILLEGAL_STATE hasGPA() is false
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetGPA
Description

Gets the cumulative GPA in this porgram or within the included term.

Returndecimalthe GPA
ErrorsILLEGAL_STATE hasGPA() is false
CompliancemandatoryThis method must be implemented.
MethodhasEnrollments
Description

Tests if Enrollments are available.

Returnboolean true if enrollments are available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetEnrollmentIds
Description

Gets the Ids of the Enrollments.

Returnosid.id.IdListthe enrollment Ids
ErrorsILLEGAL_STATE hasEnrollments() is false
CompliancemandatoryThis method must be implemented.
MethodgetEnrollments
Description

Gets the Enrollments.

Returnosid.course.program.EnrollmentListthe enrollments
ErrorsILLEGAL_STATE hasEnrollments() is false
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetProgramEntryRecord
Description

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

Parametersosid.type.TypeprogramEntryRecordTypethe type of program entry record to retrieve
Returnosid.course.chronicle.records.ProgramEntryRecordthe program entry record
ErrorsNULL_ARGUMENT programEntryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(programEntryRecordType) is false
CompliancemandatoryThis method must be implemented.