Standards:
Composition
Composition |
A form of aggregation with strong ownership and coincident lifetime of the
parts by the whole. |
Related Information: |
|
Topics
Background
A form of aggregation with strong ownership and coincident lifetime of the parts by the
whole; parts with non fixed multiplicity may be created after the composite itself, but
once created they live and die with it; such parts can also be explicitly removed before
the death of the composite.
In a composite aggregation an object may be part of only one composite at a time and
the composite (the whole) is responsible for the disposal of its parts .
Composition is essentially a longhand way of displaying an attribute; both attributes
and composition imply the use of value semantics.
Naming Standards
See Standards: Association.
General Documentation Standards
See Standards: Association.
Documentation in Rose
The filled diamond is the only UML notation available in Rose show composition.
The multiplicity at the diamond end of the aggregation is assumed to be 1 if not
shown. Note: for composition (the filled diamond) the multiplicity can only be 1
(although this is not enforced by Rose).
Stereotypes
None.
Examples
None
|