IGeneratesBinFiles interface

The Object Discovery Agent Development Kit (ODK) API uses the IGeneratesBinFiles interface to define the functionality required by the Object Discovery Agent (ODA) for the generation of binary files as its content. This interface defines the set of methods that the ODA developer must implement to enable the ODA to generate binary files. Business Object Wizard calls the methods of the IGeneratesBinFiles interface to generate and access content that is file objects. A file object is a Java File object, which represents a binary operating-system file.

Note:
An ODA must also support the generation of business object definitions as its content. To enable an ODA to generate business object definitions from source data, you must implement the IGeneratesBoDefs interface. For more information, see IGeneratesBoDefs interface.

To provide the ODA with the ability to generate file objects, the ODA developer must take the following steps:

Table 86.

Member methods of the IGeneratesBinFiles interface
Member method Description Page
generateBinFiles() Generates file objects for the source nodes chosen from the data source. generateBinFiles()
getBinFile() Retrieves generated file objects. getBinFile()
getContentProtocol() Indicates the content protocol supported for this binary-file content type. getContentProtocol()

Copyright IBM Corp. 1997, 2004