Syntax
public ContentMetaData generateBinDefs(String[] strNames);
Parameters
Return values
A ContentMetaData object, which describes the generated file objects.
Exceptions
Notes
The purpose of the generateBinFiles() method depends on the content protocol that the ODA uses for generation of file ( ContentType.BinaryFile) content, as follows:
If the ODA generates files "on request", the generateBinFiles() method is the content-generation method for the IGeneratesBinFiles interface. It can create file objects that contain information about the business-object-definition-generation process. Business Object Wizard calls the generateBinFiles() method to generate content (if the ODA supports generation of file content). It calls this method in Step 5, Generating Business Objects, of its execution.
For the on-request protocol, this method does not actually return the generated content. Instead, it returns a content-meta-data (ContentMetaData) object, which contains information that describes the generated content. From this returned content-meta-data object, Business Object Wizard can determine whether the content-generation process is complete. When generation is complete, Business Object Wizard obtains the generated file objects with the getBinFiles() method. For more information on how to implement generateBinFiles(), see Generating files..
See also