Need Clarification (Please Help)
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   John_Smith
Posted On:   Saturday, November 3, 2007 09:06 PM

I've done a UML diagram, but there are a couple of things I'm unsure about. 1. If we have a system where the user has to Login, do we then have to include that use case for all the other use cases? Example: In the system boundary I have the administrator instructor(as an actor). He must first login(use case 1). Then he can add or remove trainee (so use case 2:add trainee , use 3:remove trainee , right?). So in this kind of situation, do I need to draw an include stereotype from the add trainee, remove trainee use cases to the Login use case? Please note that I have a link (association) between the instructor and the Add trainee and Remove trainee use cases. At first I had only the link between the actor and the login use case.   More>>

I've done a UML diagram, but there are a couple of things I'm unsure about.

1. If we have a system where the user has to Login, do we then have to include that use case for all the other use cases?

Example: In the system boundary I have the administrator instructor(as an actor). He must first login(use case 1). Then he can add or remove trainee (so use case 2:add trainee , use 3:remove trainee , right?). So in this kind of situation, do I need to draw an include stereotype from the add trainee, remove trainee use cases to the Login use case?

Please note that I have a link (association) between the instructor and the Add trainee and Remove trainee use cases. At first I had only the link between the actor and the login use case. Then The login use case was connected by an include stereotype to both Add trainee and Remove trainee (this I think is wrong). Can anyone clarify as I'm confused please?

2. I have two other actors; coach and trainee. They also have to login. In the question it states:"The trainee logs in". And later it says something for the coach. What is confusing is that in the question it says something like this:"The coach has another login page". The word "another" makes me wonder if I need a seperate login use case for the coach. The trainee and the coach use the web to login. Whereas the admin uses a desktop program. So I'm thinking I need three seperate use cases(true?).

The way I'm thinking to do it is to have, one login use case, then seperate this into two (trainee and coach) using generalization, where Login is the base use case. Another question right here:

3. When seperating into two as in the situation above, do I use to includes or extends stereotype, or use generalization?

Also I have lines crossing over each other, is that okay?

Sorry for the long list of question, but I have almost completed this, but I need some clarfication on these questions before I submit this.

Thanks in advance and I appreciate any feedback.

Regards,

John

   <<Less

Re: Need Clarification (Please Help)

Posted By:   Stephen_McConnell  
Posted On:   Saturday, November 3, 2007 10:39 PM

Probably included in the Use Case for Login should be a description of how the login deterimines the User's Role. The Trainee and the Coach probably have different roles. You probably don't need a use case for each different type of login, but the login Use Case should describe role selection.


You'll have to ask your instructor about lines crossing over. Different instructors have different criteria.


Stephen McConnell

About | Sitemap | Contact