addUserAttribute

addUserAttribute(entityDesc: JadeRelationalEntityIF;
                 attrDesc:   JadeRelationalAttributeIF);

The addUserAttribute method of the RelationalView class adds a user-defined (soft) attribute to the user-defined (soft) table specified in the entityDesc parameter, if it exists in the relational view.

This method does not apply to RPS mappings.

The name returned by the entityDesc.getSQLName method is called to obtain the table name. If a table by that name is not found or if the table is not a user-defined table, an exception is raised.

The value of the entityDesc parameter specifies an implementation of the JadeRelationalAttributeIF interface that correctly describes the attribute being added.

Calls to this method can raise the following exceptions.