JadeRelationalEntityIF Interface

The JadeRelationalEntityIF interface, defined in the RootSchema, provides the definition of the methods that you can implement in your user schema classes to expose soft entities by mapping soft entities to tables in the relational view.

The JadeRelationalEntityIF interface instance is passed to the addUserTable method of the RelationalView class to add a soft entity to a relational view. The values returned for the getJadeClass, getSQLName, and callIFAllInstances methods at the time of the method call are stored in the schema meta data for the relational view. If these values change, you must remove the attribute and then add it again to update the meta data.

The allInstances, getPropertyValue, getQueryProvider, and isAttributeValid interface methods are called at run time to access the data in the JADE database.

You can view the JadeRelationalEntityIF interface and its methods only in the Interface Browser of a user schema that has an implementation mapping to this RootSchema interface, as shown in the following image.

For details about implementing the JadeRelationalEntityIF interface for a class selected in the Class Browser of a user schema, see "Implementing an Interface", in Chapter 14, "Adding and Maintaining Interfaces", of the JADE Development Environment User’s Guide. The automatically generated stub methods in classes that implement the interface contain no body logic.

It is your responsibility to provide the source code that meets your application requirements for each stub method.

For details about the JadeRelationalEntityIF interface methods, see "JadeRelationalEntityIF Interface Method Signatures", in the following subsection.