OSID Logo
OSID Specifications
course registration package
Version 3.1.0
Interfaceosid.course.registration.CourseRegistration
Implementsosid.OsidRelationship
osid.Subjugateable
Used Byosid.course.registration.ActivityRegistration
osid.course.registration.CourseRegistrationAdminSession
osid.course.registration.CourseRegistrationList
osid.course.registration.CourseRegistrationLookupSession
osid.course.registration.Registration
Description

A CourseRegistration is an OsidRelationship between a student and a CourseOffering.

MethodgetCourseOfferingId
Description

Gets the course offering Id associated with this registration.

Returnosid.id.Id the course offering Id
Compliancemandatory This method must be implemented.
MethodgetCourseOffering
Description

Gets the course offering associated with this registration.

Returnosid.course.CourseOffering the course 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 Student 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.
MethodgetCourseRegistrationRecord
Description

Gets the course registration record corresponding to the given CourseRegistr ation record Type. This method ie used to retrieve an object implementing the requested record. The courseRegistrationRecor dType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(courseRegistrationRecordT ype) is true.

Parametersosid.type.TypecourseRegistrationRecordType the type of course registration record to retrieve
Returnosid.course.registration.records.CourseRegistrationRecord the course registration record
ErrorsNULL_ARGUMENT courseRegistrationRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(courseRegistrationRecordType) is false
Compliancemandatory This method must be implemented.