**UML Tutorials - Herong's Tutorial Examples** - Version 1.02, by Dr. Herong Yang

Class Diagram - Association Notation

This section describes the Association Notation used in a UML Class Diagram. An Association Notation presents an association relation between two classes in which one class is related to the other class.

An Association Notation is a graphical notation used in a UML Class Diagram to represent an association relation between two classes in which one class is related to the other class.

An Association Notation is drawn as a solid line with two ends connected to the related classes. An Association Notation can also have a text label placed along the association line to describe the relation. A small solid triangle can be used to point away from the first class to the second class to imply that the label should be read as "<first class> <label> <second class>".

For example, the "Student" class and the "Class" class have an association that "A student is registered in a class". The association can be drawn as an Association Notation in a UML class diagram as shown below:

See next sections for other features of Association Notations.

Table of Contents

Introduction of UML (Unified Model Language)

►UML Class Diagram and Notations

Class Diagram - Class Notation

►Class Diagram - Association Notation

Class Diagram - Association End Notation

Class Diagram - Association End Navigability Notation

Class Diagram - Aggregation and Composition Notations

Class Diagram - Generalization Notation

Class Diagram - Realization Notation

Class Diagram - Dependency Notation

UML Activity Diagram and Notations

UML Sequence Diagram and Notations

UML State Machine Diagram and Notations

UML Use Case Diagram and Notations