Deprecated Methods

Some methods in the ODKAgentBase2 class were supported in earlier versions but are no longer supported. These deprecated methods will not generate errors, but IBM recommends that you avoid their use and migrate existing code to the new methods. The deprecated methods might be removed in a future release.

lists the deprecated methods for the ODKAgentBase2 class. If you are writing a new ODA (not modifying an existing ODA), you can ignore this section.

Table 93. Deprecated methods of the ODKAgentBase2 class

Deprecated method Replacement

getTreeNodes()
(inherited from ODKAgentBase)

getTreeNodes() in the IGeneratesBoDefs interface

generateDefs()
(inherited from ODKAgentBase)

generateBoDefs() in the IGeneratesBoDefs interface (to generate business object definitions)

Note:
You can also generate files with the generateBinFiles() method in the IGeneratesBinFiles interface.

Copyright IBM Corp. 1997, 2004