Containment Relationships
Containment relationships allow one concept to be contained inside another concept.
You can define a hierarchy of containment, where each concept in the hierarchy is contained by the concept above it. The relationship is defined using a ContainedConcept property in the container concept.
Tip: When working with container and contained concepts in the rule editor, the XSLT mapper and XPath builder show the entire hierarchy of properties. In the rule editor, you can also use the
@parent attribute to get the parent of a contained concept instance.
Deep containment relationships can cause memory issues. When TIBCO BusinessEvents retrieves a concept from cache, its child concepts are also retrieved. When you modify a child concept, its parent concepts are considered to be modified. It is recommended that you keep concept relationships shallow.
- Containment and Reference Concept Relationship Rules
- Containment Example
This examnple shows how to configure a concept Car to contain a concept Wheel by adding a ContainedConcept property Wheels, whose value is an instance of the concept Wheel.
Copyright © TIBCO Software Inc. All rights reserved.