Skip to content

Modeler_audit_rules_R1450

Antonin Abhervé edited this page Sep 3, 2020 · 1 revision

R1450

Summary

If an association is a composition, then the opposite maximum multiplicity must be 1.

Details

A composition is a strong association that implies that a model element (the composite) is reponsible for the life cycle of another model element (the part). Therefore, an instance of the part element cannot be linked to more than one instance of the composite element.

Tips

If you have a composite model element with an association end maximum multiplicity different than 1, you should consider revising your association and either:

  • remove the composition

  • change the composition into an aggregation

  • correct the cardinality

Clone this wiki locally