def clear_data(self):
if (self.get_data_metadata().is_read_only() or<EOL>self.get_data_metadata().is_required()):<EOL><INDENT>raise errors.NoAccess()<EOL><DEDENT>if self._my_map['<STR_LIT:data>'] == self._data_default:<EOL><INDENT>return<EOL><DEDENT>dbase = JSONClientValidated('<STR_LIT>',<EOL>runtime=self._runtime).raw()<EOL>filesys = gridfs.GridFS(dbase)<EOL>filesys.delete(self._my_map['<STR_LIT:data>'])<EOL>self._my_map['<STR_LIT:data>'] = self._data_default<EOL>del self._my_map['<STR_LIT>']<EOL>
Removes the content data.

        raise:  NoAccess - ``Metadata.isRequired()`` is ``true`` or
                ``Metadata.isReadOnly()`` is ``true``
        *compliance: mandatory -- This method must be implemented.*