Reputation: 936
Let A and B are classes.
as a example for above scenario consider there is project manager and he is responsible for creating,editing,deleting project from the system
i know class A create class b can show in UML as dependency relationship
i have two questions
how to represent class delete another class
so there is both association and dependency relationship from A to B. How should this relationship be demonstrated on UML class diagram? Should I use booth association(straight line) and dependency(dashed line) relationships
Upvotes: 1
Views: 338
Reputation: 36313
You simply put a multiplicity of 0..1
towards the association to B
. And that's it. No extra dependency.
Upvotes: 1