Interface query - HxGN SDx - Update 64 - Administration & Configuration

Administration and Configuration of HxGN SDx

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

Finds and queries are both driven by an interface: for example, find all objects that instantiate ISPFDocumentVersion (plus some extra criteria, such as name, in the case of a quick find).

The code uses the interface to find tables in the database to be queried. A general interface, like ISPFDocumentRevision, is found in too many domain groups, as it is instantiated by many class definitions. These class definitions are stored in many different domains in multiple domain groups, and each domain group relates to a different set of tables in the database.

For optimal performance, use the most specific interface possible. For example, use a primary interface, such as ISPFDesignDocRevision, which is realized by only one class definition and therefore appears in only one domain.

A domain, through its relationship to one domain group, maps to one set of tables in the database.