org.eclipse.uml2
Interface Dependency
- All Superinterfaces:
- DirectedRelationship, Element, EModelElement, EObject, NamedElement, Notifier, PackageableElement, ParameterableElement, Relationship, TemplateableElement
- All Known Subinterfaces:
- Abstraction, Deployment, Implementation, Manifestation, Permission, 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:
UML2Package.getDependency()
Methods inherited from interface org.eclipse.uml2.NamedElement |
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getNamespace, getOwnedElements, 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
getClients
public EList getClients()
- Returns the value of the 'Client' reference list.
The list contents are of type
NamedElement
.
It is bidirectional and its opposite is 'Client Dependency
'.
If the meaning of the 'Client' reference list isn't clear,
there really should be more of a description here...
The element that is affected by the supplier element. In some cases (such as a Trace Abstraction) the direction is unimportant and serves only to distinguish the two elements.
- Returns:
- the value of the 'Client' reference list.
- See Also:
UML2Package.getDependency_Client()
,
NamedElement.getClientDependencies()
getClient
public NamedElement getClient(String unqualifiedName)
- Retrieves the
NamedElement
with the specified name from the 'Client' reference list.
- Parameters:
unqualifiedName
- The unqualified name of the NamedElement
to retrieve.
- Returns:
- The
NamedElement
with the specified name, or null
. - See Also:
getClients()
getSuppliers
public EList getSuppliers()
- Returns the value of the 'Supplier' reference list.
The list contents are of type
NamedElement
.
If the meaning of the 'Supplier' reference list isn't clear,
there really should be more of a description here...
Designates the element that is unaffected by a change. In a two-way relationship (such as some Refinement Abstractions) this would be the more general element. In an undirected situation, such as a Trace Abstraction, the choice of client and supplier is not relevant.
- Returns:
- the value of the 'Supplier' reference list.
- See Also:
UML2Package.getDependency_Supplier()
getSupplier
public NamedElement getSupplier(String unqualifiedName)
- Retrieves the
NamedElement
with the specified name from the 'Supplier' reference list.
- Parameters:
unqualifiedName
- The unqualified name of the NamedElement
to retrieve.
- Returns:
- The
NamedElement
with the specified name, or null
. - See Also:
getSuppliers()