UML Use CasesSystems Development
Unified Modeling Language
What is the UML?• A language for  – Specifying  – Visualising  – Constructing  – Documenting• Artifacts of software-intens...
Objective of UML• “Provide a common vocabulary of object-  oriented terms and diagramming techniques  that is rich enough ...
Sample of UML Diagrams•   Use case diagram•   Class diagram•   Sequence diagram•   Statechart diagram•   Activity diagram•...
Use-Case Modelling
Key Ideas• A use case illustrates the activities that are performed by  users of a system.• It identifies the Actors invol...
USE-CASE DESCRIPTIONS
UML model of functional                   requirementsSystem                              TheUse-Case-Model Survey        ...
What are Use-Case Descriptions?• Describe basic functions of the system  – What the user can do  – How the system responds...
How Are Use-Cases Created?• Two steps:  – Write text-based case descriptions  – Translate descriptions into diagrams• Desc...
Elements of a Use-Case Description    Use Case                                                 Description     Section  Na...
Basic and alternate flow of events
USE-CASE DIAGRAMS
Syntax for Use-Case Diagram
The Use-Case Diagram for  Appointment System
Use-Case Diagram with Specialized              Actor
Extend and Include Relationships
Summary• Use-case descriptions are the basis for further  analysis and design.• Use-case diagrams present a graphical  ove...
Expanding the Domain• Additional resources regarding use-cases and  many other object-oriented development  topics can be ...
Upcoming SlideShare
Loading in …5
×

02 use cases

535 views
509 views

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
535
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
32
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • The use-case model consists of both diagrams and text. The diagrams give a visual overview of the system. The text gives descriptions of the actors and the use cases. The most important part of the use-case model is the text. Many people get the wrong idea of the word “modeling” and believe that use cases are just about visual modeling: drawing figures and arrows. Use cases involve writing text. Drawing the pictures is only a small part of the effort. Typically, more than 75% of all effort during requirements capture is to write the textual description of what happens in each use case. The description of what happens is called the flow of events. The important part of the use-case model is the text. Too many people get the wrong idea of the word “modeling” and believe that use cases are just about drawing figures and arrows. Use cases involve writing text. Don’t stress the modeling work; instead, stress the text work. A use case without the text is useless. Typically, more than 75% of all effort during requirements capture is to write the textual description of the flow of events.
  • 02 use cases

    1. 1. UML Use CasesSystems Development
    2. 2. Unified Modeling Language
    3. 3. What is the UML?• A language for – Specifying – Visualising – Constructing – Documenting• Artifacts of software-intensive system• Grady Booch, Ivar Jacobson, Jim Rumbaugh
    4. 4. Objective of UML• “Provide a common vocabulary of object- oriented terms and diagramming techniques that is rich enough to model any systems development project from analysis through implementation.” Dennis, Wixom and Tegarden 2005
    5. 5. Sample of UML Diagrams• Use case diagram• Class diagram• Sequence diagram• Statechart diagram• Activity diagram• Component diagram• Deployment diagram
    6. 6. Use-Case Modelling
    7. 7. Key Ideas• A use case illustrates the activities that are performed by users of a system.• It identifies the Actors involved in an interaction and names the type of interaction.• It illustrates the functionality of the system.• Use cases are logical models -- they describe the activities of a system without specifying how the activities are implemented.
    8. 8. USE-CASE DESCRIPTIONS
    9. 9. UML model of functional requirementsSystem TheUse-Case-Model Survey Actor 1 Use Case 1- survey description- list of all actors Actor 2- list of all use cases Use Case 2 Use Case 3 Actor 3 Use Case 1 Report Use Case 2 Report Use Case 3 Report - brief description - brief description - brief description - flow of events - flow of events - flow of events
    10. 10. What are Use-Case Descriptions?• Describe basic functions of the system – What the user can do – How the system responds• Use cases are building blocks for continued design activities.
    11. 11. How Are Use-Cases Created?• Two steps: – Write text-based case descriptions – Translate descriptions into diagrams• Describes one and only one function, but may have multiple paths.• Developed working with users for content.
    12. 12. Elements of a Use-Case Description Use Case Description Section Name An appropriate name for the use case Brief A brief description of the use case’s role and purpose. Description Flow of A textual description of what the system does with regard to the use case (not how specific Events problems are solved by the system). The description should be understandable to the customer. Special A textual description that collects all requirements, such as non-functional requirements, on the Requirements use case, that are not considered in the use-case model, but that need to be taken care of during design or implementation. Preconditions A textual description that defines any constraints on the system at the time the use case may start. Post A textual description that defines any constraints on the system at the time the use case will conditions terminate.
    13. 13. Basic and alternate flow of events
    14. 14. USE-CASE DIAGRAMS
    15. 15. Syntax for Use-Case Diagram
    16. 16. The Use-Case Diagram for Appointment System
    17. 17. Use-Case Diagram with Specialized Actor
    18. 18. Extend and Include Relationships
    19. 19. Summary• Use-case descriptions are the basis for further analysis and design.• Use-case diagrams present a graphical overview of the main functionality of a system.
    20. 20. Expanding the Domain• Additional resources regarding use-cases and many other object-oriented development topics can be found at:• http://www.omg.org

    ×