Previous UML Classes Table of Contents UML Packages Next


7.3.53 Usage

Dependencies


*Generalizations

   

    Dependency (from Dependencies ) on page 61

*Description

   A usage is a relationship in which one element requires another element (or set of elements) for its full implementation or operation. In the metamodel, a Usage is a Dependency in which the client requires the presence of the supplier.

*Attributes

   No additional attributes

*Associations

   No additional associations

*Constraints

   No additional constraints

*Semantics

   The usage dependency does not specify how the client uses the supplier other than the fact that the supplier is used by the definition or implementation of the client.

*Notation

   A usage dependency is shown as a dependency with a «use» keyword attached to it.

*Examples

   In the example below, an Order class requires the Line Item class for its full implementation.


   Figure 7.75 - An example of a use dependency