Relative Content

Tag Archive for class-diagram

UML representation of specific factory pattern

I have to create an UML class diagram from the following example code (Perl). I don’t think that the standard factory pattern match in my case or I don’t understand it correctly. I don’t have AbstractFactory and ConcreteFactory but a single Factory.

How show Attributes which appear In Many To Many association

As we know a many to many association are shown by two asterisks in both end of association. Now I have a association between two entities “Good” and “Invoice” so Good and Invoice have a many to many association but I want to show the “count of each good” in each invoice on class diagram.

What does the arrow mean in a Class Diagram?

I need help trying to understand what the meaning of the arrow in a UML Class Diagram is, more specifically in this Composite Diagram. What’s the difference between the simple line (from a class to another one) and the arrow (not the inheritance arrow, I refer to the black one)?

UML Class diagram confusion

I am learning how to draw a UML class diagram and after reading a few tutorials, I am still confused about the appropriate usages of Association type (The clear diamond and black diamond). I understand their usages but I haven’t got a very concrete understanding on when to use them and when not to.