UML: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 14: Line 14:
:[[File:UML_Association.png]]
:[[File:UML_Association.png]]


The
The association between two classes can be further refined by labeling the association, optionally with an arrow that specifies the direction of the relationship:
:[[File:UML_Association_2.png]]

Revision as of 22:57, 26 July 2022

Internal

Overview

UML stands for Unified Modeling Language. UML is useful to quickly communicate the structure and associations within a set of classes.

In UML most things are optional, we only need to specify as much information in a diagram as make sense fr the current situation.

Association

Association is the most basic way for two classes to be related.

UML Association.png

The association between two classes can be further refined by labeling the association, optionally with an arrow that specifies the direction of the relationship:

UML Association 2.png