OSID Logo
OSID Specifications
course registration package
Version 3.1.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.Id the course registration Id
Compliancemandatory This method must be implemented.
MethodgetCourseRegistration
Description

Gets the course registration associated with this registration.

Returnosid.course.registration.CourseRegistration the course registration
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetRegistrationTargetId
Description

Gets the registration target Id associated with this registration.

Returnosid.id.Id the registration target Id
Compliancemandatory This method must be implemented.
MethodgetRegistrationTarget
Description

Gets the registration target associated with this registration.

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

Tests if this registration defines credits to be earned.

Returnboolean true if this registration has credits, false otherwise
Compliancemandatory This 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_STATE definesCredits() is false
Compliancemandatory This method must be implemented.
MethodisGraded
Description

Tests if this registration includes a specific grading option.

Returnboolean true if this course is graded, false otherwise
Compliancemandatory This method must be implemented.
MethodgetGradingOptionId
Description

Gets the grading option Id for this registration.

Returnosid.id.Id the grading option Id
ErrorsILLEGAL_STATE isGraded() is false
Compliancemandatory This method must be implemented.
MethodgetGradingOption
Description

Gets the grading option for this registration.

Returnosid.grading.GradeSystem a grading system
ErrorsILLEGAL_STATE isGraded() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This 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.TyperegistrationRecordType the type of registration record to retrieve
Returnosid.course.registration.records.RegistrationRecord the registration record
ErrorsNULL_ARGUMENT registrationRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(registrationRecordType) is false
Compliancemandatory This method must be implemented.