31 iteration 1 领域模型new - 复旦大学精品课程.ppt

31 iteration 1 领域模型new - 复旦大学精品课程.ppt

  1. 1、本文档共127页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
31 iteration 1 领域模型new - 复旦大学精品课程

* PhoneNumber? 考虑不同组成部分时作为non-primitive data type 概念类——需要区分不同实体 it is meaningful to distinguish (by identity) between two separate instances of a Person whose names are both Jill Smith compare the memory addresses of Person instances, * Store是一个组织,不是数字、文本,应该作为概念类 * In the real world, a destination airport is not considered a number or text—it is a massive thing that occupies space. Therefore, Airport should be a concept. * * * * * * * * * 解释见下一页 * it is another source of inspiration. Care: a mechanical noun-to-class mapping isnt possible words in natural languages are ambiguous it is recommended in combination with the Conceptual Class Category List technique. Some are candidate conceptual classes Some maybe ignored in this iteration (Accounting and commissions) Some may be attributes of conceptual classes.(Price) * * * * 领域模型中应该包含哪些属性? * 举例:sale中应该包含哪些属性? 收银条包含日期信息,经理要知道每笔销售的日期 Receipt 收银条 * 解释见下页 * * 1 to 1 分开打印每个商品 * 1 to * cup 3个 xx元 * * * * taxvalue税额 Associate 合伙人 * A bank has customers with different status. The bank offers different services depending on the status of a customer. A customer can have several accounts and several loans. For each customer the system must know his/her income for the last 12 months. Each customer has a collection of other customers which serve as his/her associates. An associate can be warrantor ( 担保人) for a loan and can also upgrade the status of a customer. Each loan in the bank is associated with the house that it is used for. A house loan may need a warrantor. A customer may also use another house already in his/her possession as a security抵押品 for a loan. In that case, information about the address, taxvalue etc. for the security house is needed. The customer must also always specify the same information for the house which the loan concerns. Only customers of the bank may have a loan. Customers with payment complaints during the last three years cannot get loans. * * * * * * * 从这个角度看,不需要更新和维护模型,但并不是说更新模型就是错误

文档评论(0)

yanpizhuang + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档