OSID Logo
OSID Specifications
course program package
Version 3.1.0
Interfaceosid.course.program.Enrollment
Implementsosid.OsidRelationship
Used Byosid.course.program.Enrollment
osid.course.program.EnrollmentAdminSession
osid.course.program.EnrollmentList
osid.course.program.EnrollmentLookupSession
Description

An Enrollment is an OsidRelationship between a student and a ProgramOffering.

MethodgetProgramOfferingId
Description

Gets the program offering Id associated with this registration.

Returnosid.id.Id the program offering Id
Compliancemandatory This method must be implemented.
MethodgetProgramOffering
Description

Gets the program offering associated with this registration.

Returnosid.course.program.ProgramOffering the program offering
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetStudentId
Description

Gets the Id of the student Resource.

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

Gets the student Resource.

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

Tests if this enrollment is part of another enrollment.

Returnboolean true if this enrollment has a parent, false otherwise
Compliancemandatory This method must be implemented.
MethodgetParentEnrollmentId
Description

Gets the Id for the parent enrollment.

Returnosid.id.Id the parent enrollment Id
ErrorsILLEGAL_STATE isPartOf() is false
Compliancemandatory This method must be implemented.
MethodgetParentEnrollment
Description

Gets the parent enrollment.

Returnosid.course.program.Enrollment the parent enrollment
ErrorsILLEGAL_STATE isPartOf() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetEnrollmentRecord
Description

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

Parametersosid.type.TypeenrollmentRecordType the type of enrollment record to retrieve
Returnosid.course.program.records.EnrollmentRecord the enrollment record
ErrorsNULL_ARGUMENT enrollmentRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(enrollmentRecordType) is false
Compliancemandatory This method must be implemented.