Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WBRIDGE and version 7.7.0

...

The file name and the file location are defined in the component diagram by a file alias or a file resource. By using parameter name, you can set the target file dynamically.

Noteinfo
iconfalse

Dynamic inputs override static information derived from the alias or resource.

...

The Flat File Adapter compose action processes the following rules:

        
Action
Description  

openOpen File and start root element of definition. 

match



Go through all associations (<<FlatFileRecord>> and <<FlatFileGroup>> classes) until first one matches depending on the tagged values lineNumber and evaluationOrder.   

outIf no association matches, step out of the recursion and go to step match, abort if there's no parent.   

groupIf a <<FlatFileGroup>> object matches, go to the step match.  

 recordIf a <<FlatFileRecord>> object matches, step through all attributes according to their order and create record data. 

write Write record data to file or blob. 

closeIf no further associations matches, the composer ends and closes the file. 

The following figure shows the composer steps when serializing an instance of a given class. The names in the figure refer to the actions in the table above.

 Figure: Flat File Adapter Composer Process