def set_text(self, text=None):
if text is None:<EOL><INDENT>raise NullArgument()<EOL><DEDENT>if self.get_text_metadata().is_read_only():<EOL><INDENT>raise NoAccess()<EOL><DEDENT>if not self.my_osid_object_form._is_valid_string(<EOL>text,<EOL>self.get_text_metadata()):<EOL><INDENT>raise InvalidArgument()<EOL><DEDENT>self.my_osid_object_form._my_map['<STR_LIT:text>']['<STR_LIT:text>'] = text<EOL>
stub