def get_relationships(self):
if self.retrieved:<EOL><INDENT>raise errors.IllegalState('<STR_LIT>')<EOL><DEDENT>self.retrieved = True<EOL>return objects.RelationshipList(self._results, runtime=self._runtime)<EOL>
Gets the relationship list resulting from a search.

        return: (osid.relationship.RelationshipList) - the relationship
                list
        raise:  IllegalState - list already retrieved
        *compliance: mandatory -- This method must be implemented.*