UML Class Associations - m00racle/Pos-Project GitHub Wiki
When designing the UML class diagram I need to define association between classes. At this moment I have not do so. Thus through this document I need to research on how to make association between classes including aggregation and composition.
This will include on how to make:
- Adjustment to exisiting connections between classes
- Define the rules of zero to many and et cetera.
- Also defining on how to write abstract classes and its inheritance on sub-classes.
source: UML Class Diagrams by Emina Torlak
In this slide it suggested that I should omit the trivial method such get and set. However, like I already decided in previous wiki page I will put << get / set >> notations on respected attribute.
source: UML Class Diagrams by Emina Torlak
Starts at page 19.
source: UML Class Diagrams by Emina Torlak page 20
As seen in this example the implementation of interface basically a generalization relation but wiht dashed line.
The inheritance between parent and child classes is commonly done. Then the one I need to fix is the implementation connection between interface and the class implementing it.
The biggest issue here is distinguishing betwwen composition and aggregation