Solved

UML - reading for the empty diamond and solid diamond arrows

Posted on 2004-09-28
2
1,585 Views
Last Modified: 2012-08-14
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.

0
Comment
Question by:rfr1tz
2 Comments
 
LVL 4

Expert Comment

by:gdrnec
ID: 12173921
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.
0
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 250 total points
ID: 12174015
I like to use these simple terms:
When diamond is filled, the pointed object is a part of the pointing object as a leg is to a person
When diamong is empty, the pointed object is related but not a part of pointed object as a shoe to a person
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
oracle query help 18 113
Arduino EDI - Programming language 3 95
Looking for example pivot year code used in Y2K 4 68
control image tags in a string ? 12 134
A short article about a problem I had getting the GPS LocationListener working.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question