OSID Logo
OSID Specifications
course registration package
Version 3.1.0
Interfaceosid.course.registration.ActivityRegistration
Implementsosid.OsidRelationship
osid.Subjugateable
Used Byosid.course.registration.ActivityRegistrationAdminSession
osid.course.registration.ActivityRegistrationList
osid.course.registration.ActivityRegistrationLookupSession
Description

An ActivityRegistration is an OsidRelationship between a student and an Activity for a CourseRegistration.

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.
MethodgetActivityId
Description

Gets the activity Id associated with this registration.

Returnosid.id.Id the activity Id
Compliancemandatory This method must be implemented.
MethodgetActivity
Description

Gets the activity associated with this registration.

Returnosid.course.Activity the activity
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.
MethodgetActivityRegistrationRecord
Description

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

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