Relationship cardinality rules - 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

Staging system cardinality

For this rule, select a class definition and a relationship definition for the rule, and select the direction of the class definition specified in the relationship. Two Boolean properties are used to enforce the minimum and maximum cardinality of 1. If neither the minimum nor the maximum cardinalities are set, no validation takes place.

For example, if you want to enforce only one primary classification, set both properties to True.

  • Enforce min cardinality of 1

  • Enforce max cardinality of 1

Therefore, if no relationship definition exists and the enforce minimum is set to 1, an error message is generated. If multiple relationships for the relationship definition are found and the enforce maximum cardinality is set to 1, an error message is generated.

Unlike the other rule types, you have the flexibility to select one or more actions from the Applicable Actions For Rule list box for the Staging System Cardinality and Target System Cardinality rules.

Target system cardinality

For this rule, select a class definition and a relationship definition to run the rule, and select the direction of the class definition specified in the relationship. The cardinality information is defined by the relationship definition in the target system and is used to perform the validation against the data in the staging area.

If the selected class definition is on End1 of the relationship, you must select End1 as the direction, and the rule will check for the cardinality from End1 of the relationship definition. To check for the cardinality from End2 of the relationship definition, you must create a separate rule by selecting the class definition on End2 of the relationship and selecting End2 as the direction of the relationship.

Unlike the other rule types, you have the flexibility to select one or more actions from the Applicable Actions For Rule list box for the Staging System Cardinality and Target System Cardinality rules.