Package com.sodius.mdw.metamodel.uml21
Interface Dependency
-
- All Superinterfaces:
Comparable<Object>
,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:
Abstraction
,ComponentRealization
,Deployment
,InterfaceRealization
,Manifestation
,Realization
,Substitution
,Usage
public interface Dependency extends PackageableElement, DirectedRelationship
A representation of the model object 'Dependency'. A dependency is a relationship that signifies that a single or a set of model elements requires other model elements for their specification or implementation. This means that the complete semantics of the depending elements is either semantically or structurally dependent on the definition of the supplier element(s).The following features are supported:
- See Also:
UMLPackage.getDependency()
-
-
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 NamedElement
getClient(String name)
Retrieves the firstNamedElement
with the specified 'Name' from the ' Client' reference list.NamedElement
getClient(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstNamedElement
with the specified 'Name' from the ' Client' reference list.MDWEList<NamedElement>
getClients()
Returns the value of the 'Client' reference list.NamedElement
getSupplier(String name)
Retrieves the firstNamedElement
with the specified 'Name' from the ' Supplier' reference list.NamedElement
getSupplier(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstNamedElement
with the specified 'Name' from the ' Supplier' reference list.MDWEList<NamedElement>
getSuppliers()
Returns the value of the 'Supplier' reference list.-
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
-
getSuppliers
MDWEList<NamedElement> getSuppliers()
Returns the value of the 'Supplier' reference list. The list contents are of typeNamedElement
. The element(s) independent of the client element(s), in the same respect and the same dependency relationship. In some directed dependency relationships (such as Refinement Abstractions), a common convention in the domain of class-based OO software is to put the more abstract element in this role. Despite this convention, users of UML may stipulate a sense of dependency suitable for their domain, which makes a more abstract element dependent on that which is more specific.- Returns:
- the value of the 'Supplier' reference list.
- See Also:
UMLPackage.getDependency_Supplier()
-
getSupplier
NamedElement getSupplier(String name)
Retrieves the firstNamedElement
with the specified 'Name' from the ' Supplier' reference list.- Parameters:
name
- The 'Name' of theNamedElement
to retrieve, ornull
.- Returns:
- The first
NamedElement
with the specified 'Name', ornull
. - See Also:
getSuppliers()
-
getSupplier
NamedElement getSupplier(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstNamedElement
with the specified 'Name' from the ' Supplier' reference list.- Parameters:
name
- The 'Name' of theNamedElement
to retrieve, ornull
.ignoreCase
- Whether to ignore case inString
comparisons.eClass
- The Ecore class of theNamedElement
to retrieve, ornull
.- Returns:
- The first
NamedElement
with the specified 'Name', ornull
. - See Also:
getSuppliers()
-
getClients
MDWEList<NamedElement> getClients()
Returns the value of the 'Client' reference list. The list contents are of typeNamedElement
. It is bidirectional and its opposite is 'Client Dependency
'. The element(s) dependent on the supplier element(s). In some cases (such as a Trace Abstraction) the assignment of direction (that is, the designation of the client element) is at the discretion of the modeler, and is a stipulation.- Returns:
- the value of the 'Client' reference list.
- See Also:
UMLPackage.getDependency_Client()
,NamedElement.getClientDependencies()
-
getClient
NamedElement getClient(String name)
Retrieves the firstNamedElement
with the specified 'Name' from the ' Client' reference list.- Parameters:
name
- The 'Name' of theNamedElement
to retrieve, ornull
.- Returns:
- The first
NamedElement
with the specified 'Name', ornull
. - See Also:
getClients()
-
getClient
NamedElement getClient(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstNamedElement
with the specified 'Name' from the ' Client' reference list.- Parameters:
name
- The 'Name' of theNamedElement
to retrieve, ornull
.ignoreCase
- Whether to ignore case inString
comparisons.eClass
- The Ecore class of theNamedElement
to retrieve, ornull
.- Returns:
- The first
NamedElement
with the specified 'Name', ornull
. - See Also:
getClients()
-
-