functional modeling chapter 6. slide 2 objectives ■ understand the rules and style guidelines for...

34
Functional Modeling Chapter 6

Upload: lee-phelps

Post on 21-Dec-2015

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Functional Modeling

Chapter 6

Page 2: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 2

Objectives■ Understand the rules and style guidelines

for activity diagrams.

■ Understand the rules and style guidelines for use cases and use case diagrams.

■ Understand the process used to create use cases and use case diagrams.

■ Be able to create functional models using activity diagrams, use cases, and use case diagrams.

Page 3: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Functional models

Used to document and understand requirementsDescribe business processes and interaction with environmentUsed for both as-is and to-be systemsTwo types: activity diagrams and use cases

Slide 3

Page 4: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Functional models

Both activity diagrams and use cases are logical models – describe the activities of a system without specifying how the activities are implementedFocus on how business runs instead of implementation details

Slide 4

Page 5: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 5

Business Process Modeling with Activity Diagrams

Elements of an Activity DiagramGuidelines for Creating Activity Diagrams

Page 6: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Activity Diagrams

Used for any process modeling activity, esp. business process modelingProcess models show how a business system operates

Processes/activities performedHow objects/data move

Slide 6

Page 7: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 7

BPM With Activity Diagrams

A number of activities support a business process across several departmentsActivity diagrams model the behavior in a business process

Sophisticated data flow diagramsAddresses Parallel concurrent activities and complex processes

Page 8: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Activity Diagram syntax

Slide 8

Page 9: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Activity Diagram syntax

Slide 9

Page 10: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 10

Activity Diagram Example

Page 11: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 11

Activity Diagram Example

Page 12: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 12

Creating Activity Diagrams1. Since an activity diagram can be used to model

any kind of process, you should set the context or scope of the activity being modeled. Once you have determined the scope, you should give the diagram an appropriate title.

2. You must identify the activities, control flows, and object flows that occur between the activities.

3. You should identify any decisions that are part of the process being modeled.

4. You should attempt to identify any prospects for parallelism in the process.

5. You should draw the activity diagram.

Page 13: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 13

USE-CASE DESCRIPTIONS

Page 14: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Use Cases

Formal way of representing how system interacts with its environmentIllustrates the activities that are performed by users of a systemProvide external or functional view of a process, not internal mechanism

Slide 14

Page 15: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 15

What are Use-Case Descriptions?

Describe basic functions of the system

What the user can doHow the system responds

Use cases are building blocks for continued design activities.

Page 16: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 16

How Are Use-Cases Created?

Two steps:Write text-based case descriptionsTranslate descriptions into diagrams

Describes one and only one function, but may have multiple paths.Developed working with users for content.

Page 17: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 17

Elements of a Use-Case Description

Use Case Name: ID: Importance Level:

Primary Actor: Use Case Type:

Stakeholders and Interests:

Brief Description:

Trigger:

Relationships: (Association, Include, Extend, Generalization)

Normal Flow of Events:

Subflows:

Alternate/Exceptional Flows:

Page 18: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Use Case Description Example

Slide 18

Page 19: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 19

Guidelines for Creating Use-Case Descriptions

Write each step in “SVDPI” formClarify initiator and receivers of actionWrite from independent observer perspectiveWrite at same level of abstractionEnsure a sensible set of stepsApply KISS principle liberallyWrite repeating instructions after the set of steps to be repeated.

Page 20: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 20

Your Turn

How would you make requirements gathering (interviews, questionnaires) more effective by knowing that eventually you will be creating use-case descriptions and diagrams?

Page 21: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 21

USE-CASE DIAGRAMS

Page 22: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 22

Syntax for Use-Case Diagram

Page 23: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 23

The Use-Case Diagram for Appointment System

Page 24: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 24

Use-Case Diagram with Specialized Actor

Page 25: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 25

Extend and Include Relationships

Page 26: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 26

CREATING USE-CASE DESCRIPTIONS AND USE-CASE DIAGRAMS

Page 27: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 27

Major Steps in Writing Use-Cases and Use-Case Diagrams

Identify the major use-casesExpand the major use-caseConfirm the major use-casesCreate the use-case diagram

Page 28: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 28

Identifying the Major Use-Cases

Review the activity diagramIdentify the system’s boundariesList the primary actorsList the goals of each primary actorIdentify and write the major use-casesCarefully review and revise use-cases

Page 29: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 29

Expand the Major Use-Cases

Choose one major use-case to expandFill in details on the use-case templateFill in the steps of the normal flow of eventsNormalize the size of each stepDescribe alternate or exceptional flowsSimplify and organize as necessary

Page 30: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 30

Confirm the Major Use Cases

Review the current setConsider semantics and syntaxHelpful to involve the users

Iterate the entire set of steps until all use cases are defined

Page 31: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 31

Create the Use-Case Diagram

Start with system boundaryPlace elements in order to be easy to readPlace actors on the diagramConclude by connecting actors to use cases by lines

Page 32: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 32

Writing Effective Use-Case Descriptions

Page 33: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Reading Task

Slide 33

In pages 190 – 202 of the textbook, you will find an in-depth case study (CD Selections) of how to create use case descriptions and diagramsRead and understand the case study

Page 34: Functional Modeling Chapter 6. Slide 2 Objectives ■ Understand the rules and style guidelines for activity diagrams. ■ Understand the rules and style

Slide 34

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.