def set_published(self, value=None):
if value is None:<EOL><INDENT>raise NullArgument()<EOL><DEDENT>if self.get_published_metadata().is_read_only():<EOL><INDENT>raise NoAccess()<EOL><DEDENT>if not self.my_osid_object_form._is_valid_boolean(value):<EOL><INDENT>raise InvalidArgument()<EOL><DEDENT>self.my_osid_object_form._my_map['<STR_LIT>'] = value<EOL>
stub