欢迎来到天天文库
浏览记录
ID:52232101
大小:1.35 MB
页数:51页
时间:2020-03-25
《系统分析与设计chap7.pdf》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、1课程回顾UP项目将其工作和迭代组织为四个主要阶段:初始(Inception):大体上的构想,业务案例,范围和模糊评估细化(Elaboration):已精化的构想、核心构架的迭代实现、高风险的解决、确定大多数需求和范围以及进行更加细致实际的评估构造(Construction):对遗留下来的风险较低和比较简单的元素进行迭代实现,准备部署移交(Transition):进行beta测试和部署。InceptionElaborationConstructionTransitiontimeIII.
2、细化迭代I——基础3细化迭代I——基础第八章迭代1——基础第九章领域模型第十章系统顺序图第十一章操作契约第十二章从需求到设计——迭代进化第十三章逻辑架构和UML包图第十四章迈向对象设计第十五章UML交互图第十六章UML类图第十七章GRASP:基于职责设计对象第十八章使用GRASP的对象设计示例4细化迭代I——基础第八章迭代1——基础第九章领域模型第十章系统顺序图第十一章操作契约第十二章从需求到设计——迭代进化第十三章逻辑架构和UML包图第十四章迈向对象设计
3、第十五章UML交互图第十六章UML类图第十七章GRASP:基于职责设计对象第十八章使用GRASP的对象设计示例第十章系统顺序图确定系统事件为用例场景创建系统顺序图简单示例6★分配对象职责,绘制交互图关注的是软件对象的职责与协作(动态)顺序图:•交互图的一种•描述协作的常见方法•显示对象之间的信息流,和由信息引起的方法调用鉴别重要的概念,属性和关联此时的对象设计可从真实世界领域中获得灵感,但是不是直接建模和模拟。定义用例定义领域模型定义交互图定义设计类图UP制品示例7Sample
4、UPArtifactRelationshipsDomainModelBusinessSale11..*Sales...LineItemModelingdate......quantityVisionUse-CaseModelProcessSaleProcessuseSale1.Customercasearrives...Cashiernames2.Cashiermakesnewsale.3....GlossaryparametersandRequire-UseCaseDiagramUseCaseT
5、extreturnvaluedetailsmentssystemevents:SystemOperation::CashierenterItem(…)makeSupplementarysystemNewSale()SpecificationoperationsPost-conditions:enterItem-...(id,quantity)OperationContractsSystemSequenceDiagramsstartingeventstodesignforDesignModel:Re
6、gister:ProductCatalog:SaleenterItemDesign(itemID,quantity)spec=getProductSpec(itemID)addLineItem(spec,quantity)处理销售场景的系统顺序图8systemasblackboxthenamecouldbe"NextGenPOS"but"System"keepsitsimplethe":"andunderlineimplyaninstance,andareexplainedinalaterchap
7、teronsequencediagramnotationintheUMLexternalactortoProcessSaleScenariosystem:Cashier:SystemmakeNewSaleaUMLlooploop[moreitems]interactionenterItem(itemID,quantity)frame,withabooleanguardexpressiondescription,totalamessagewithendSaleparametersreturnvalu
8、e(s)associatedwiththetotalwithtaxesitisanabstractionpreviousmessagerepresentingthesystemeventofanabstractionthatmakePayment(amount)enteringtheignorespresentationpaymentdatabyandmediumsomemechanismthereturnlineischangedue,receiptoptionalifnothi
此文档下载收益归作者所有