Solved

UML - reading for the empty diamond and solid diamond arrows

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
listing all functions in JavaScript 19 218
Base1 Encode/Decode 3 82
Why is initMap returning "not a function" error. 3 32
Create .bat File 16 37
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…
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

830 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