Logical Data Modeling - Containment relationship

Data System Architecture

About

A containement is a type of relationship between a container element and a content element that model a has a relationship

There is two type of containment:

Type

Physical

physical containment called composition where the content object cannot exist without its container. (ie when applied in a software, the content object will be destroyed with its container - also called a cascade delete)

Example:

  • a car and an engine
  • parent child relationship

Catalog

catalog containment called aggregation where the content object can exist without its container (ie when the container is destroyed, the content objects will not)

Example: a class and its student





Discover More
Uml Composite Aggregation
Logical Data Modeling - Composition Relationship

composition is a containment relationship of physical type where the content entity is a part of a container entity This relationship is also known as: a whole/part relationship (ie whole/component)...



Share this page:
Follow us:
Task Runner