Friday, October 10, 2008

Interview Questions for Business Analysts and Systems Analysts

Careers


Interview Questions


Recent Questions | Categories | Search | Subscribe (RSS)

What is actor generalization?
Question: What is actor generalization?

Statistics:Article Rating (2952 Views) (2 Additional Answers/Comments)
Posted by: sekharny on Tuesday, May 27, 2008
Categories: Unified Modeling Language (UML), Use Cases


Answer:
 

In the context of use case modeling the actor generalization refers to the relationship which can exist between two actors and which shows that one actor (descendant) inherits the role and properties of another actor (ancestor).  The generalization relationship also implies that the descendant actor can use all the use cases that have been defined for its ancestor.

For those of you familiar with object oriented concepts: actors in UML are classes and the generalization is simply the inheritance relationship between two actors by which one actor inherits all the properties and relationships of another actor.

Example 1:

When it comes to air travel, both a "Business Traveler" and a "Tourist" are "Passengers".  The fact that they are passengers allow them to have common behavior such as "Buy Ticket" but the fact that they are separate actors implies they can also have differences.  The "Business Traveler" might be able to "Redeem Business Miles" while the "Tourist" cannot.

Example 2:

Another scenario often found in many systems is when the system administrator, who gets additional functionality, is actually one of the normal users.  So let's say that the system is an accounting system with the main actor being "Accountant" and with another actor called "Administrator".  In our scenarios the Administrator should be able to perform all the normal accounting functions in addition to his/her administrator role. 

The way to model this would be to show relationships between the Administrator actor and all the admin only use cases, then show all the accounting specific use cases related to the "Accountant" actor.  And now, the only other thing you need to do for the "Administrator" to have access to the accounting features is to use the generalization relationship between the "Accountant" and the "Administrator" with the Administrator actor (descendant) inheriting from the Accountant actor (the ancestor).

Additional Answers/Comments
Posted by sekharny on Tuesday, May 27, 2008 2:32 PM
Thank You so much for detailed and easy to understand answer.

Posted by pallsb on Tuesday, September 09, 2008 2:55 PM
Actor generalization : logical relationship link beetween actors. A specialized actor, can relate himself with any use case related with the base use case. Then it can be related with other use cases that are not related with the base use case.

Pallavi

You must be logged in to post a comment. You can login here
Syndicate  
Templates & Aides: find/share business analysis templates as well as other useful aides in our new Templates & Aides repository, such as:
ModernAnalyst.com LinkedIn Group
* Requirements Template

* Use Case Template

* BPMN Cheat Sheet

Registered users can...

 - post new questions,
- add answers & comments,
- rate questions & answers.

Login - Register




Privacy Statement  |  Terms Of Use
Copyright 2006-2008 by Modern Analyst Media LLC