| Interface | osid.course.program.Enrollment | ||
|---|---|---|---|
| Implements | osid.OsidRelationship | ||
| Description | 
                 An   | ||
| Method | getProgramOfferingId | ||
| Description | 
                     Gets the program offering   | ||
| Return | osid.id.Id | the program offering  Id   | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProgramOffering | ||
| Description | 
                     Gets the program offering associated with this registration.  | ||
| Return | osid.course.program.ProgramOffering | the program offering | |
| Errors | OPERATION_FAILED | unable to complete request | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getStudentId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Resource   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 | getEnrollmentRecord | ||
| Description | 
                     Gets the enrollment record corresponding to the given 
                      | ||
| Parameters | osid.type.Type | enrollmentRecordType | the type of enrollment record to retrieve | 
| Return | osid.course.program.records.EnrollmentRecord | the enrollment record | |
| Errors | NULL_ARGUMENT |  enrollmentRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED |  hasRecordType(enrollmentRecordType)  is  false   |                 ||
| Compliance | mandatory | This method must be implemented. | |