org.eclipse.uml2
Interface Abstraction
- All Superinterfaces:
- Dependency, DirectedRelationship, Element, EModelElement, EObject, NamedElement, Notifier, PackageableElement, ParameterableElement, Relationship, TemplateableElement
- All Known Subinterfaces:
- Implementation, Manifestation, Realization, Substitution
- public interface Abstraction
- extends Dependency
A representation of the model object 'Abstraction'.
An abstraction is a relationship that relates two elements or sets of elements that represent the same concept at different levels of abstraction or from different viewpoints. In the metamodel, an Abstraction is a Dependency in which there is a mapping between the supplier and the client.
The following features are supported:
- See Also:
UML2Package.getAbstraction()
Methods inherited from interface org.eclipse.uml2.NamedElement |
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getNamespace, getOwner, 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
getMapping
public OpaqueExpression getMapping()
- Returns the value of the 'Mapping' containment reference.
If the meaning of the 'Mapping' containment reference isn't clear,
there really should be more of a description here...
An composition of an Expression that states the abstraction relationship between the supplier and the client. In some cases, such as Derivation, it is usually formal and unidirectional; in other cases, such as Trace, it is usually informal and bidirectional. The mapping expression is optional and may be omitted if the precise relationship between the elements is not specified.
- Returns:
- the value of the 'Mapping' containment reference.
- See Also:
setMapping(OpaqueExpression)
,
UML2Package.getAbstraction_Mapping()
setMapping
public void setMapping(OpaqueExpression value)
- Sets the value of the '
Mapping
' containment reference.
- Parameters:
value
- the new value of the 'Mapping' containment reference.- See Also:
getMapping()
createMapping
public OpaqueExpression createMapping(EClass eClass)
- Creates a
OpaqueExpression
and sets the 'Mapping' containment reference.
- Parameters:
eClass
- The Ecore class of the OpaqueExpression
to create.
- Returns:
- The new
OpaqueExpression
. - See Also:
getMapping()
getOwnedElements
public EList getOwnedElements()
-
- Specified by:
getOwnedElements
in interface NamedElement