UML Class Diagrams
less than 1 minute read
The Class Element
Structure

- Attributes = variables, fields, parameters
- Operations = functions, methods
Visibility Notation

+
= public
-
= private
#
= protected
Relationships
Inheritance

<<Name>>
= an abstract class
Association

Aggregation

- Potential membership of one class to another
Composition

- Indicates that a class only exists as a member of another class
Multiplicity

1
= must be one
3
= must be 3
*
= any number
2..*
= at least 2
1..5
= one to 5