d02e6d0be4d9dc47ca15c2b55391f2a7.ppt
- Количество слайдов: 24
7 Chapter 7: The Object-Oriented Approach to Requirements Systems Analysis and Design in a Changing World, 3 rd Edition
The Unified Modeling Language and the Object Management Group 7 u Object-oriented modeling notation is Unified Modeling Language (UML) u UML was presented to Object Management Group (OMG) as standard modeling technique u Purpose of Object Management Group l Promote theory and practice of object technology for development of distributed systems l Provide common architectural framework for OO Systems Analysis and Design in a Changing World, 3 rd Edition 4
7 Object-Oriented Requirements u Systems development process starts with identification of events and things l Events are business processes that new system must address l Things are problem domain objects involved in business process Systems Analysis and Design in a Changing World, 3 rd Edition 5
7 Object-Oriented Approach Models u Class diagram – definition of system components u Use case diagrams and use case descriptions – show user roles and how they use the system u Systems sequence diagrams (SSDs) – define inputs and outputs and sequence of interactions between user and system for a use case u Statechart diagrams – describe states of each object u Activity diagrams – describe user activities Systems Analysis and Design in a Changing World, 3 rd Edition 6
Requirements Diagrams: Traditional and OO Models Systems Analysis and Design in a Changing World, 3 rd Edition 7 7
The System Activities – A Use Case / Scenario View 7 u Use case analysis used to identify and define all business processes that system must support u Use Case - single function performed by system for those who use that function u Actors l Role played by user l Outside automation boundary and organization Systems Analysis and Design in a Changing World, 3 rd Edition 8
7 Simple Use Case with an Actor Systems Analysis and Design in a Changing World, 3 rd Edition 10
7 Use Case Diagram with System Boundary Systems Analysis and Design in a Changing World, 3 rd Edition 11
7 Use Case of Customer Support Systems Analysis and Design in a Changing World, 3 rd Edition 12
7 All Use Cases Including Customer Systems Analysis and Design in a Changing World, 3 rd Edition 13
Example of Order-Entry Subsystem with <<Includes>> Use Cases (Figure 7 -6) 7 <<includes>> Common Subroutines Systems Analysis and Design in a Changing World, 3 rd Edition 15
7 Developing a Use Case Diagram u Starting points for use case development l Use event table l Identify all actors of the system l Identify functions actors perform with system u Develop flow of activities to identify various scenarios u Common internal use cases can be identified and separated into different use cases Systems Analysis and Design in a Changing World, 3 rd Edition 16
Brief Description of Create New Order Use Case Systems Analysis and Design in a Changing World, 3 rd Edition 7 19
Intermediate Description of the Telephone Order Scenario for Create New Order Systems Analysis and Design in a Changing World, 3 rd Edition 7 20
Intermediate Description of the Web Order Scenario for Create New Order Systems Analysis and Design in a Changing World, 3 rd Edition 7 21
Fully Developed Description of Telephone Order Scenario for Create New Order Systems Analysis and Design in a Changing World, 3 rd Edition 7 22
Fully Developed Description of Web Order Scenario for Create New Order Systems Analysis and Design in a Changing World, 3 rd Edition 7 23
7 Activity Diagram: Telephone Order Scenario Systems Analysis and Design in a Changing World, 3 rd Edition 25
7 Activity Diagram: Web Order Scenario Systems Analysis and Design in a Changing World, 3 rd Edition 26
Problem Domain Modeling – The Domain Model Class Diagram 7 u Class diagram is focal point of object-oriented development u Provides definition of system components u Contains important class structural information for implementation with object-oriented programming u Provides conceptual data model to describe classes for database definition u Consists of problem domain classes and implementation classes Systems Analysis and Design in a Changing World, 3 rd Edition 37
7 RMO Domain Model Class Diagram Systems Analysis and Design in a Changing World, 3 rd Edition 39
Relationships Between OO Requirements Models Systems Analysis and Design in a Changing World, 3 rd Edition 7 41
7 Use Case Diagram for Inventory Systems Analysis and Design in a Changing World, 3 rd Edition 42
Relationships Between OO Requirements Models (Figure 7 -28) Systems Analysis and Design in a Changing World, 3 rd Edition 7 43
d02e6d0be4d9dc47ca15c2b55391f2a7.ppt