Hi. If, for example, I have the following requirements:
1. Dog is an Animal
2. Zoo has Animal(s)
Do I still need the 2nd diamond connector (the lower one) as shown in the image below:
Thanks.
Hi. If, for example, I have the following requirements:
1. Dog is an Animal
2. Zoo has Animal(s)
Do I still need the 2nd diamond connector (the lower one) as shown in the image below:
Thanks.
The 2nd diamond connector is redundant. Here is some advice about UML class diagrams style: http://www.agilemodeling.com/style/classDiagram.htm
The 2nd diamond connector suggests that in addition to animals the Zoo also has specifically Dogs.
Hi before tackling UML use your common sense :)
Do you want to model that zoo have animals of different species ? Then you should not only put dogs but also cats and all other animals class that can exist in THIS zoo type (class) and just use one diamond connector.