def set_title(self, title=None):
if title is None:<EOL><INDENT>raise NullArgument()<EOL><DEDENT>metadata = Metadata(**settings.METADATA['<STR_LIT:title>'])<EOL>if metadata.is_read_only():<EOL><INDENT>raise NoAccess()<EOL><DEDENT>if self._is_valid_input(title, metadata, array=False):<EOL><INDENT>self._my_map['<STR_LIT:title>']['<STR_LIT:text>'] = title<EOL><DEDENT>else:<EOL><INDENT>raise InvalidArgument()<EOL><DEDENT>
Sets the title.

        :param title: the new title
        :type title: ``string``
        :raise: ``InvalidArgument`` -- ``title`` is invalid
        :raise: ``NoAccess`` -- ``Metadata.isReadOnly()`` is ``true``
        :raise: ``NullArgument`` -- ``title`` is ``null``

        *compliance: mandatory -- This method must be implemented.*