addUserTable

addUserTable(entityDesc:            JadeRelationalEntityIF;
             includeRealProperties: Boolean;
             includeMethods:        Boolean);

The addUserTable method of the RelationalView class adds a user-defined (soft) entity or a real JADE class type with soft attributes to the receiver (that is, to the relational view). The entityDesc parameter specifies an implementation of the JadeRelationalEntityIF interface that correctly describes the entity being added.

This method does not apply to RPS mappings.

If the value of the includeRealProperties parameter is true and entityDesc.getJadeClass returns a valid class, the properties of this class that can be mapped to valid SQL types are mapped to columns in the table. If the value of the includeMethods parameter is true and entityDesc.getJadeClass returns a valid class, the methods of this class that are not updating, have no parameters, and return a value that can be mapped to a valid SQL types are mapped to columns in the table.

Calls to this method can raise the following exceptions.