OSID Logo
OSID Specifications
course registration package
Version 3.0.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.Idthe course offering Id
CompliancemandatoryThis method must be implemented.
MethodgetCourseOffering
Description

Gets the course offering associated with this registration.

Returnosid.course.CourseOfferingthe course offering
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetStudentId
Description

Gets the Id of the student Resource .

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

Gets the student Resource .

Returnosid.resource.Resourcethe student
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis 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.TypecourseRegistrationRecordTypethe type of course registration record to retrieve
Returnosid.course.registration.records.CourseRegistrationRecordthe course registration record
ErrorsNULL_ARGUMENTcourseRegistrationRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(courseRegistrationRecordType) is false
CompliancemandatoryThis method must be implemented.