码迷,mamicode.com
首页 > 其他好文 > 详细

UML的基本图(二)

时间:2014-06-17 19:15:04      阅读:186      评论:0      收藏:0      [点我收藏+]

标签:des   style   class   com   数据   art   



Both sequence diagrams and communication diagrams are kinds of interaction diagrams. An interaction diagram shows an interaction, consisting of a set of objects or roles, including the messages that may be dispatched among them. Interaction diagrams address the dynamic view of a system. A sequence diagram is an interaction diagram that emphasizes the time-ordering of messages; a communication diagram is an interaction diagram that emphasizes the structural organization of the objects or roles that send and receive messages. Sequence diagrams and communication diagrams represent similar basic concepts, but each diagram emphasizes a different view of the concepts. Sequence diagrams emphasize temporal ordering, and communication diagrams emphasize the data structure through which messages flow. A timing diagram (not covered in this book) shows the actual times at which messages are exchanged.

 

序列图和通信图都属于交互图.交互图表达的是这样一个交互:由一组对象和角色组成,消息在它们之间传递.交互图处理系统的动态视图.序列图作为交互图,它更着重消息发送时的时间顺序;通信图作为交互图,则更着重对象或角色在发送和接收消息时的组织结构.序列图和通信图表达的基本概念很相似,但每个图注重的是不同的概念视图:序列图着重的是时间顺序,而通信图着重的是消息流的数据结构.时序图(超出了本书范围)表达的是消息交换时的实际时间.

 

A state diagram shows a state machine, consisting of states, transitions, events, and activities. A state diagrams shows the dynamic view of an object. They are especially important in modeling the behavior of an interface, class, or collaboration and emphasize the event-ordered behavior of an object, which is especially useful in modeling reactive systems.

 

状态图表达的是一个状态机,由状态,传输,事件和活动组成.一个状态图显示对象的动态视图.在构建接口,类或是交互的行为时它们尤其重要,它注重对象行为所发生的事件顺序,这在构建反应系统时特别有用.

 

An activity diagram shows the structure of a process or other computation as the flow of control and data from step to step within the computation. Activity diagrams address the dynamic view of a system. They are especially important in modeling the function of a system and emphasize the flow of control among objects.

 

活动图显示过程的结构,或是其它计算,如控制流和数据计算过程.活动图处理系统的动态视图.在构建系统的功能时尤其重要,重点是对象间的控制流.

 

A deployment diagram shows the configuration of run-time processing nodes and the components that live on them. Deployment diagrams address the static deployment view of an architecture. A node typically hosts one or more artifacts.

 

部署图显示运行时处理节点的配置和节点中的活动组件.部署图处理体系结构的静态部署视图.一个节点通常指包含有一个或更多个产品的主机.

UML的基本图(二),布布扣,bubuko.com

UML的基本图(二)

标签:des   style   class   com   数据   art   

原文地址:http://blog.csdn.net/listen_snow/article/details/31751901

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!