UML用例图等9种图的中文样例.doc

上传人:scccc 文档编号:12532914 上传时间:2021-12-04 格式:DOC 页数:5 大小:372.50KB
返回 下载 相关 举报
UML用例图等9种图的中文样例.doc_第1页
第1页 / 共5页
UML用例图等9种图的中文样例.doc_第2页
第2页 / 共5页
UML用例图等9种图的中文样例.doc_第3页
第3页 / 共5页
UML用例图等9种图的中文样例.doc_第4页
第4页 / 共5页
UML用例图等9种图的中文样例.doc_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
资源描述

《UML用例图等9种图的中文样例.doc》由会员分享,可在线阅读,更多相关《UML用例图等9种图的中文样例.doc(5页珍藏版)》请在三一文库上搜索。

1、软件工程的5个阶段:需求分析(Requirements Capture),系统分析与设计(System Analysis and Design),实现(Implement),测试(Test),维护(Maintenance)。2. UML 的定义包括 UML 语义和 UML 表示法两个部分。 UML 语义描述基于 UML 的精确元模型定义。元模型为 UML 的所有元素在语法和语义上提供了简单、一致和通用的 定义性说明。 UML 表示法,为开发者或开发工具使用图形工具和文本语法为系统建模提供 了标准。3. UML(Unified Modeling Language)由视图(View),图(Diag

2、ram),模型元素(Model Element),通用机制(General Mechanism)等组成,还提供了扩展机制 (ExtensionMechanism), 使得 UML 语言能够适应一个特殊的方法或者扩充到一个组织或用户。a) 视图是表达系统的某一方面特征的 UML 建模元素的子集, 由多个图构成, 是在 某一个抽象层上,对系统的抽象表示。b) 图是模型元素集的图形表示,通常由弧(关系)和顶点 (其他模型元素 )相互连接构成。c) 模型元素代表面向对象中的类、 对象、消息和关系等概念,是构成图的基本概念。d) 通用机制用于表示其他信息,比如注释、模型元素的语义等。4. UML 用模型

3、来描述系统的结构或静态特征,以及行为或动态特征,从不同的视角 为系统架构建模,形成不同视角:a) 用例视图(UseCaseView),强调从用户角度看到的或需要的系统功能,是被称为参与者的外部用户所能观察到的系统功能的模型图。b) 逻辑视图 (Logical View) ,展现系统的静态或结构组成及特征, 也被称为结构模型 视图 (Structural Model View) 或者静态视图 (Static View)。c) 并发视图 (Concurrent View) ,体现了系统的动态或者行为特征,也称为行为模型 视图 (Behavioral Model View) 或动态视图 (Dynam

4、ic View) 。d) 组件视图 (Component View) ,体现了系统实现的结构和行为特征,也称为实现模 型视图 (Implementation Model View) 。e) 配置视图 (Deployment View) ,体现了系统实现环境的结构和行为特征,也被称 为环境模型视图 (Environment Model View) 或者物理视图 (Physical View) 。5. 视图由图构成, UML 提供了 9 种不同的图:a)用例图 (Use CaseDiagram) ,描述系统功能;Create PDF with GO2PDF for free, if you wis

5、h to remove this line, click here to buy Virtual PDF Printerb)类图(Class Diagram),描述系统的静态结构;2-2金融贸站艾图疔例c)对象图(Object Diagram),描述系统在某个时刻的静态结构;Create PDF with GO2PDF for free, if you wish to remove this line, click here to buy Virtual PDF PrinterCreate PDF with GO2PDF for free, if you wish to remove this

6、 line, click here to buy Virtual PDF Printerd)时序图(SequenceDiagram),按时间顺序描述系统元素间的交互;Create PDF with GO2PDF for free, if you wish to remove this line, click here to buy Virtual PDF PrinterCreate PDF with GO2PDF for free, if you wish to remove this line, click here to buy Virtual PDF PrinterCreate PDF

7、with GO2PDF for free, if you wish to remove this line, click here to buy Virtual PDF Printere) 协作图(Collaboration Diagram),按照时间和空间顺序描述系统元素间的交互和他们之间的关系,如果需要强调时间和序列,最好选择序列图,如果需要强调上下文相关,最好选择协作图;:打印服务器 1人 打卬'文作)> :打印机Create PDF with GO2PDF for free, if you wish to remove this line, click here to b

8、uy Virtual PDF PrinterCreate PDF with GO2PDF for free, if you wish to remove this line, click here to buy Virtual PDF Printerf) 状态图(State Diagram),描述了系统元素的状态条件和响应;大搂的一駅>1JjT"划达一怎-移到层向下降IF蛛肚、fCreate PDF with GO2PDF for free, if you wish to remove this line, click here to buy Virtual PDF Print

9、erCreate PDF with GO2PDF for free, if you wish to remove this line, click here to buy Virtual PDF Printer卜皆楼L:W 2.4 -Utfi的状态l¥|加例活动图(Activity Diagram),描述了系统元素的活动;Create PDF with GO2PDF for free, if you wish to remove this line, click here to buy Virtual PDF Printer图2.7沾功图不例I朴棹块unun.U叩iiU.J- .;m

10、thnd cppwnsn诂hndLipp Ji2.8纠件图示例图羽库OTJI ph 3C.dll )f1,通ft;忡制一L1 wmhndpbi1TBf 口押制«wjirid oh|)<L_>9hJiULub| )客户秤序i h:li<nl .cxeh)组件图(Component Diagram),描述了实现系统的元素的组织;Create PDF with GO2PDF for free, if you wish to remove this line, click here to buy Virtual PDF PrinterCreate PDF with GO2P

11、DF for free, if you wish to remove this line, click here to buy Virtual PDF Printeri)配置图(Deployment Diagram),描述了环境元素的配置,并把实现系统的元素映射到配置上。6. 图和视图之间的对应关系: 用户模型视图:用例图结构模型视图:类图和对象图行为模型视图:时序图、协作图、状态图和活动图实现模型视图:组件图环境模型视图:配置图7. UML的两套建模机制,静态建模机制和动态建模机制。静态建模机制包括用例图、类图、对象图、包、组件图和配置图;动态建模机制包括消息、状态图、时序图、 协作图、活动图。依輟->通用化(继承)关联L>聚件-OCreate PDF with GO2PDF for free, if you wish to remove this line, click here to buy Virtual PDF Printer

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 社会民生


经营许可证编号:宁ICP备18001539号-1