Class - Aggregation Relationship

Card Puncher Data Processing

About

aggregation relationship in code.

Example

  • Library and Students. Because the student can exist without library, the relation between student and library is aggregation.
  • professor and students: when the professor dies the students do not die along with him or her.

Visualization

in a Object - Class Diagram (UML)

1..*1Professor+ listOfStudents : listClass+ Students : list

Documentation / Reference





Discover More
Data System Architecture
Logical Data Modeling - Containment relationship

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: physical (composition) aims to build an...
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...
Card Puncher Data Processing
Type - Aggregate / Compound type

An aggregate/compound type is a type that contains a list of element. It represents the notion of value set in data modeling. They are most known as Collection (array,...) A aggregate type create a aggregation...



Share this page:
Follow us:
Task Runner