I tried to quickly find the answer, did not work! How does the class diagram mean that class A creates objects of classes B and C? Does this have to be some kind of relation (arrow)?
|
1 answer
On the class diagram such links are not depicted. They may be depicted in an object diagram or a sequence diagram. If you are doing exactly the class diagram, then try to express it through an "association" or "dependency" relationship. Perhaps if you give a specific example of what you are working on, you will be able to give a more detailed answer.
- Let's say I want to draw a class diagram for windows applications written using MFC + STL + classes of my own, with the aim of graphic documentation of the project. Where can I see the finished UML project for some small application? - rejie
- Coarsening: if an instance of class A has attributes of type class B and class C, then this is an aggregation relation. If instances B and C are not part of A, then this is an association. - renegator
- And another question - Singleton Myers how to portray? :) (in the sense of whether he has some definite designation) - rejie
- UML does not operate with such specificities - it is an abstract language - renegator
|