| Interface | osid.resource.ResourceRelationship | ||
|---|---|---|---|
| Implements | osid.OsidRelationship | ||
| Description | 
                 
  | ||
| Method | getSourceResourceId | ||
| Description | 
                     Gets the source resource   | ||
| Return | osid.id.Id | a resource  Id   | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getSourceResource | ||
| Description | 
                     Gets the   | ||
| Return | osid.resource.Resource | the source resource | |
| Errors | OPERATION_FAILED | unable to complete request | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDestinationResourceId | ||
| Description | 
                     Gets the destination resource   | ||
| Return | osid.id.Id | a resource  Id   | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDestinationResource | ||
| Description | 
                     Gets the   | ||
| Return | osid.resource.Resource | the destination resource | |
| Errors | OPERATION_FAILED | unable to complete request | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getResourceRelationshipRecord | ||
| Description | 
                     Gets the resource relationship record corresponding to 
                    the given   | ||
| Parameters | osid.type.Type | resourceRelationshipRecordType | the type of the record to retrieve | 
| Return | osid.resource.records.ResourceRelationshipRecord | the resource relationship record | |
| Errors | NULL_ARGUMENT |  resourceRelationshipRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED |  hasRecordType(resourceRelationshipRecordType)  is  
false   |                 ||
| Compliance | mandatory | This method must be implemented. | |