Generated Code Location and Contents

Generated object API code is stored in the project's Generated Code sub-folder by default, for example, C:\Documents and Settings\administrator\workspace\<Unwired Platform project name>\Generated Code\src. Language, platform, and whether or not you select the Generate metadata classes option determines the class files generated in this folder.

Assuming you generate code in the default location, you can access it from WorkSpace Navigator by expanding the Mobile Application project folder for which the code is generated, and expand the Generated Code folder.

The contents of the folder is determined by the options you selected from the Generate Code wizard, and include generated class (.h, .m) files that contain:
  • MBO - the business logic of your MBO.
  • Synchronization parameters - any synchronization parameters for the MBOs.
  • Personalization - personalization and personalization synchronization parameters used by the MBOs.
  • Metadata - if you selected Generate metadata classes, the metadata classes which allow you to use code completion and compile-time checking to ensure that run-time references to the metadata are correct.