Issue No.05 - May (2003 vol.29)
Franck Barbier , IEEE
Brian Henderson-Sellers , IEEE
<p><b>Abstract</b>—A formal definition for the semantics of the Whole-Part relationship in the Unified Modeling Language or UML is introduced. This provides a fully directly usable specification which that can be incorporated into version 2.0 of UML. An improvement to the current metamodel fragment relating to relationships is proposed, supplemented by the introduction of axioms expressed in the Object Constraint Language or OCL. The overall formalization relates to a clear and concise emphasis on carefully enunciated (primary) characteristics that apply to all instances of a new Whole-Part metatype. Specific kinds of the Whole-Part relationship are defined in terms of secondary characteristics, which must be possessed by subtypes: In UML 1.4, these are Aggregation (a.k.a. white diamond) and Composition (a.k.a. black diamond). Primary and secondary characteristics may then be consistently combined with each other. Consequently, this allows the possible introduction of supplementary forms of Whole-Part. Such a revision is necessary since Aggregation and Composition in UML 1.4 do not cover the full spectrum of Whole-Part theory.</p>
Object-oriented modeling, UML, Whole-Part relationship, aggregation, composition.
Franck Barbier, Brian Henderson-Sellers, Annig Le Parc-Lacayrelle, Jean-Michel Bruel, "Formalization of the Whole-Part Relationship in the Unified Modeling Language", IEEE Transactions on Software Engineering, vol.29, no. 5, pp. 459-470, May 2003, doi:10.1109/TSE.2003.1199074