|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Substitution
A representation of the model object 'Substitution'. A substitution is a relationship between two classifiers signifies 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()
Field Summary |
---|
Fields inherited from interface org.eclipse.uml2.uml.NamedElement |
---|
SEPARATOR |
Method Summary | |
---|---|
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 |
Methods inherited from interface org.eclipse.uml2.uml.Abstraction |
---|
createMapping, getMapping, setMapping |
Methods inherited from interface org.eclipse.uml2.uml.Dependency |
---|
getClient, getClient, getClients, getSupplier, getSupplier, getSuppliers |
Methods inherited from interface org.eclipse.uml2.uml.NamedElement |
---|
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 |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.uml2.uml.ParameterableElement |
---|
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.uml2.uml.DirectedRelationship |
---|
getSources, getTargets |
Methods inherited from interface org.eclipse.uml2.uml.Relationship |
---|
getRelatedElements |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
Classifier getContract()
This feature subsets the following features:
Supplier
'
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:
Client
'
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()
|
Copyright 2003, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |