复旦大学:《面向对象分析和设计》课程资料_UML和模式_Chapter 10 - 系统顺序图

Chapter 10 系统顺序图
Chapter 10 系统顺序图

现在的位置 System Iteration 1 Domain Sequence Operation Transition Requirements Modeling Diagrams Contracts to Design
现在的位置

Sample UP Artifact Relationships Domain model Modeling uantity Use-Case model Vision makes new Gloss parameters and Use Case Text irn value details ments Use Case Diagram events System Operation Supplementary ification Post-conditions: operations enterltem Operation Contracts System Sequence Diagrams starting events to design for Design Model Productcatalog adaLine Item( spec, quantity)
Operation: enterItem(…) Post-conditions: - . . . Operation Contracts Sale date . . . Sales LineItem quantity 1 1..* . . . . . . Domain Model Use-Case Model Design Model : Register enterItem (itemID, quantity) : ProductCatalog spec = getProductSpec( itemID ) addLineItem( spec, quantity ) : Sale Requirements Business Modeling Design Sample UP Artifact Relationships : System enterItem (id, quantity) Use Case Text System Sequence Diagrams make NewSale() system events Cashier Process Sale : Cashier use case names system operations Use Case Diagram Vision Supplementary Specification Glossary parameters and return value details starting events to design for Process Sale 1. Customer arrives ... 2. Cashier makes new sale. 3.

目标 口确定系统事件 口为用例场景确定系统顺序图
目标 确定系统事件 为用例场景确定系统顺序图

什么是系统顺序图SSD 口系统事件: 外部输入的,驱动系统的事件称为系统事件。 外界通过系统事件对系统进行交互,在这个意义上, 系统顺序图是以黑盒的方式来描述系统。 口对于用例的一个特定的场景,系统顺序图用于表 示外部参与者产生的事件,及其发生的顺序
什么是系统顺序图(SSD) 系统事件: ◼ 外部输入的,驱动系统的事件称为系统事件。 ◼ 外界通过系统事件对系统进行交互,在这个意义上, 系统顺序图是以黑盒的方式来描述系统。 对于用例的一个特定的场景,系统顺序图用于表 示外部参与者产生的事件,及其发生的顺序

示例 Process sale scenario Cashier System makeNewSale Simple cash-only Process sale scenario 1. Customer arrives at a pos checkout loop丿 more items with goods and/or services to purchase enterltem(itemID, quantity) 2. Cashier starts a new sale 3. Cashier enters item identifie description, total 4. System records sale line item and presents item description, price, and running total Cashier repeats steps 3-4 until indicates done end Sale 5. System presents total with taxes calculated 6. Cashier tells customer the total and total with taxes asks for payment 7. Customer pays and System handles payment makePayment(amount) change due, re
示例 : Cashier :System Simple cash-only Process Sale scenario: 1. Customer arrives at a POS checkout with goods and/or services to purchase. 2. Cashier starts a new sale. 3. Cashier enters item identifier. 4. System records sale line item and presents item description, price, and running total. Cashier repeats steps 3-4 until indicates done. 5. System presents total with taxes calculated. 6. Cashier tells Customer the total, and asks for payment. 7. Customer pays and System handles payment. ... enterItem(itemID, quantity) endSale makePayment(amount) description, total total with taxes change due, receipt makeNewSale loop [ more items ] Process Sale Scenario

