Presentation is loading. Please wait.

Presentation is loading. Please wait.

Session 5 Object Model Development. OOAD with UML / Session 5 / 2 of 19 Review A class icon is a rectangle with three sections within it An object is.

Similar presentations


Presentation on theme: "Session 5 Object Model Development. OOAD with UML / Session 5 / 2 of 19 Review A class icon is a rectangle with three sections within it An object is."— Presentation transcript:

1 Session 5 Object Model Development

2 OOAD with UML / Session 5 / 2 of 19 Review A class icon is a rectangle with three sections within it An object is represented as a rectangle with an underlined name Constraints are represented as strings enclosed in braces and placed near the element the constraint applies to A comment is a graphical symbol containing information Relationships provide a pathway for communication between objects

3 OOAD with UML / Session 5 / 3 of 19 Objectives Explain use case and use case diagram Explain the three key elements of use case diagram Elaborate the relationship amongst use cases Define the role of use case diagram in software development Explain the use case model with examples

4 OOAD with UML / Session 5 / 4 of 19 What is Use Case?-1 Use Case diagrams help to Focus on possible users of the system Find out the roles that users are going to play while interacting with the system Find out what fundamental services (use cases) the users in respective roles, expect from the system Depict the interactions between each user or role and the services it expects from the system

5 OOAD with UML / Session 5 / 5 of 19 What is Use Case?-2 A Use Case is a sequence of actions a system performs that yield an observable result of value to a particular actor

6 OOAD with UML / Session 5 / 6 of 19 What is Use Case?-2 Uses Cases represent the specified requirements as a series of interactions between the system and one or more actors. The interactions help in describing the proposed functionality of the system to the users. In the case of a complex system, use cases also provide a starting point for the analysis of the system in terms of what needs to be built. The use cases provide a source for services provided by the system and help to determine the classes that the system must implement.

7 OOAD with UML / Session 5 / 7 of 19 Use Case Diagram-1 > Actor Name Actor System Boundary Actor Class

8 OOAD with UML / Session 5 / 8 of 19 Use Case Diagram-2 USE CASE Name > Stereotypes Use Case

9 OOAD with UML / Session 5 / 9 of 19 Use Case Diagram-3

10 OOAD with UML / Session 5 / 10 of 19 Use Case Diagram

11 OOAD with UML / Session 5 / 11 of 19 Relationship amongst Use cases-1 Extends

12 OOAD with UML / Session 5 / 12 of 19 Relationship amongst Use cases-2 Extends

13 OOAD with UML / Session 5 / 13 of 19 Relationship amongst Use cases-3 Use

14 OOAD with UML / Session 5 / 14 of 19 Role of Use Case Diagram during development Requirements workflow Analysis and Design, use cases are realized in a design model Implementation in terms of design classes Constitute the basis for identifying test cases and test procedures Basis for planning Foundation for what is described in user manuals Definition of ordering units

15 OOAD with UML / Session 5 / 15 of 19 Apply use case model-1  Defining the problem  Defining the bounds of the problem  Understanding the vocabulary associated with the problem domain

16 OOAD with UML / Session 5 / 16 of 19 Apply use case model-2 Bank of Aptech wants to computerize its operations. This bank will provide Retail Services to its customers. The services are defined in terms of products the bank offers. These are:  Savings Account  Current Account  Fixed Deposit Account of three types viz., short, medium, and long term  ATM

17 OOAD with UML / Session 5 / 17 of 19 Apply use case model-3  Deposit money  Withdraw money  Check balance  Process transaction  Print receipt

18 OOAD with UML / Session 5 / 18 of 19 Apply use case model-4  Customer  ATM

19 OOAD with UML / Session 5 / 19 of 19 Summary Use cases provide the basic ground to find out the classes in the model Use case diagrams exhibit the relation between the actors and system functions in the model Most of the time, use case diagrams are the first diagram while drawing the model of a system Use case diagrams give the broad overview of the model


Download ppt "Session 5 Object Model Development. OOAD with UML / Session 5 / 2 of 19 Review A class icon is a rectangle with three sections within it An object is."

Similar presentations


Ads by Google