IGeneratesBoDefs interface

The Object Discovery Agent Development Kit (ODK) API uses the IGeneratesBoDefs interface to define the functionality required by the Object Discovery Agent (ODA) for the generation of business object definitions as its content. This interface defines the set of methods that the ODA developer must implement to enable the ODA to generate business object definitions from source data. Business Object Wizard calls the methods of the IGeneratesBoDefs interface to obtain source nodes, as well as generate and access content that is business object definitions.

Note:
An ODA can also support the generation of file objects as its content. To enable an ODA to generate binary files from source data, you must implement the IGeneratesBinFiles interface. For more information, see IGeneratesBinFiles interface.

To provide the ODA with the ability to generate business object definitions objects from source data, the ODA developer must take the following steps:


Table 88.

Member methods of the IGeneratesBoDefs interface
Member method Description Page
generateBoDefs() Generates business object definitions for the specified source nodes from the data source. generateBoDefs()
getBoDefs() Retrieves generated business object definitions. getBoDefs()
getContentProtocol() Indicates the content protocol supported for this business-object-definition content type. getContentProtocol()
getTreeNodes() Constructs an array of tree nodes that represent the hierarchy of source nodes. getTreeNodes()

Copyright IBM Corp. 1997, 2003