informix
DataBlade Developers Kit User's Guide
Programming DataBlade Modules in Java

Source Files Generated by BladeSmith

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.

Filename Directory Type of File More Information
ProjectUDRs.java src\java Java source code file See Java Source Code Files.
IfmxInStream.java src\java Java source code file See BladeSmith Utility Classes.
IfmxOutStream.java src\java Java source code file See BladeSmith Utility Classes.
IfmxLog.java src\java Java source code file See BladeSmith Utility Classes.
IfmxTrace.java src\java Java source code file See BladeSmith Utility Classes.
DBDKInputException.java src\java Java source code file See BladeSmith Utility Classes.
DBDKOutputException.java src\java Java source code file See BladeSmith Utility Classes.
Opaque.java src\java Java source code file See SQLData Interface Method Support Code.
readme.txt src\java Text file This file describes the files in the src\java directory.
warning.txt src\java Text file This file describes potential problems with your source code. See Warning File for more information.
Project_Java.mak src\java Makefile Use this file for compiling on both UNIX and Windows NT. See Compiling Java DataBlade Module Code for more information.

Some of these files are described in the following subsections.

Java Source Code Files

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.

SQLData Interface Method Support Code

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.

Warning File

The warning.txt file includes the following types of warnings about your source code:


DataBlade Developers Kit User's Guide, Version 4.0
Copyright © 1999, Informix Software, Inc. All rights reserved