| Interface | osid.course.registration.ActivityRegistration | ||
|---|---|---|---|
| Implements | osid.OsidRelationship | ||
| Description | 
                 An   | ||
| Method | getRegistrationId | ||
| Description | 
                     Gets the registration   | ||
| Return | osid.id.Id | the registration  Id   | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRegistration | ||
| Description | 
                     Gets the registration associated with this registration.  | ||
| Return | osid.course.registration.Registration | the registration | |
| Errors | OPERATION_FAILED | unable to complete request | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getActivityId | ||
| Description | 
                     Gets the activity   | ||
| Return | osid.id.Id | the activity  Id   | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getActivity | ||
| Description | 
                     Gets the activity associated with this registration.  | ||
| Return | osid.course.Activity | the activity | |
| Errors | OPERATION_FAILED | unable to complete request | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getStudentId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Student   Id   | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getStudent | ||
| Description | 
                     Gets the student   | ||
| Return | osid.resource.Resource | the student | |
| Errors | OPERATION_FAILED | unable to complete request | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getActivityRegistrationRecord | ||
| Description | 
                     Gets the activity registration record corresponding to 
                    the given   | ||
| Parameters | osid.type.Type | activityRegistrationRecordType | the type of activity registration record to retrieve | 
| Return | osid.course.registration.records.ActivityRegistrationRecord | the activity registration record | |
| Errors | NULL_ARGUMENT |  activityRegistrationRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED |  hasRecordType(activityRegistrationRecordType)  is  
false   |                 ||
| Compliance | mandatory | This method must be implemented. | |