org.eclipse.uml2
Interface Substitution
- All Superinterfaces:
- Abstraction, Dependency, DirectedRelationship, Element, EModelElement, EObject, NamedElement, Notifier, PackageableElement, ParameterableElement, Realization, Relationship, TemplateableElement
- public interface Substitution
- extends Realization
A representation of the model object 'Substitution'.
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 following features are supported:
- See Also:
UML2Package.getSubstitution()
Methods inherited from interface org.eclipse.uml2.NamedElement |
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership |
Methods inherited from interface org.eclipse.uml2.Element |
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
copyright
public static final String copyright
-
- See Also:
- Constant Field Values
getContract
public Classifier getContract()
- Returns the value of the 'Contract' reference.
If the meaning of the 'Contract' reference isn't clear,
there really should be more of a description here...
(Specializes Dependency.target.)
- Returns:
- the value of the 'Contract' reference.
- See Also:
setContract(Classifier)
,
UML2Package.getSubstitution_Contract()
setContract
public void setContract(Classifier value)
- Sets the value of the '
Contract
' reference.
- Parameters:
value
- the new value of the 'Contract' reference.- See Also:
getContract()
getSubstitutingClassifier
public Classifier getSubstitutingClassifier()
- Returns the value of the 'Substituting Classifier' container reference.
It is bidirectional and its opposite is '
Substitution
'.
If the meaning of the 'Substituting Classifier' container reference isn't clear,
there really should be more of a description here...
(Specializes Dependency.client.)
- Returns:
- the value of the 'Substituting Classifier' container reference.
- See Also:
setSubstitutingClassifier(Classifier)
,
UML2Package.getSubstitution_SubstitutingClassifier()
,
Classifier.getSubstitutions()
setSubstitutingClassifier
public void setSubstitutingClassifier(Classifier value)
- Sets the value of the '
Substituting Classifier
' container reference.
- Parameters:
value
- the new value of the 'Substituting Classifier' container reference.- See Also:
getSubstitutingClassifier()
getSuppliers
public EList getSuppliers()
-
- Specified by:
getSuppliers
in interface Realization
getTargets
public EList getTargets()
-
- Specified by:
getTargets
in interface Realization
getClients
public EList getClients()
-
- Specified by:
getClients
in interface Realization
getSources
public EList getSources()
-
- Specified by:
getSources
in interface Realization