Home | Previous Page | Next Page   Programming DataBlade Modules in Java > Editing Methods >

Cast Support Methods

If you specified a cast support method when you created a cast, BladeSmith generates the cast support method in the ProjectUDRs.java file.

The Generated Code

BladeSmith generates only templates for cast support methods.

The generated method declares the routine, its return type, and arguments.

Completing the Code

To complete the code for cast support methods, you must:

In a cast support method, you might convert from one binary representation to another, if the data types involved in the cast have differing binary representations. Alternatively, you might perform a calculation to convert one data type to another.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]