File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Quick case diagram question" Watch "Quick case diagram question" New topic

Quick case diagram question

Andy Joness

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

Joined: Apr 06, 2010
Posts: 4537

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

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:
subject: Quick case diagram question
jQuery in Action, 3rd edition