This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Part2 assignment small question  RSS feed

 
Luay Abdulraheem
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

I have a general question about the Part2 assignment.

Lets suppose that in the Use Case diagrams there are two actors, Customer and Salesman. (Both Customer and Salesman are in Use Case)

The Customer object is mentioned in the Business Domain Model, while the Salesman is NOT. (Only Customer object, No Salesman Object in Business Domain Model)

Question : In my Class diagram , should I consider the Salesman ?

 
Rajan Choudhary
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would consider single object "User" of the system. If the users attribute vary significantly, then 2 subclasse Customer & salesman make sense. smae design in DB tables as well...Hope this helps.
 
Sharma Ashutosh
Bartender
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with Rajan
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!