Chapter5

902 views
793 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
902
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
40
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Chapter5

  1. 1. Session 5 Object Model Development
  2. 2. Review <ul><li>A class icon is a rectangle with three sections within it </li></ul><ul><li>An object is represented as a rectangle with an underlined name </li></ul><ul><li>Constraints are represented as strings enclosed in braces and placed near the element the constraint applies to </li></ul><ul><li>A comment is a graphical symbol containing information </li></ul><ul><li>Relationships provide a pathway for communication between objects </li></ul>
  3. 3. Objectives <ul><li>Explain use case and use case diagram </li></ul><ul><li>Explain the three key elements of use case diagram </li></ul><ul><li>Elaborate the relationship amongst use cases </li></ul><ul><li>Define the role of use case diagram in software development </li></ul><ul><li>Explain the use case model with examples </li></ul>
  4. 4. What is Use Case?-1 <ul><li>Use Case diagrams help to </li></ul><ul><ul><li>Focus on possible users of the system </li></ul></ul><ul><ul><li>Find out the roles that users are going to play while interacting with the system </li></ul></ul><ul><ul><li>Find out what fundamental services (use cases) the users in respective roles, expect from the system </li></ul></ul><ul><ul><li>Depict the interactions between each user or role and the services it expects from the system </li></ul></ul>
  5. 5. What is Use Case?-2 <ul><li>A Use Case is a sequence of actions a system performs that yield an observable result of value to a particular actor </li></ul>
  6. 6. What is Use Case?-2 <ul><li>Uses Cases represent the specified requirements as a series of interactions between the system and one or more actors. </li></ul><ul><li>The interactions help in describing the proposed functionality of the system to the users. </li></ul><ul><li>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. </li></ul><ul><li>The use cases provide a source for services provided by the system and help to determine the classes that the system must implement. </li></ul>
  7. 7. Use Case Diagram-1 Actor System Boundary Actor Class <<Actor>> Actor Name
  8. 8. Use Case Diagram-2 USE CASE Name << >> Stereotypes Use Case
  9. 9. Use Case Diagram-3
  10. 10. Use Case Diagram
  11. 11. Relationship amongst Use cases-1 Extends
  12. 12. Relationship amongst Use cases-2 Extends
  13. 13. Relationship amongst Use cases-3 Use
  14. 14. Role of Use Case Diagram during development <ul><li>Requirements workflow </li></ul><ul><li>Analysis and Design, use cases are realized in a design model </li></ul><ul><li>Implementation in terms of design classes </li></ul><ul><li>Constitute the basis for identifying test cases and test procedures </li></ul><ul><li>Basis for planning </li></ul><ul><li>Foundation for what is described in user manuals </li></ul><ul><li>Definition of ordering units </li></ul>
  15. 15. Apply use case model-1 <ul><li>Defining the problem </li></ul><ul><li>Defining the bounds of the problem </li></ul><ul><li>Understanding the vocabulary associated </li></ul><ul><li>with the problem domain </li></ul>
  16. 16. Apply use case model-2 <ul><li>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: </li></ul><ul><li>Savings Account </li></ul><ul><li>Current Account </li></ul><ul><li>Fixed Deposit Account of three types viz., short, </li></ul><ul><li>medium, and long term </li></ul><ul><li>ATM </li></ul>
  17. 17. Apply use case model-3 <ul><li>Deposit money </li></ul><ul><li>Withdraw money </li></ul><ul><li>Check balance </li></ul><ul><li>Process transaction </li></ul><ul><li>Print receipt </li></ul>
  18. 18. Apply use case model-4 <ul><li>Customer </li></ul><ul><li>ATM </li></ul>
  19. 19. Summary <ul><li>Use cases provide the basic ground to find out the classes in the model </li></ul><ul><li>Use case diagrams exhibit the relation between the actors and system functions in the model </li></ul><ul><li>Most of the time, use case diagrams are the first diagram while drawing the model of a system </li></ul><ul><li>Use case diagrams give the broad overview of the model </li></ul>

×