value: function findInRelationship(relationship) {
      var url = this.templatedUrl(relationship);
      return relationship.findIndex(function (resource) {
        return resource.pathGet("$.links.self") == url;
      });