03usecase

  • 515 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
515
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
27
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • To create an actor using the Browser Click right on the Use Case View package in the Browser to make the pop up menu visible. Select the New:Actor menu command. This will add a new actor called NewClass to the Browser. While the actor case is still selected, enter its name. If someone asks why the actor is called NewClass you can say that Rose uses a stereotype for a class to define an actor. Stereotypes are discussed in the Class Diagram lesson.
  • To create a use case using the Browser Click right on the Use Case View package in the Browser to make the pop up menu visible. Select the New:Use Case menu command. This will add a new use case called NewUseCase to the Browser. While the new use case is still selected, enter its name.
  • To create a use case diagram using the Browser Click right on the Use Case View package in the Browser to make the pop up menu visible. Select the New:Use Case Diagram menu command. This will add a new use case diagram called NewDiagram to the Browser. While the new use case diagram is still selected, enter its name.
  • To add actors and/or use cases to a use case diagram Click to select the actor or use case in the Browser. Drag the actor or use case onto the diagram. To create a new actor or use case using a Use Case Diagram Click to select the actor icon or the use case icon on the toolbar. Click on the diagram to place the new actor or use case. While the new actor or use case is still selected, enter its name. The new actor or use case will automatically be added to the Browser. To create relationships Click to select the Unidirectional association icon on the toolbar. Click on the actor or use case starting the communication. Drag the association line to the other actor or use case participating in the communication. The main type of relationship shown on a use case diagram is a communication relationship.
  • As relationships are added to use case diagrams, they are automatically added to the Browser.
  • To create uses and extends relationships Click to select the unidirectional association icon on the toolbar. To create a uses relationship, click on the using use case and drag the association line to the used use case. To create an extends relationship, click on the use case providing the extension and drag the association line to the use case being extended. Click right on the association icon to make the pop up menu visible. Select the Open Specification menu command. If this is the first time the uses or extends stereotype is being used, enter the name uses or extends in the Stereotype field. If this is not the first time the uses or extends stereotype is being used, click the arrow in the Stereotype field to make the popup menu visible and select uses or extends. Click the OK button to close the Specification. The UML uses a dependency relationship but this is not supported by Rose yet. The Rational Unified Process recommends using a unidirectional association.
  • To set line color Click to select the line on a use case diagram. The Shift key may be used to do a multi-select. Select the Edit:Diagram Object Properties:Line Color menu command. Select the desired color. Click the OK button to close the Color dialog box. To set fill color Click to select the use case on a use case diagram. The Shift key may be used to do a multi-select. Select the Edit:Diagram Object Properties:Fill Color menu command. Select the desired color. Click the OK button to close the Color dialog box. Line and fill colors may be used in a use case diagram.
  • To create the brief description via the Documentation Window If the Documentation Window is not visible, click to select the View:Documentation menu command to make the window visible. Click to select the use case in the Browser or on a diagram. Enter the brief description in the Documentation Window. To add documentation via the Use Case Specification Click right on the class in the Browser to make the pop up menu visible. Select the Open Specification menu command. Enter the documentation in the Documentation field. Note: Documentation added via the Use Case Specification is automatically added to the Documentation Window. Documentation added via the Documentation Window is automatically added to the Use Case Specification . Use cases are described using a brief description which is a high level description of the use case and with a flow of events document. The brief description is added using either the Documentation Window or the Documentation field of the Use Case Specification.
  • To link an external document using drag and drop Click to select the document in the Windows Explorer. Drag the document on the use case in the Browser. To link an external document or URL using the Use Case Specification Click right on the use case in the Browser or on a use case diagram to make the pop up menu visible. Select the Open Specification menu command. Select the Files tab. Click right to make the pop up menu visible. Select the Insert File menu command to make the Open window visible or the Insert URL menu command to insert a URL If you inserting a file, use the Open window to specify the file. If you are inserting a URL, replace www.rational.com with the correct URL. Click the OK button to close the Specification. The flow of events for a use case is contained in an external document which is then linked to the use case. Linked documents and URLs are displayed in the Browser

Transcript

  • 1. Introduction to Rational Rose 98i Module 3: Use Case Diagram
  • 2. Objectives: Use Case Diagram
    • You will be able to:
      • Create actors and use cases
      • Create use case diagrams
      • Document use cases
  • 3. What is a Use Case Diagram?
    • Use case diagrams show:
      • The functionality of a system or a class
      • How the system interacts with the outside world
    • Use case diagrams contain actors, use cases, and relationships
    • Notation:
    Use Case Name Actor Name
  • 4. Actors in the Browser
  • 5. Use Cases in the Browser
  • 6. Use Case Diagrams
  • 7. Use Case Diagram Drawing Toolbar Text Anchor Note to Item Actor Selection Tool Note Package Use Case Unidirectional Association Generalization Dependency
  • 8. Use Case Diagram
  • 9. Associations in the Browser
  • 10. Use Case Relationships
  • 11. Color
  • 12. Brief Description -- Register for Courses
  • 13. Linking External Documents and URLs
  • 14. Linked Documents and Virtual Paths
    • Rose will store the linked document using a virtual path if one is found
    (object UseCase "Register for Courses" quid "362606F50204" documentation "This use case is started by the Student. It provides the capability to create, modify, delete, and/or print a schedule for a specified semester." external_docs (list external_doc_list (object external_doc external_doc_path "$CURDIRRegister for Courses.doc")) superclasses (list inheritance_relationship_list (object Inheritance_Relationship quid "36260A0F0260" stereotype "uses" supplier "Use Case View::Login" quidu "362607640286")))
  • 15. Use Case Diagram Exercises
    • Use the pictures on the following pages to create the actors, use cases, documentation, and relationships for your model
  • 16. Exercise: Use Case Diagram
  • 17. Exercise: Use Case Brief Description