[理学]uml课件Chapter2amp3amp4StateModeling.ppt

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

Chapter 2 Modeling Modeling as a Design Technique A model is an abstraction of something for the purpose of understanding it before building it. (P15, par.1, first sentence) To build complex systems, the developer must abstract different views of the system, build models using precise notations, verify that the models satisfy the requirements of the system and gradually add detail to transform the models into an implementation. (P15, par.1, last sentence) 2.1 Modeling Designers build many kinds of models for various purposes before constructing things. Models serve several purposes. Testing a physical entity before building it Communication with customers Visualization Reduction of complexity 2.2 Abstraction Abstraction must always be for some purpose, because the purpose determines what is, and is not, important. Many different abstraction of the same thing are possible, depending on the purpose for which they are made. 2.3 The Three Models We find it useful to model a system from three related but different viewpoints, each capturing important aspects of the system, but all required for a complete description. The three kinds models separate a system into distinct views. The different models are not completely independent – a system is more than a collection of independent parts – but each model can be examined and understood by itself to a large extent. The different models have limited and explicit interconnections. A good design isolates the different aspects of a system and limits the coupling between them. 2.3.1 Class Model The class model describes the structure of objects in a system – their identity, their relationship to other objects, their attributes, and their operations. The goal in constructing a class model is to capture those concepts from the real world that are important to an application. Class Diagram 2.3.2 State Model The state model describes those aspects of objects concerned with time and the sequencing of operations – events that mark cha

文档评论(0)

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

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

1亿VIP精品文档

相关文档