
Defining dependencies
Defining dependencies
A dependency is a relationship between two modeling elements, in which a change to one modeling element (the independent element) will affect the other modeling element (the dependent element).
The dependency relationship indicates that one class or interface in a component diagram uses the services or facilities of another class or interface.
Dependency properties
A dependency has the following properties:
Property | Description |
Name | Name of the dependency |
|
|
Code | Reference name for the dependency |
|
|
Comment | Descriptive comment for the dependency |
|
|
Independent | Indicates that the two objects linked by the |
| dependency are totally independent from one |
| another |
|
|
Dependant | Indicates that the two objects linked by the |
| dependency are dependant, and therefore any |
| changes in one object will affect the other |
|
|
Stereotype | |
| dependency |
|
|
Parent | Name of the parent object of the dependency |
|
|
Child | Name of the child object of the dependency |
|
|
Maximum length
254
254
—
254
254
—
254
254