Defining dependencies
108
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
Maximum
length
Name Name of the dependency 254
Code Reference name for the dependency 254
Comment Descriptive comment for the dependency —
Independent Indicates that the two objects linked by the
dependency are totally independent from one
another
254
Dependant Indicates that the two objects linked by the
dependency are dependant, and therefore any
changes in one object will affect the other
254
Stereotype Pre-defined or user defined instance of the
dependency
—
Parent Name of the parent object of the dependency 254
Child Name of the child object of the dependency 254