OSID Logo
OSID Specifications
course registration package
Version 3.0.0
Interfaceosid.course.registration.Registration
Implementsosid.OsidRelationship
Used Byosid.course.registration.RegistrationAdminSession
osid.course.registration.RegistrationList
osid.course.registration.RegistrationLookupSession
osid.course.registration.request.RegistrationRequestItem
osid.course.registration.request.RegistrationRequestItemSearchOrder
Description

A Registration is an OsidRelationship between a student and a CourseRegistration for a RegistrationTarget .

MethodgetCourseRegistrationId
Description

Gets the course registration Id associated with this registration.

Returnosid.id.Idthe course registration Id
CompliancemandatoryThis method must be implemented.
MethodgetCourseRegistration
Description

Gets the course registration associated with this registration.

Returnosid.course.registration.CourseRegistrationthe course registration
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetRegistrationTargetId
Description

Gets the registration target Id associated with this registration.

Returnosid.id.Idthe registration target Id
CompliancemandatoryThis method must be implemented.
MethodgetRegistrationTarget
Description

Gets the registration target associated with this registration.

Returnosid.course.registration.RegistrationTargetthe registration target
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.
MethoddefinesCredits
Description

Tests if this registration defines credits to be earned.

Returnbooleantrue if this registration has credits, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCredits
Description

Gets the number of credits the student is registered to earn. Multiple credit options indicates a set of credits to be determined at the completion of the course.

Returndecimal[]the number of credits
ErrorsILLEGAL_STATEdefinesCredits() is false
CompliancemandatoryThis method must be implemented.
MethodisGraded
Description

Tests if this registration includes a specific grading option.

Returnbooleantrue if this course is graded, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetGradingOptionId
Description

Gets the grading option Id for this registration.

Returnosid.id.Idthe grading option Id
ErrorsILLEGAL_STATEisGraded() is false
CompliancemandatoryThis method must be implemented.
MethodgetGradingOption
Description

Gets the grading option for this registration.

Returnosid.grading.GradeSystema grading system
ErrorsILLEGAL_STATEisGraded() is false
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetRegistrationRecord
Description

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

Parametersosid.type.TyperegistrationRecordTypethe type of registration record to retrieve
Returnosid.course.registration.records.RegistrationRecordthe registration record
ErrorsNULL_ARGUMENTregistrationRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(registrationRecordType) is false
CompliancemandatoryThis method must be implemented.