Software Disclaimer

Class UML 2.5::Substitution

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.

Direct Superclasses: Realization

Direct Subclasses:

Class Precedence List: Substitution, Realization, Abstraction, Dependency, DirectedRelationship, Relationship, PackageableElement, ParameterableElement, NamedElement, Element

Properties:

contract : Classifier (1 1); -- source Substitution
substitutingClassifier : Classifier (1 1); -- source Substitution
mapping : OpaqueExpression (0 1); -- source Abstraction
client : NamedElement (1 *); -- source Dependency
supplier : NamedElement (1 *); -- source Dependency

The Element(s) on which the client Element(s) depend in some respect. The modeler may stipulate a sense of Dependency direction suitable for their domain.
Subsets: DirectedRelationship.target

source : Element (1 *); -- source DirectedRelationship
target : Element (1 *); -- source DirectedRelationship
relatedElement : Element (1 *); -- source Relationship
visibility : VisibilityKind (0 1); -- source PackageableElement
owningTemplateParameter : TemplateParameter (0 1); -- source ParameterableElement
templateParameter : TemplateParameter (0 1); -- source ParameterableElement
clientDependency : Dependency (0 *); -- source NamedElement
name : String (0 1); -- source NamedElement
nameExpression : StringExpression (0 1); -- source NamedElement
namespace : Namespace (0 1); -- source NamedElement
qualifiedName : String (0 1); -- source NamedElement
ownedComment : Comment (0 *); -- source Element
ownedElement : Element (0 *); -- source Element
owner : Element (0 1); -- source Element

The Element that owns this Element.
{readonly}
Derived union with sources: (namespace, owningTemplateParameter, substitutingClassifier)
Opposite: Element.ownedElement

Constraints:

No additional constraints.

Operations:

No additional operations.



Send questions or comments to xmi-interop@omg.org.