| Author |
What should be included in class diagram
|
Bijan Mohanty
Ranch Hand
Joined: Apr 16, 2002
Posts: 36
|
|
Hi folks, I am having a hard time deciding what to show in the class diagram for the following situation. For example Address, I have a domain class as well as an entity bean. The entity bean takes the domain object in it's ejbCreate. I would like to know which class I show in my class diagram. Should I show the domain class Address or the entity bean by putting a stereotype as <<entitybean>>. Or, should I use the entity bean in the component diagram and sequence diagram only and use the domain object in the class diagram All expert advices will be appreciated. Thanks a bunch in advance. Bijan
|
 |
Madhavi Pillai
Greenhorn
Joined: Jul 18, 2003
Posts: 1
|
|
Hi, You can prepare a VOPC - (View of participating Classes) and show all the classes which belong to a particular use case, including the domain and entity bean class. VOPC, should also depict the appropriate relationship these classes share.
|
 |
Jehan Jaleel
Ranch Hand
Joined: Jan 16, 2001
Posts: 38
|
|
But what really is the difference between a domain class and an entity bean when it comes to how they will be represented in a class diagram? I see no point into putting both of them because their manifestations on the diagram seem to be very similar? Jehan
|
 |
 |
|
|
subject: What should be included in class diagram
|
|
|