欢迎来到天天文库
浏览记录
ID:22030874
大小:747.00 KB
页数:72页
时间:2018-10-26
《uml课件lect12-restaurant system-design》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Lecture12.SystemDesign:RestaurantExampleObjectOrientedTechnologyandSystemModeling面向对象技术与系统建模Instructor:YushanSunSpringTerm2013面向对象分析、设计的主要步骤以及产生的主要文件Usecase2需求分析1领域建模Domainmodelstatechart3系统分析Obj2Obj1SequencediagramClassdiagramClassdiagram4系统设计statechart用例实现StorageDatabase显示层应用层StaffUIPresent
2、ation1RestaurantgetBookings()getCustomer()getTable()makeReservation()dateBookingSystemBookingcoversdatetimegetDate()getDetails()setArrivalTime()setTable()TablenumberplacesWalkInReservationarrivalTimesetArrivalTime()***1current0..1selectedMustbeoneoftheCurrentbookings***1Cancel()display()makeRe
3、servation()recordArrival()selectBooking()undateDisplay()BookingsforthesametablemustnotoverlapCustomernamephoneNumber永久数据存储层订餐系统系统的分析模型-分层情况6-RESTAURANTSYSTEM-DESIGNChapter5已经完成了应用层用例实现。Wehavefinishedapplication-layerusecaserealizationsinChapter5.本章任务是将建模应用到整个系统(包括其他层)Nowweextendthislevelofmode
4、lingtothewholesystem.本章研究输入,输出,永久数据存储Now,somebasicstrategiesforhandlingInput,outputandpersistentstoragewillbediscussed从分析得到的类图需要加细。Theanalysisclassdiagramwillberefinedtocontainfullerinformationaboutdatatypes,messageparametersandsoon.6-RESTAURANTSYSTEM-DESIGNPresentationApplicationStorage6-REST
5、AURANTSYSTEM-DESIGN在设计结束时,我们对系统有一个比较完全的了解,系统实现可以开始.Bytheendofthedesignstage,weaimtohaveanunderstandingofthesystemthatisdetailedenoughtopermitimplementationtobegin.6-RESTAURANTSYSTEM-DESIGNSomeassumptions餐馆定单系统是桌面单用户.Therestaurantbookingsystemwillbeimplementedasasingle-userdesktopapplication(在局
6、域网下,稍加修改,可以是多用户的).Java应用,基于Windows的用户界面.WewilldesignitasaJavaapplicationwithawindow-baseduserinterface.用关系型数据库存储永久数据.Arelationaldatabasewillbeusedtostorepermanentdataaboutbookings,customersandsoon.内容提要:ReceivingInputFromTheUser(MarkPriestley:6.1)ProducingOutput(MarkPriestley:6.2)ObserverPatter
7、npublisher-subscriberexampleEaxmplesofObservable/ObserverReceivingInputFromTheUser从用户接收输入6.1RECEIVINGINPUTFROMTHEUSER评论:在分析阶段,用户输入端系统消息被直接发送到应用层的BookingSystem,这不合适。Insystemanalysis,systemmessagesfromtheuserweredirectedtoacontrolobjectBo
此文档下载收益归作者所有