
| Chapter 2 Building an |
Analyzing dependency properties | |
Stereotype | You can select a stereotype for a dependency from the following several |
| default values: |
Stereotype
access
bind
call
derive
friend
import
Description
Public contents of the target package that can by accessed by the source package
Source object that instantiates the target template using the given actual parameters
Source operation that invokes the target operation
Source object that can be computed from the target
Source object that has special visibility towards the target
Everything that is declared as public in the target object becomes visible to the source object, as if it were part of the source object definition
include
instantiate
refine
trace
use
Source use case incorporates the behavior of another use case at a location that is specified by the source
Specifies that operations on the source class create instances of the target class
Degree of abstraction of the source object is finer than that of the target object
Specifies that there is an historical link between the source object and the target object
Specifies that the semantics of the source object are dependent on the semantics of the public part of the target object
Creating a dependency
You can create a dependency between two classes, two interfaces, or between a class and an interface. You create dependencies in a diagram.
ϖTo create a dependency:
1 Click the Dependency tool in the palette toolbar.
2 Drag the dependency link from the child class or interface to the parent class or interface.