| Interface | osid.course.registration.Registration | ||
|---|---|---|---|
| Implements | osid.OsidRelationship | ||
| Description | 
                 A   | ||
| Method | getActivityBundleId | ||
| Description | 
                     Gets the activity bundle   | ||
| Return | osid.id.Id | the activity bundle  Id   | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getActivityBundle | ||
| Description | 
                     Gets the activity bundle associated with this registration.  | ||
| Return | osid.course.registration.ActivityBundle | the activity bundle | |
| 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 | definesCredits | ||
| Description | 
                     Tests if this registration defines credits to be earned.  | ||
| Return | boolean |  true  if this registration has credits,  false  
otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCredits | ||
| 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.  | ||
| Return | decimal[] | the number of credits | |
| Errors | ILLEGAL_STATE |  definesCredits()  is  false   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | isGraded | ||
| Description | 
                     Tests if this registration includes a specific grading option.  | ||
| Return | boolean |  true  if this course is graded,  false  
otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getGradingOptionId | ||
| Description | 
                     Gets the grading option   | ||
| Return | osid.id.Id | the grading option  Id   | |
| Errors | ILLEGAL_STATE |  isGraded()  is  false   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | getGradingOption | ||
| Description | 
                     Gets the grading option for this registration.  | ||
| Return | osid.grading.GradeSystem | a grading system | |
| Errors | ILLEGAL_STATE |  isGraded()  is  false   |                 |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRegistrationRecord | ||
| Description | 
                     Gets the registration record corresponding to the given 
                      | ||
| Parameters | osid.type.Type | registrationRecordType | the type of registration record to retrieve | 
| Return | osid.course.registration.records.RegistrationRecord | the registration record | |
| Errors | NULL_ARGUMENT |  registrationRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED |  hasRecordType(registrationRecordType)  is  false 
  |                 ||
| Compliance | mandatory | This method must be implemented. | |