note description: "FileWriteList message. GENERATED DO NOT MODIFY" author: "Origo Team " date: "$Date$" revision: "$Revision$" class A_CONFIG_FILE_WRITE_LIST_MESSAGE inherit A_MESSAGE rename make as make_aranea_message end A_CONFIG_CONSTANTS undefine is_equal, out end create make, make_from_tokenizer create {A_MESSAGE_FACTORY} make_from_ems_message feature {NONE} -- Initialization make (a_files: like files) -- Create require a_files_not_void: a_files /= Void do make_aranea_message files := a_files ensure files_set: files = a_files end feature -- Message handling handle (a_handler: A_CONFIG_FILE_WRITE_LIST_MESSAGE_HANDLER) -- do a_handler.handle_file_write_list (Current) end feature -- Access namespace: STRING -- Namespace of the message type. once Result := config_namespace end type: STRING -- Type of the message. once Result := config_file_write_list_type end files: A_SEQUENCE_VALUE [A_CONFIG_CONFIG_FILE_MESSAGE] -- List of files to write feature {NONE} -- Implementation serialization_list: attached STRING -- Lists the fields to serialize, and under which name do create Result.make_empty Result.append ("%"" + files_argument + "%":") Result.append (files.serialize) end parse_tag (a_tag: STRING; a_tokenizer: A_JSON_TOKENIZER) do if a_tag.is_equal (files_argument) then create files.make_from_tokenizer (a_tokenizer) end end files_argument: STRING = "files" invariant files_not_void: files /= Void end