def clear_license(self):
if (self.get_license_metadata().is_read_only() or<EOL>self.get_license_metadata().is_required()):<EOL><INDENT>raise NoAccess()<EOL><DEDENT>self.my_osid_object_form._my_map['<STR_LIT>'] = dict(self._license_default)<EOL>
Removes the license.

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