a dependency is displayed in the diagram editor as a dashed line with an open arrow that points from the client to the supplier.
Class SearchController depends on (requires) SiteSearch interface.
In this case, the dependency is an instantiate dependency, where the Car class is an instance of the CarFactory class."
Wrong: Car class has a dependency on the CarFactory class.
Right: CarFactory class depends on the Car class.
Right: CarFactory class depends on the Car class.
Web Shopping package uses (depends on) Payment package.
Create is a usage dependency denoting that the client classifier creates instances of the supplier classifier. It is denoted with the standard stereotype «create».
Class DataSource creates Connection.
Generalization
Association
that conceptually means that the two components are linked to each other.
This association is represented by the following symbol in UML:
No comments:
Post a Comment