If you generated code in Sybase Unwired WorkSpace, generated
object API code is stored by default in the "Destination" location you specified during code
generation. If you generated code with the Code Generation Utility, generateed object API
code is stored in the
SUP_HOME\MobileSDK22\ObjectAPI\Utils\genfiles
folder after you you generate code.
The contents of the folder is determined by the options you selected
in the Generate Code wizard in Sybase Unwired WorkSpace, or specified in
the Code Generation Utility. The contents include generated class
(.java) files that contain:
- MBO – class which handles persistence and operation replay of
your MBOs.
- DatabaseClass – package level class that handles subscription, login,
synchronization, and other operations for the package.
- Synchronization parameters – any synchronization parameters
for the MBOs.
- Personalization parameters – personalization parameters used
by the package.
- Metadata – Metadata class that allow you to query meta data
including MBOs, their attributes, and operations, in a persistent table at
runtime.