|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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:
UMLPackage.getDependency()
Field Summary |
Fields inherited from interface org.eclipse.uml2.uml.NamedElement |
SEPARATOR |
Method Summary | |
NamedElement |
getClient(String name)
Retrieves the first NamedElement with the specified 'Name' from the 'Client' reference list |
NamedElement |
getClient(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first NamedElement with the specified 'Name' from the 'Client' reference list |
EList |
getClients()
Returns the value of the 'Client' reference list. |
NamedElement |
getSupplier(String name)
Retrieves the first NamedElement with the specified 'Name' from the 'Supplier' reference list |
NamedElement |
getSupplier(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first NamedElement with the specified 'Name' from the 'Supplier' reference list |
EList |
getSuppliers()
Returns the value of the 'Supplier' reference list. |
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.emf.ecore.EModelElement |
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.uml2.uml.ParameterableElement |
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter |
Methods inherited from interface org.eclipse.uml2.uml.DirectedRelationship |
getSources, getTargets |
Methods inherited from interface org.eclipse.uml2.uml.Relationship |
getRelatedElements |
Method Detail |
public EList getSuppliers()
NamedElement
.
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.
UMLPackage.getDependency_Supplier()
public NamedElement getSupplier(String name)
NamedElement
with the specified 'Name' from the 'Supplier' reference list.
name
- The 'Name' of the NamedElement
to retrieve, or null
.
NamedElement
with the specified 'Name', or null
.Dependency.getSuppliers()
public NamedElement getSupplier(String name, boolean ignoreCase, EClass eClass)
NamedElement
with the specified 'Name' from the 'Supplier' reference list.
name
- The 'Name' of the NamedElement
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the NamedElement
to retrieve, or null
.
NamedElement
with the specified 'Name', or null
.Dependency.getSuppliers()
public EList getClients()
NamedElement
.
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.
UMLPackage.getDependency_Client()
,
NamedElement.getClientDependencies()
public NamedElement getClient(String name)
NamedElement
with the specified 'Name' from the 'Client' reference list.
name
- The 'Name' of the NamedElement
to retrieve, or null
.
NamedElement
with the specified 'Name', or null
.Dependency.getClients()
public NamedElement getClient(String name, boolean ignoreCase, EClass eClass)
NamedElement
with the specified 'Name' from the 'Client' reference list.
name
- The 'Name' of the NamedElement
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the NamedElement
to retrieve, or null
.
NamedElement
with the specified 'Name', or null
.Dependency.getClients()
|
Copyright 2003, 2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |