Copyright: Attribution, allow others to create paper-based, and must distribute paper (based on the original license agreement with the same license Creative Commons )
Recent study design patterns, find the arrows UML class diagram represents not easy to remember, so to sum up, it is also just beginning to learn design patterns for the junior partner to use.
Six kinds of relations:
Inheritance (A Inherited B) A- ▷ B
achieved (to verb) (A fly B) A- - - ▷ B
association (A know B) A-> B
B polymerization (A comprises B) A ◇ →
Synthesis (A owns B) A ◆ → B
dependent (A dependent B) A - -> B
Two examples:
class
The first line: the class name
of the second row: wherein (fields or attributes)
the third row: operating (or behavioral methods)
Note: If the class name is in italics, the abstract class such as
Interface (interface)
Rectangular notation, the top
of the first row: Interface Name
second line: Interface Method