Link to home
Start Free TrialLog in
Avatar of rfr1tz
rfr1tz

asked on

UML - reading for the empty diamond and solid diamond arrows

What is the "reading" of those arrows with diamonds on the end?

For empty diamond, A <>-----> B is it "A can contain B" or "B can be a part of A"?
                                   
And for solid diamond A<->-----> B is it "A must contain B" or "B is a (necessary) component of A"?

I'm having trouble with the difference between solid and clear diamond. So if I could get the readings for these symbols, it would be helpful.

Avatar of gdrnec
gdrnec
Flag of United States of America image

Composition and Aggregation
Composition is a special type of aggregation that denotes a strong ownership between Class A, the whole, and Class B, its part. Illustrate composition with a filled diamond.
Use a hollow diamond to represent a simple aggregation relationship, in which the "whole" class plays a more important role than the "part" class, but the two classes are not dependent on each other. The diamond end in both a composition and aggregation relationship points toward the "whole" class or the aggregate.
ASKER CERTIFIED SOLUTION
Avatar of Jaime Olivares
Jaime Olivares
Flag of Peru image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial