系统分析与设计——领域模型画法

这篇博客介绍了系统分析与设计中创建领域模型的过程,包括四步:搜索、选择酒店、选择房间类型和确认预订。领域模型关注概念类及其属性,不包含操作方法。在分析方法中,强调寻找重复概念,并提供了排序选项(如按喜好、价格、评级或字母顺序)和搜索结果展示等细节。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

简介

领域模型(domain model)是对领域内的概念类或现实世界中的可视化表示。领域模型也叫做概念模型、领域对象模型和分析对象模型。这里需要注意,领域模型往往会跟类混淆,因为都是对现实中的实体的描述。所以,要记住的是,领域模型是对现实世界概念类的表示,不是软件对象的表示。它不用来描述软件类、架构或者软件对象。

案例

Screenshot 3 shows a web page resulting from a successful search. The page shows:
  • workflow that informs that making a reservation consists of four steps: (1) search, (2) choose hotel, (3) choose room type, and (4) confirm reservation
  • summary that displays the original search criteria
  • search again option, which returns the customer to Screenshot 1
  • option to sort results by: (1) our favourites, (2) lowest price, (3) highest star rating, and (2) alphabetical
  • search results listing the hotels and basic information about them, as well as the continue option to proceed with the reservation

如何创建领域模型

  1. 寻找概念类
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值