Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
substitution
A dependency between classifiers that declares that the source classifier may be substituted in a place where the target classifier has been declared as a type.
Semantics
Generalization usually implies substitutability (see substitutability principle), but sometimes a classifier specifies a contract for interactions—interfaces and ports—without specifying features. Any classifier that implements the same interfaces and ports can be substituted for the original classifier, even if it does not share any of the internal structure or implementation. This relationship is expressed by the substitution dependency from the implementing classifier to the classifier specifying the contract. It can be used in situations where generalization ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access