@utilities.arguments_not_none<EOL><INDENT>def match_resource_id(self, resource_id, match):<DEDENT>
if not isinstance(resource_id, Id):<EOL><INDENT>raise errors.InvalidArgument()<EOL><DEDENT>self._add_match('<STR_LIT>', str(resource_id), match)<EOL>
Sets the resource ``Id`` for this query.

        arg:    resource_id (osid.id.Id): a resource ``Id``
        arg:    match (boolean): ``true`` if a positive match, ``false``
                for a negative match
        raise:  NullArgument - ``resource_id`` is ``null``
        *compliance: mandatory -- This method must be implemented.*