• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Class Diagram: Only Persistent Classes?

 
ANKO NAG
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All,

Was wondering what classes should be included in the class diagram.

1. If I merely extend the BDOM, I am tempted to include only the persistent entity classes.
2. But what about transient classes? For example, an Itinerary object that is saved may not have the search criteria user had initially put in. Should there be a separate class to capture the search criteria.
3. Should I include the controller classes too in the class diagram? For example, Payment Manager or Flight Pricing Agent.

Thanks,

ANKO
 
ANKO NAG
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All you experts out there, I need help to move forward. Thanks to all!
 
ANKO NAG
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No takers ... may be now ... since christmas shopping is over!
 
Sourav Gupta
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
1. If I merely extend the BDOM, I am tempted to include only the persistent entity classes.
2. But what about transient classes? For example, an Itinerary object that is saved may not have the search criteria user had initially put in. Should there be a separate class to capture the search criteria.
3. Should I include the controller classes too in the class diagram? For example, Payment Manager or Flight Pricing Agent.


1. That was my thought too.
2. I am not sure why you want to store the search criteria behind an itinerary. There are multiple ways to achieve that. Remember there is no right or wrong so whichever way you decide to do ensure is your thought process being communicated via the diagram.
3) Again you are the vest person to decide on this. I have seen people passed with or without providing these classes. So you are the best judge.

I haven'e passed it yet;-) so don't take my statements for granted.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic