@utilities.arguments_not_none<EOL><INDENT>def delete_objective(self, objective_id):<DEDENT>
<EOL>if not isinstance(objective_id, ABCId):<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT>collection = JSONClientValidated('<STR_LIT>',<EOL>collection='<STR_LIT>',<EOL>runtime=self._runtime)<EOL>if collection.find({'<STR_LIT>': str(objective_id)}).count() != <NUM_LIT:0>:<EOL><INDENT>raise errors.IllegalState('<STR_LIT>')<EOL><DEDENT>collection = JSONClientValidated('<STR_LIT>',<EOL>collection='<STR_LIT>',<EOL>runtime=self._runtime)<EOL>collection.delete_one({'<STR_LIT>': ObjectId(objective_id.get_identifier())})<EOL>
Deletes the ``Objective`` identified by the given ``Id``.

        arg:    objective_id (osid.id.Id): the ``Id`` of the
                ``Objective`` to delete
        raise:  NotFound - an ``Objective`` was not found identified by
                the given ``Id``
        raise:  NullArgument - ``objective_id`` is ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        *compliance: mandatory -- This method must be implemented.*