| written 6.9 years ago by | • modified 6.8 years ago |
Subject: Object Oriented Modeling and Design
Difficulty: Medium
Marks: 4 Marks
| written 6.9 years ago by | • modified 6.8 years ago |
Subject: Object Oriented Modeling and Design
Difficulty: Medium
Marks: 4 Marks
| written 6.8 years ago by |
Generalization is used to show parent. Child relationship among the use-cases. Parent use case represents general behavior of a system. The child use case is a specialized behavior of parent use case with additional processing step. E.g. Select transaction is a base use case and withdraw money, check balance, change pin are sub use cases. Each sub use case defines parent use case with specialized behavior.
Notation: Generalization is shown with a solid line and hollow triangle placed near the base use case.

Example

The child use case is depend on the structure of base use case. The child use case addspecial behaviorto the parent use case by inserting segments of behaviorinto the inherited behavior. If parent use case is an abstract use case then the child use case redefines it by adding the segments into it.