getByIdOrHref

First tries to find a resource with as id the given idOrHref, if that fails it tries to find one with the idOrHref as href.

Return

the found Resource

Parameters

idOrHref