![]() |
|
When you create new objects, BladeSmith generates the source files; some filenames are prefixed with the name of the DataBlade module (indicated by project). By default, BladeSmith creates the source files in the src and src\java subdirectories of the directory that contains the BladeSmith project file. Generated source files are listed in the following table.
Some of these files are described in the following subsections.
BladeSmith generates a ProjectUDRs.java source code file that contains method declarations for all user-defined Java routines, cast support routines, and aggregates you defined with BladeSmith. You must edit this file to add the functionality you require. See Editing Methods for more information.
BladeSmith generates the following utility class files that contain utility methods called by BladeSmith-generated routines:
For more information on utility classes, see BladeSmith Utility Classes.
If you define a user-defined routine, aggregate, or cast support method that handles an opaque data type implemented in C or C++, BladeSmith generates the SQLData interface methods readSQL() and writeSQL() to translate objects from and to their internal server representation.
BladeSmith generates complete code for these methods in a file named Opaque.java, where Opaque is the name of the C or C++ opaque data type. You should not modify these methods.
The warning.txt file includes the following types of warnings about your source code: