org.eclipse.uml2.uml
Interface Abstraction
- All Superinterfaces:
- Dependency, DirectedRelationship, Element, EModelElement, EObject, NamedElement, Notifier, PackageableElement, ParameterableElement, Relationship
- All Known Subinterfaces:
- ComponentRealization, InterfaceRealization, 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.
The following features are supported:
- See Also:
UMLPackage.getAbstraction()
Methods inherited from interface org.eclipse.uml2.uml.NamedElement |
allNamespaces, allOwningPackages, createDependency, createNameExpression, 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.uml2.uml.Element |
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 |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
getMapping
public OpaqueExpression getMapping()
- Returns the value of the 'Mapping' containment reference.
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:
Abstraction.setMapping(OpaqueExpression)
,
UMLPackage.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:
Abstraction.getMapping()
createMapping
public OpaqueExpression createMapping(String name,
Type type)
- Creates a new
OpaqueExpression
,with the specified 'Name', and 'Type', and sets the 'Mapping' containment reference.
- Parameters:
name
- The 'Name' for the new OpaqueExpression
, or null
.type
- The 'Type' for the new OpaqueExpression
, or null
.
- Returns:
- The new
OpaqueExpression
. - See Also:
Abstraction.getMapping()