@utilities.arguments_not_none<EOL><INDENT>def set_license(self, license_):<DEDENT>
self._my_map['<STR_LIT>'] = self._get_display_text(license_, self.get_license_metadata())<EOL>
Sets the license.

        arg:    license (string): the new license
        raise:  InvalidArgument - ``license`` is invalid
        raise:  NoAccess - ``Metadata.isReadOnly()`` is ``true``
        raise:  NullArgument - ``license`` is ``null``
        *compliance: mandatory -- This method must be implemented.*