版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、会计学1 UML实例实例UML案例完整建模汽车租赁系案例完整建模汽车租赁系 统统 第1页/共32页 第2页/共32页 第3页/共32页 第4页/共32页 第5页/共32页 第6页/共32页 第7页/共32页 第8页/共32页 第9页/共32页 第10页/共32页 第11页/共32页 第12页/共32页 第13页/共32页 第14页/共32页 第15页/共32页 theCustomer : Customer theRequest : RequestOrder theCar : CartheCustomerRecord : CustomerRecord theCommonWorker : Comm
2、onWorker fillOrder( ) checkRequest( ) check( ) InServiced( ) create new customer record Allow( ) notify() isHandled( ) no problem ok 第16页/共32页 theCustomer : CustomertheCommonWorker : CommonWorker theRequestOrder : RequestOrder theCar : CartheWorkRecord : WorkRecord show_notice( ) check( ) ok pay() f
3、illWorkRecord( ) update_carstatus( ) 第17页/共32页 theCar : CartheSkillWorker : SkillWorker theServiceRecord : ServiceRecord theCommonWorker : CommonWorker theCustomerRecord : CustomerRecord theRentRecord : WorkRecord theCustomer : Customer returnback check_carstatus( ) fillRecord( ) update_carstatus( )
4、 end( ) updateRecord( ) notify_payment( ) pay() return 第18页/共32页 第19页/共32页 : custormer theRequestOrder : RequestOrder : employee theCustomerRecord : CustomerRecord theCar : Car 6: isHandled( ) 1: fillOrder( ) 7: notify( ) 2: checkRequest() 5: Allow( ) / Deny() 3: check( ) 8: new CustomerRecord 4: In
5、Serviced( ) 第20页/共32页 : custormer theRequestOrder : RequestOrder : employee theWorkRecord : WorkRecord theCar : Car 1: show_notice( ) 4: take_car( )2: check( ) 3: validate 5: fillWorkRecord( ) 6: update_carstatus( ) 第21页/共32页 theServiceOrder : ServiceRecord : custormer : employee theCar : Car theCus
6、tomerRecord : CustomerRecord theWorkRecord : WorkRecord 1: return_car( ) 3: fillRecord( ) 5: end( ) 6: updateRecord( ) 2: check_carstatus( ) 4: update_carstatus( ) 第22页/共32页 第23页/共32页 customer request Employee check the request store the request handle new request check the customers record the car is available the history is good deny request the history is bad send the message customer acquire the car customer give the car back yes no new request no have new request 第24页/共32页 第25页/共32页 第26页/共32页 第27页/共32页 第28页/共32页 第29页/共32页
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026安徽中医药大学资产经营有限公司劳务派遣(煎药中心仓管员)招聘1人笔试题库含答案详解【培优B卷】
- 2026江西新余市永固工程监理有限责任公司招聘3人笔试题库A4版附答案详解
- 2026上海复旦大学附属妇产科医院招聘研究所科研人员参考题库附答案详解(巩固)
- 2026年度专项国际海运协议书
- 2026浙江嘉兴市海宁上塘水务有限公司招聘1人模拟试卷含答案详解(典型题)
- 护理服务改进与成效
- 一建考试继续教育管理工作手册
- 2026年合肥市长丰庐剧团招聘3名工作人员备考题库(考试直接用)附答案详解
- 护理信息技术应用培训
- Unit 2 Home Sweet Home (Period 2)Section A (2a-2e) (2)同步练25025-2026学年人教版八年级上册英语
- 2026湖南衡阳市衡东县卫健系统招聘专业技术人员46人模拟试卷完整附答案详解
- 2026-2030国内铁路电气设备行业市场发展分析及竞争格局与投资机会研究报告
- 2026-2030中国建筑信息模型(BIM)行业发展状况与前景趋势研究报告
- 水电站运行人员考试题及答案(教学参考)
- 2026年营养师《公共营养》测试卷(含答案)专项训练
- 2026年甘肃省三支一扶招聘考试(1800人)考试参考题库及答案详解
- 2026年学校会计高频面试题包含详细解答
- 初中八年级历史《民族团结与祖国统一》单元整体导学案
- 2026年7月自考13811绩效管理押题及答案
- 24J113-1 内隔墙-轻质条板(一)
- GB/T 20303.1-2016起重机司机室和控制站第1部分:总则
评论
0/150
提交评论