There are many different aspects to the behavior of a relationship definition. Where these can all be separately configured, there are many soft dependencies between them. This section describes the following aspects of relationship definition behavior:
-
Relationship cardinality that controls how many objects can be related to each other.
-
Delete flags that control what happens to an object when the object at the other end of the relationship is deleted.
-
Copy flags that control what happens to an object when the object at the other end of the relationship is copied.
-
Relationship ownership that is used to build up parent-child ownership between the related objects.
-
Force Null Config flag that identifies the relationship as always configuration independent and is also expanded assuming all related objects are configuration independent.
-
Claims that control what happens when an object at one end of the relationship is claimed.
-
Code writing support.
The first four behaviors often work together with the claim functionality optionally layered on top.
SmartPlant Schema Editor Overview and A Gentle Introduction to the SmartPlant Schema provide an introduction to modeling classes, interfaces, and relationships. This information is a supplement that describes the SmartPlant Foundation extensions to relationship definitions and explains how to configure relationship definitions in different situations.