public interface Substitution extends Realization
From package UML::Classification.
The following features are supported:
UMLPackage.getSubstitution()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
Classifier |
getContract()
Returns the value of the 'Contract' reference.
|
Classifier |
getSubstitutingClassifier()
Returns the value of the 'Substituting Classifier' container reference.
|
void |
setContract(Classifier value)
Sets the value of the '
Contract ' reference |
void |
setSubstitutingClassifier(Classifier value)
Sets the value of the '
Substituting Classifier ' container reference |
createMapping, getMapping, setMapping
getClient, getClient, getClients, getSupplier, getSupplier, getSuppliers
validateNamespaceNeedsVisibility
allNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
getSources, getTargets
getRelatedElements
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
getEAnnotation, getEAnnotations
Classifier getContract()
This feature subsets the following features:
Supplier
'From package UML::Classification.
setContract(Classifier)
,
UMLPackage.getSubstitution_Contract()
void setContract(Classifier value)
Contract
' reference.
value
- the new value of the 'Contract' reference.getContract()
Classifier getSubstitutingClassifier()
Substitution
'.
This feature subsets the following features:
Instances of the substituting classifier are runtime substitutable where instances of the contract classifier are expected.From package UML::Classification.
setSubstitutingClassifier(Classifier)
,
UMLPackage.getSubstitution_SubstitutingClassifier()
,
Classifier.getSubstitutions()
void setSubstitutingClassifier(Classifier value)
Substituting Classifier
' container reference.
value
- the new value of the 'Substituting Classifier' container reference.getSubstitutingClassifier()