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
Card Puncher Data Processing
Data Processing - Buffer (Batch concept in code)

Buffers are catalog containers of a (fixed|variable with max) amount of data or operations. memoryblocksdisk Without buffer, each read or write request is handled directly by the underlying layer (OS,...
1..*1Professor+ listOfStudents : listClass+ Students : list
Logical Data Modeling - Aggregation (Collection)

aggregation is a containment relationship where one or more entities are part of a container entity. In other word, aggregation is combining multiple pieces of data into one unit. The container entity...
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)...
Data System Architecture
Logical Data Modeling - Container

A container is an element that contains others elements. It creates a containment relationship between the element that can be: (hierarchy) or (collection)
Card Puncher Data Processing
Object - Relationship

in class (code). entity An Association is a structural relationship (a tuple) between the objects of two classes. A containment may be one of this form: composition - the building of object...



Share this page:
Follow us:
Task Runner