Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I am creating use cases for a project. A generic user is extended by user "categories" which then is extended by an administrator (that can do all tasks possible).

Is the following acceptable to portray? Is there a better way to portray such info?

sample use case

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Yes. This is acceptable.

Making all actors a subclass of "User" is needless. That goes without saying.

The original Objectory method (on which UML is based) explicitly makes the case that "Actor" is a kind of classifier, and has subclasses and superclasses.

Don't go crazy however. The inheritance among users should be kept quite simple.

share|improve this answer

To me, it looks like you're drawing a Class Diagram, but with fancy stick figures instead of boxes. IMO Use Case Diagrams should show how a person or other entity acts or reacts under certain conditions. I fail to see how extending a client is something an administrator does as part of his job, or something an administrator object could be capable of.

share|improve this answer
    
I am attempting to portray that an administrator can do the same tasks as a client (and pretty much anything anyone can do and then some). The client can't do the tasks of an administrator. Does this make sense? –  edmastermind29 Feb 23 '12 at 15:15
    
use case example <-- this is what I am trying to portray –  edmastermind29 Feb 23 '12 at 15:16
2  
When the administrator is performing a client task then they are performing the role of a client and not an administrator. There is absolutely no reason that you need to show that an administrator can do client tasks etc...That is not the purpose of use cases. The purpose of use-cases is is to figure exactly what your system needs to be able to do. –  Dunk Feb 23 '12 at 19:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.