This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes OO, Patterns, UML and Refactoring and the fly likes Quick case diagram question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Quick case diagram question" Watch "Quick case diagram question" New topic
Author

Quick case diagram question

Andy Joness
Greenhorn

Joined: Sep 15, 2009
Posts: 24
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

Joined: Apr 06, 2010
Posts: 4425
    
    8

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

Joined: Sep 15, 2009
Posts: 24
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Quick case diagram question