Generates business object definitions for the specified source nodes.
Syntax
public ContentMetaData generateBoDefs(String[] srcNodeNames);
Parameters
Return values
A ContentMetaData object, which describes the generated business object definitions for the source nodes named in the srcNodeNames argument.
Exceptions
Notes
The generateBoDefs() method is the content-generation method for the IGeneratesBoDefs interface. It creates business object definitions for each of the source nodes named in the srcNodeNames array. The user has selected these source nodes in the Select Source dialog of Business Object Wizard. Once the user has finished selecting source nodes, Business Object Wizard calls the generateBinFiles() method to generate content. It calls this method in Step 5, Generating Business Objects, of its execution.
The goal of the generateBoDefs() method is to generate a business object definition (BusObjDef object) for each user-selected source node, store it in the generated-content structure, and return a content-meta-data (ContentMetaData) object that describes the generated content. This method does not actually return the generated content to Business Object Wizard. 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 business object definitions with the getBoDefs() method. For more information on how to implement generateBoDefs(), see Generating business object definitions.
See also