Package com.sodius.mdw.metamodel.uml21
Interface Abstraction
-
- All Superinterfaces:
Comparable<Object>
,Dependency
,DirectedRelationship
,Element
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,MDWEObject
,MDWObject
,NamedElement
,org.eclipse.emf.common.notify.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()
-
-
Field Summary
-
Fields inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
SEPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OpaqueExpression
createMapping(String name, Type type)
Creates a newOpaqueExpression
,with the specified 'Name', and 'Type', and sets the 'Mapping' containment reference.OpaqueExpression
getMapping()
Returns the value of the 'Mapping' containment reference.void
setMapping(OpaqueExpression value)
Sets the value of the 'Mapping
' containment reference.-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Dependency
getClient, getClient, getClients, getSupplier, getSupplier, getSuppliers
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.DirectedRelationship
getSources, getTargets
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.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.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 com.sodius.mdw.core.model.MDWObject
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.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.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.ParameterableElement
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Relationship
getRelatedElements
-
-
-
-
Method Detail
-
getMapping
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:
setMapping(OpaqueExpression)
,UMLPackage.getAbstraction_Mapping()
-
setMapping
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
OpaqueExpression createMapping(String name, Type type)
Creates a newOpaqueExpression
,with the specified 'Name', and 'Type', and sets the 'Mapping' containment reference.- Parameters:
name
- The 'Name' for the newOpaqueExpression
, ornull
.type
- The 'Type' for the newOpaqueExpression
, ornull
.- Returns:
- The new
OpaqueExpression
. - See Also:
getMapping()
-
-