Variable flat file writer for virtual Business Objects

The flat file writer exports the information located in a Business Collection into a flat file. The exported flat file has a similar structure to the flat file supported at import time: linear structure, one line for each Element, the Business Object properties are not written in the file; the Element attributes are separated by specific characters. The XSD file is used here to write fields in the right order and make sure that they comply with the rules.

The Java class called FlatFileWriterVirtualBO must be declared in the interplayPublicContext.xml file as follows:

<bean id="flatFileWriterVirtualBO" lazy-init="true" scope="prototype"


<property name="writerType" value="VariableFlatFile" />


The writer configuration must be set on the Business Collection Type.

Related Links