UML = blueprint for software. Two types:
Class Diagram
User
, Expense
, Category
)1..*
, 0..1
)<<Interface>> | Abstract class | Object
Relationship | Lines | Meaning |
---|---|---|
Association | ββ | connection between two classes (1: M), (M: N) E.g., User has Profile . |
Inheritance | β | > |
Realization | - - - | > |
Dependency | - - - > | uses-a relation. Provided by method params |
Aggregation | Team β--- Player |
has-a relationship. |
Composition | House β--- Room |
Stronger form of aggregation. : Rooms donβt exist alone. |