Solved

UML - reading for the empty diamond and solid diamond arrows

Posted on 2004-09-28
2
1,484 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Batch file output 20 77
wordcount challenge 11 76
delphi parse string to params 3 82
how to update exe applicatio from internet ? 6 39
I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
This is about my first experience with programming Arduino.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

706 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now