public interface Substitution extends Realization
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.
The following features are supported:
UMLPackage.getSubstitution()
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. |
getMapping, setMapping
get_collaborationUseOfRoleBinding, getClient, getSupplier, hasClient, hasSupplier, set_collaborationUseOfRoleBinding
get_componentOfPackagedElement, get_elementImportOfImportedElement, get_manifestationOfUtilizedElement, getOwningPackage, getVisibility, has_elementImportOfImportedElement, has_manifestationOfUtilizedElement, set_componentOfPackagedElement, setOwningPackage, setVisibility
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace
get_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, getTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameter
getSource, getTarget, hasSource, hasTarget
get_abstraction, getRelatedElement, has_abstraction, hasRelatedElement
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElement
get_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalID
getID, getMDExtension, getMdExtensions, setID
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
@CheckForNull Classifier getContract()
substitution Of Contract
'.
The contract with which the substituting classifier complies.
setContract(Classifier)
,
UMLPackage.getSubstitution_Contract()
,
Classifier.get_substitutionOfContract()
void setContract(@CheckForNull Classifier value)
Contract
' reference.
value
- the new value of the 'Contract' reference.getContract()
@CheckForNull Classifier getSubstitutingClassifier()
Substitution
'.
Instances of the substituting classifier are runtime substitutable where instances of the contract classifier are expected.
setSubstitutingClassifier(Classifier)
,
UMLPackage.getSubstitution_SubstitutingClassifier()
,
Classifier.getSubstitution()
void setSubstitutingClassifier(@CheckForNull Classifier value)
Substituting Classifier
'
container reference.
value
- the new value of the 'Substituting Classifier' container reference.getSubstitutingClassifier()