设计模式动态建模交互模型

上传人:宝路 文档编号:47692714 上传时间:2018-07-04 格式:PPT 页数:28 大小:1.63MB
返回 下载 相关 举报
设计模式动态建模交互模型_第1页
第1页 / 共28页
设计模式动态建模交互模型_第2页
第2页 / 共28页
设计模式动态建模交互模型_第3页
第3页 / 共28页
设计模式动态建模交互模型_第4页
第4页 / 共28页
设计模式动态建模交互模型_第5页
第5页 / 共28页
点击查看更多>>
资源描述

《设计模式动态建模交互模型》由会员分享,可在线阅读,更多相关《设计模式动态建模交互模型(28页珍藏版)》请在金锄头文库上搜索。

1、权 巍Evaluation only.Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0.Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd.Copyright 2004-2011 Aspose Pty Ltd.Evaluation only.Evaluation only. Created with Aspose.Slides for .NE

2、T 3.5 Client Profile 5.2.0.0.Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd.Copyright 2004-2011 Aspose Pty Ltd.主要内容4.1 对象类动态模型 4.2 交互建模 4.3 顺序图 4.4 合作图2UML和设计模式Evaluation only.Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile

3、5.2.0.0.Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd.Copyright 2004-2011 Aspose Pty Ltd.Evaluation only.Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0.Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0

4、. Copyright 2004-2011 Aspose Pty Ltd.Copyright 2004-2011 Aspose Pty Ltd.4.1 对象类动态模型对象类动态模型实际上是解决系统中的对象“何时做” 的问题,是系统分析、设计阶段的重要内容和产物。 该模型描述系统的动态行为,包括:系统如何响应外 部事件或激励,系统中各对象的执行顺序和状态的变 化,侧重描述系统控制逻辑。 该模型包括:对象交互行为模型、对象状态模型。UML和设计模式3Evaluation only.Evaluation only. Created with Aspose.Slides for .NET 3.5 Cl

5、ient Profile 5.2.0.0.Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd.Copyright 2004-2011 Aspose Pty Ltd.Evaluation only.Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0.Created with Aspose.Slides for .NET 3.5 Client Pr

6、ofile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd.Copyright 2004-2011 Aspose Pty Ltd.UML和设计模式4状态图和活动图顺序图和合作图对象状态模型 该模型主要用于描述对 象的个体行为,其功能包 括:为某个用例创建事件 发生的轨迹,说明对象状 态迁移变化的顺序,描述 事件的活动是并发的还是 顺序的。 其中,状态是一个对象 在某一时刻属性特征的概 括。对象交互行为模型该模型主要描述完成 系统某个功能时,几个对 象之间消息传递的时间序 列,通常起始于一个系统 外部输入事件,结束于某 个条件的满足或某个系统 外部的输出事

7、件。Evaluation only.Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0.Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd.Copyright 2004-2011 Aspose Pty Ltd.Evaluation only.Evaluation only. Created with Aspose.Slides for .NET

8、 3.5 Client Profile 5.2.0.0.Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd.Copyright 2004-2011 Aspose Pty Ltd.4.2 交互建模对象类交互行为模型描述系统为完成某一功能, 对象之间如何进行交互和协作,即消息的传递。 UML的顺序图、合作图可从不同的角度描述对象 类交互行为,可用于对用例图中的控制流建模。UML和设计模式5Evaluation only.Evaluation only.

9、Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0.Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd.Copyright 2004-2011 Aspose Pty Ltd.Evaluation only.Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0.Created

10、 with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd.Copyright 2004-2011 Aspose Pty Ltd.4.3 顺序图顺序图(sequence diagram), 描述特定场景中, 某个时刻,为完成某一功能,对象间按照时间顺 序的消息交互。 顺序图适合于描述实时系统中的时间特性和时间 约束。UML和设计模式6Evaluation only.Evaluation only. Created with Aspose.Slides for .NET 3

11、.5 Client Profile 5.2.0.0.Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd.Copyright 2004-2011 Aspose Pty Ltd.Evaluation only.Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0.Created with Aspose.Slides for .NET 3.5 Clie

12、nt Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd.Copyright 2004-2011 Aspose Pty Ltd.顺序图的组成成分UML和设计模式7时间时间对对象生存线线激活期消息顺序图有两个坐标:垂直坐标-时间(从上到下),水平坐标对象。 Evaluation only.Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0.Created with Aspose.Slides for .NET 3.5 Client Pro

13、file 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd.Copyright 2004-2011 Aspose Pty Ltd.Evaluation only.Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0.Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd.Copyright 2004-2011 A

14、spose Pty Ltd.UML和设计模式8(1)对象: 顺序图中对象的三种命名方式:(2)生存线(生命线): 对象框下画的一条垂直 虚线,称为该对象的生存线 ,表示对象的生存时间。消亡点Evaluation only.Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0.Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd.Copyright

15、2004-2011 Aspose Pty Ltd.Evaluation only.Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0.Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd.Copyright 2004-2011 Aspose Pty Ltd.UML和设计模式9(3) 激活期:对象生存线上的一个细长方形框,表示该对象的 激活时间段。

16、一个激活的对象要么正在执行自己的代码,要么 等待另一个对象的返回。Evaluation only.Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0.Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd.Copyright 2004-2011 Aspose Pty Ltd.Evaluation only.Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0.Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd.Copyright 2004-2011 Aspos

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 中学教育 > 教学课件

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号