Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Quick case diagram question

 
Andy Joness
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When creating a use case diagram and showing inheritance, should all inherited methods from the superclass class also be written in the subclass boxes? It seems like a waste of time to me, but I need to make sure
 
Matthew Brown
Bartender
Posts: 4568
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean class diagram? I wouldn't expect to see any classes in a use-case diagram.

Assuming you do: no. Everything relevant is inherited automatically, so you shouldn't repeat them in the subclass.
 
Andy Joness
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Opps, yes I mean class diagram. I also need to make a use case diagram so that's probably why I wrote the wrong thing

Anyway thanks, that's what I thought as it makes the most sense. Thanks for confirming it
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic