Presentation is loading. Please wait.

Presentation is loading. Please wait.

Systems Analysis and Design in a Changing World, 6th Edition

Similar presentations


Presentation on theme: "Systems Analysis and Design in a Changing World, 6th Edition"— Presentation transcript:

1 Systems Analysis and Design in a Changing World, 6th Edition
Chapter 5 Systems Analysis and Design in a Changing World, 6th Edition

2 Extending the Requirements Models
Chapter 5 Systems Analysis and Design in a Changing World 6th Ed Satzinger, Jackson & Burd

3 Systems Analysis and Design in a Changing World, 6th Edition
Chapter 5 Outline Use Case Descriptions Activity Diagrams for Use Cases The System Sequence Diagram—Identifying Inputs and Outputs The State Machine Diagram—Identifying Object Behavior Integrating Requirements Models Systems Analysis and Design in a Changing World, 6th Edition

4 Systems Analysis and Design in a Changing World, 6th Edition
Overview Chapter 3: Modelling use cases (Processes) Chapter 4: Modelling classes (data) Chapter 5: Modelling use cases, in more detail including actors Stakeholders scenarios Preconditions post conditions the flow of activities Exceptions etc Systems Analysis and Design in a Changing World, 6th Edition

5 Systems Analysis and Design in a Changing World, 6th Edition
Use Case Descriptions Brief use case description Good initially, or for simple cases Systems Analysis and Design in a Changing World, 6th Edition

6 Fully Developed Use Case Description Use case: Create customer account
Systems Analysis and Design in a Changing World, 6th Edition

7 Fully Developed Use Case Description Create customer account (part 1 )
Systems Analysis and Design in a Changing World, 6th Edition

8 Fully Developed Use Case Description Create customer account (part 2 )
Systems Analysis and Design in a Changing World, 6th Edition

9 Systems Analysis and Design in a Changing World, 6th Edition
Another Fully Developed Use Case Description Example Use case Ship items Systems Analysis and Design in a Changing World, 6th Edition

10 Fully Developed Use Case Description Ship items (part 1 )
Systems Analysis and Design in a Changing World, 6th Edition

11 Fully Developed Use Case Description Ship items (part 2 )
Systems Analysis and Design in a Changing World, 6th Edition

12 Systems Analysis and Design in a Changing World, 6th Edition
UML Activity Diagram for Use Case Create Customer Account Note: this shows flow of activities only Systems Analysis and Design in a Changing World, 6th Edition

13 Systems Analysis and Design in a Changing World, 6th Edition
UML Activity Diagram for Use Case Fill shopping cart Note: this shows use case with <<includes>> reltionship Systems Analysis and Design in a Changing World, 6th Edition

14 System Sequence Diagram (SSD) Notation
Systems Analysis and Design in a Changing World, 6th Edition

15 SSD Message Examples with Loop Frame
Systems Analysis and Design in a Changing World, 6th Edition

16 SSD Message Examples Opt Frame (optional) Alt Frame (if-else)
Systems Analysis and Design in a Changing World, 6th Edition

17 Systems Analysis and Design in a Changing World, 6th Edition
Message Notation Systems Analysis and Design in a Changing World, 6th Edition

18 SSD for Create customer account Use case
Systems Analysis and Design in a Changing World, 6th Edition

19 SSD for Ship items Use Case
Systems Analysis and Design in a Changing World, 6th Edition

20 Systems Analysis and Design in a Changing World, 6th Edition
State Machine Diagram State machine diagram A UML diagram showing the life of an object in states and transitions State A condition during an object’s life when it satisfies some criterion, performs some action, or waits for an event Transition The movement of an object from one state to another state Action Expression A description of activities performed as part of a transition Systems Analysis and Design in a Changing World, 6th Edition

21 State Machine Diagram (continued)
Pseudo state The starting point of a state machine diagram (black dot) Origin state The original state of an object before transition Destination state The state to which the object moves after the transition Guard condition A true false test to see whether a transition can fire Systems Analysis and Design in a Changing World, 6th Edition

22 State Machine Diagram for a Printer
Systems Analysis and Design in a Changing World, 6th Edition

23 Systems Analysis and Design in a Changing World, 6th Edition
Composite States State containing other states and transitions Printer can be On and either Idle or Working Systems Analysis and Design in a Changing World, 6th Edition

24 Systems Analysis and Design in a Changing World, 6th Edition
Concurrent Paths Multiple paths in composite state Printer On paths are independent Systems Analysis and Design in a Changing World, 6th Edition

25 Steps for Developing State Machine Diagram
Review the class diagram and select classes that might require state machine diagrams For each class, make a list of status conditions (states) you can identify Begin building diagram fragments by identifying transitions that cause an object to leave the identified state Sequence these states in the correct order and aggregate combinations into larger fragments Review paths and look for independent, concurrent paths Systems Analysis and Design in a Changing World, 6th Edition

26 Steps for Developing State Machine Diagram (continued)
Look for additional transitions and test both directions Expand each transition with appropriate message event, guard condition, and action expression Review and test the state machine diagram for the class Make sure state are really state for the object in the class Follow the life cycle of an object coming into existence and being deleted Be sure the diagram covers all exception condition Look again for concurrent paths and composite states Systems Analysis and Design in a Changing World, 6th Edition

27 RMO Domain Class States for SaleItem Object
Systems Analysis and Design in a Changing World, 6th Edition

28 Final State Machine Diagram for SaleItem Object
addItem() and archive() transitions added markBackOrdered() transition added Systems Analysis and Design in a Changing World, 6th Edition

29 Initial State Machine Diagram for RMO Sale Object
Systems Analysis and Design in a Changing World, 6th Edition

30 Final State Machine Diagram for Sale Object
Systems Analysis and Design in a Changing World, 6th Edition

31 Integrating Requirements Models
Systems Analysis and Design in a Changing World, 6th Edition

32 Problems and Exercises
1(i and ii), 2, 3 Systems Analysis and Design in a Changing World, 6th Edition


Download ppt "Systems Analysis and Design in a Changing World, 6th Edition"

Similar presentations


Ads by Google