Extensions for Semantics to Be Called by the Transaction Manager - Integration - Update 44 - Customization & Programming - Hexagon

SmartPlant Integration Customization

Language
English
Product
Integration
Search by Category
Customization & Programming
SmartPlant Foundation / SDx Version
10

A variety types of semantics (detailed later in this document) can be added to the Schema Editor. Each semantic that is to be called must have an object (called a semantic definition) and one or more relationships within the metaschema extensions. To add a semantic definition to the metaschema, perform the following steps:

  • An instance of the appropriate class definition should be created (e.g., UpdateSemanticDef) and populated. In particular the semantic progID should be set to a class definition within the project for the metadata adapter.

  • The semantic definition should be related to the appropriate objects for the semantic definition using the appropriate relationship type.

    • For InsertSemanticDef, the relationship should be of type ClassDefInsertSemanticDef.

    • For InsertRelSemanticDef, the relationship should be of type RelDefInsertRelSemanticDef.

    • For UpdateSemanticDef, the relationship should be of type PropertyDefUpdateSemanticDefs.

    • For DeleteSemanticDef, the relationship should be of type ClassDefDeleteSemanticDef.

    • For DeleteRelSemanticDef, the relationship should be of type RelDefDeleteRelSemanticDef.

For each semantic definition added to the metaschema extensions, there should be a class definition within the metadata adapter that implements the particular interface for that semantic. The interfaces that are to be implemented per semantic definition type are described later in this document.