UML的顺序图与系统顺序图(SSD 口UML中定义的顺序图,而没有所谓的系统顺序图 口用“系统”来修饰顺序图强调了该图对于我们的 系统而言是一个黑盒模型 口SSD和用例之间的关系 ■SSD展示了用例中一个场景的系统事件,因此他是从 对用例的考察中产生的 口SsD也同样可以用来阐述系统之间的协作,例如 Nextgen pos和外部信用卡支付授权系统之间 的协作
UML的顺序图与系统顺序图(SSD) UML中定义的顺序图,而没有所谓的系统顺序图。 用“系统”来修饰顺序图强调了该图对于我们的 系统而言是一个黑盒模型。 SSD和用例之间的关系 ◼ SSD展示了用例中一个场景的系统事件,因此他是从 对用例的考察中产生的。 SSD也同样可以用来阐述系统之间的协作,例如 NextGen POS和外部信用卡支付授权系统之间 的协作

系统顺序图的组成 system as black box the name could be"NextGenPOS" but"System"keeps it the",and underline imply an instance, and are explained in a later chapter on sequence diagram notation in the UML external actor to Process sale scenario o Cashier System make Sale UML loop interaction Item(temID, quantity) frame. with a boolean guard expression description total endsale parameters associated with the total with taxes it is an abstraction system event of an abstraction that entering the ignores presentation makePayment(amount and medium payment data by some mechanism the return line is change due, recei optional if nothing is returned
系统顺序图的组成 enterItem(itemID, quantity) : Cashier :System endSale makePayment(amount) a UML loop interaction frame, with a boolean guard expression external actor to system Process Sale Scenario system as black box the name could be "NextGenPOS" but "System" keeps it simple the ":" and underline imply an instance, and are explained in a later chapter on sequence diagram notation in the UML a message with parameters it is an abstraction representing the system event of entering the payment data by some mechanism description, total return value(s) associated with the previous message an abstraction that ignores presentation and medium the return line is optional if nothing is returned total with taxes change due, receipt makeNewSale loop [ more items ]

如何为系统事件和操作命名 口系统事件应该用抽象层次比较高的词语来表达, 避免使用物理级别的术语 Sys stem Cashie better name enterltem(itemID, quantity) scan(itemID, quantity) worse name
如何为系统事件和操作命名 enterItem(itemID, quantity) scan(itemID, quantity) : Cashier worse name better name :System 系统事件应该用抽象层次比较高的词语来表达, 避免使用物理级别的术语

SSD与词汇表 口SsD中所示的元素,如操作名称、参数和返回数 据,通常非常简洁,同时也是非常关键的。需要 对这些元素加以适当的解释以便在设计是能够明 确地知道输入了什么,输出了什么 口词汇表是详细描述这些元素的最佳选择
SSD与词汇表 SSD中所示的元素,如操作名称、参数和返回数 据,通常非常简洁,同时也是非常关键的。需要 对这些元素加以适当的解释以便在设计是能够明 确地知道输入了什么,输出了什么 词汇表是详细描述这些元素的最佳选择
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_Chapter 9 - 领域模型.ppt
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_Chapter 8 - 细化阶段的迭代——基础.ppt
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_Chapter 7 - 其他需求.ppt
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_Chapter 6 - 用例.ppt
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_Chapter 4 Chapter 5 - 初始阶段的需求.ppt
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_Chapter 3 - 案例分析 THE NEXTGEN POS SYSTEM.ppt
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_OOP:Object-Oriented Programming.pptx
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_Chapter 2 - 迭代、进化和敏捷.ppt
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_Chapter 1 - 面向对象分析和设计.ppt
- 复旦大学:《面向对象分析和设计》课程资料_课程注册系统_9-11 UC Design、Subsystem Design、Class Design.pdf
- 复旦大学:《面向对象分析和设计》课程资料_课程注册系统_6-8 Identify Design Elements、RunTime Architecture、Describe Distribution.pdf
- 复旦大学:《面向对象分析和设计》课程资料_课程注册系统_1-5 最佳实践、需求、分析设计、架构分析、用例分析.pdf
- 复旦大学:《面向对象分析和设计》课程资料_Exception handling refactorings.pdf
- 复旦大学:《面向对象分析和设计》课程资料_Error Handling.pdf
- 复旦大学:《面向对象分析和设计》课程资料_AntiPattern_2.Servlet.pdf
- 复旦大学:《面向对象分析和设计》课程资料_AntiPattern_1.JSP J2EE Refactoring Patterns/AntiPatterns.pdf
- 复旦大学:《面向对象分析和设计》课程资料_分析模式_责任模式 Accountability.pdf
- 复旦大学:《面向对象分析和设计》课程资料_分析模式_观察和测量模式.pptx
- 复旦大学:《面向对象分析和设计》课程资料_UML&GRASP_UMLProfile.pdf
- 复旦大学:《面向对象分析和设计》课程资料_UML&GRASP_5.5 Iteration 3 持久化框架 DESIGNING A PERSISTENCE FRAMEWORK WITH PATTERNS.ppt
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_Chapter 11 - 操作契约.ppt
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_Chapter 13 - 逻辑架构和UML包图.ppt
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_Chapter 14 - 迈向对象设计.ppt
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_Chapter 15 - UML交互图.ppt
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_Chapter 16 - UML类图.ppt
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_Chapter 17 - GRASP基于职责设计对象.ppt
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_Chapter 18 - 使用GRASP的对象设计示例.ppt
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_Chapter 19 Chapter 20 Chapter 22.ppt
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_Chapter 21 测试驱动的开发与重构.ppt
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_复习:OOAD部分.ppt
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_AOP Aspect Oriented Programming.pptx
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_Hibernate Persistence.ppt
- 复旦大学:《面向对象分析和设计》课程资料_UML和模式_Hibernate 演示场景.pptx
- 复旦大学:《电子商务》课程资源_教学大纲.pdf
- 复旦大学:《电子商务》课程资源_教学案例:The Business Model-Recent Developments and Future Research-JOM2011.pdf
- 复旦大学:《电子商务》课程资源_教学研究:Online Game Addiction among Adolescents_Motivation and Prevention Factors.pdf
- 复旦大学:《电子商务》课程资源_教学研究:Research On The Utility Of An Advanced ACA In Context-Aware Tour Planning System.pdf
- 复旦大学:《电子商务》课程PPT课件_第二次课 电子商务的商业模式与分类.ppt
- 复旦大学:《电子商务》课程PPT课件_第一次课 引言(胥正川).ppt
- 复旦大学:《电子商务》课程PPT课件_第三次课 电子商务过程及相关因素(电子商务创业).ppt