Book a Demo

Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Substitution

An example of a UML substitution connector between two class elements.

Description

A Substitution is a relationship between two Classifiers, signifying that the substituting Classifier complies with the contract specified by the contract Classifier. This implies that instances of the substituting Classifier are runtime-substitutable, where instances of the contract Classifier are expected. In the example, the Class named ResizableWindow has a Substitution connector to the Class named Window, meaning that wherever you are asked for a window you can use a resizable window.

The Substitution relationship is a subtype of a Dependency relationship.

Toolbox icon

Substitution

Learn more