Interface | osid.relationship.Relationship | ||
---|---|---|---|
Implements | osid.OsidRelationship | ||
Description |
A | ||
Method | getSourceId | ||
Description |
Gets the from peer | ||
Return | osid.id.Id | the peer | |
Compliance | mandatory | This method must be implemented. | |
Method | getDestinationId | ||
Description |
Gets the to peer | ||
Return | osid.id.Id | the related peer | |
Compliance | mandatory | This method must be implemented. | |
Method | getRelationshipRecord | ||
Description |
Gets the relationshop record corresponding to the given
| ||
Parameters | osid.type.Type | relationshipRecordType | the type of relationship record to retrieve |
Return | osid.relationship.records.RelationshipRecord | the relationship record | |
Errors | NULL_ARGUMENT | relationshipRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure occurred | ||
UNSUPPORTED | hasRecordType(relationshipRecordType) is false
| ||
Compliance | mandatory | This method must be implemented. |