uk.ac.ucl.cs.uml.jmi.Foundation.Core
Interface Dependency
- All Superinterfaces:
- Element, ExtObject, ModelElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, Relationship
- All Known Subinterfaces:
- Abstraction, Binding, Permission, Usage
- All Known Implementing Classes:
- Abstraction_Impl, Binding_Impl, Dependency_Impl, Permission_Impl, Usage_Impl
public interface Dependency
- extends Relationship
A term of convenience for a Relationship other than Association,
Generalization, Flow, or metarelationship (such as the relationship
between a Classifier and one of its Instances).
A dependency states that the implementation or functioning of one or
more elements requires the presence of one or more other elements.
In the metamodel, a Dependency is a directed relationship from a
client (or clients) to a supplier (or suppliers) stating that the
client is dependent on the supplier (i.e., the client element
requires the presence and knowledge of the supplier element).
The kinds of Dependency are Abstraction, Binding, Permission, and
Usage. Various stereotypes of those elements are predefined.
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.Foundation.Core.ModelElement |
getAsArgument, getBehavior, getClientDependency, getComment, getConstraint, getContainer, getDefaultElement, getIsSpecification, getName, getNamespace, getPackage, getPresentation, getReferenceTag, getSourceFlow, getStereotype, getSupplierDependency, getTaggedValue, getTargetFlow, getTemplate, getTemplateArgument, getTemplateParameter, getVisibility, setDefaultElement, setIsSpecification, setName, setNamespace, setTemplate, setVisibility |
Methods inherited from interface javax.jmi.reflect.RefObject |
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite |
Methods inherited from interface javax.jmi.reflect.RefFeatured |
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue |
Methods inherited from interface javax.jmi.reflect.RefBaseObject |
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints |
getClient
Collection getClient()
throws javax.jmi.reflect.JmiException
- 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.
- Throws:
javax.jmi.reflect.JmiException
getSupplier
Collection getSupplier()
throws javax.jmi.reflect.JmiException
- Inverse of client. 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 may be irrelevant.
- Throws:
javax.jmi.reflect.JmiException