Classe "Substitution"

Description

Propriétaire : Méta-modèle UML simplifié

A substitution is a relationship between two classifiers signifies that the substitutingClassifier complies with the contract specified by the contract classifier. This implies that instances of the substitutingClassifier are runtime substitutable where instances of the contract classifier are expected.The substitution relationship denotes runtime substitutability which is not based on specialization. Substitution, unlike specialization, does not imply inheritance of structure, but only compliance of publicly available contracts. A substitution like relationship is instrumental to specify runtime substitutability for domains that do not support specilization such as certain component technologies. It requires that (1) interfaces implemented by the contract classifier are also implemented by the sunstituting classifier, or else the substituting classifier implements a more specilized interface type. And, (2) the any port owned by the contract classifier has a matching port (see ports) owned by the substituting classifier.In Objecteering: Contrary to UML2, Substitution derives from ModelElement. A substitution is owned by its substituting Classifer.

Relationship between two classifiers signifying that the substitutingClassifier complies with the contract specified by the contract classifier.

Classes parentes :

Diagrammes de classes : Associations :