Class |
---|
-privateMember: int |
#protectedMember: char |
+publicMember: bool |
────────────────────────── |
+publicMethod(): void |
+publicVirtualMethod(parameter: int): void |
-privateMethod(): bool |
#protectedMethod(value: int): char |
Generalization
| Child Class | is a | Parent Class |
| -kid: bool | ───────────▷ | +virtualMethod(): void |
| +virtualMethod(): void |
Realization
| Class | Implements | Interface |
| -kid: bool | - - - - - -▷ | +virtualMethod(): void |
| +virtualMethod(): void |
Association
1..* 1
| Class 1 | ───────────▶ | Class 2 |
Dependency
<<use>>
| Class 1 | - - - - - -> | Class 2 |
Aggregation
1 <<has a>> 1..*
| Class 1 | ◇─────────── | Class 2 |
Composition
1 <<owns a>> 1..*
| Class 1 | ◆─────────── | Class 2 |