您的位置:首页 > 其它

EA&UML日拱一卒-活动图::13.1 Summary

2017-08-29 20:39 573 查看
This clause specifies the core concepts underlying all behavioral modeling in UML. Structural models of Classifiers in UML define the allowable instances that may exist at any point in time, what values their StructuralFeatures may have and how
those instances may be related to each other. Behavioral modeling, on the other hand, models how these instances may change over time.

本节定义UML中行为建模的核心概念。UML中类目的结构模型规定了可能存在于任何时刻的实例,它们的结构特征会有什么样的值,这些实例彼此之间如何联系。

UML provides Behavior, Event, and Trigger constructs to model the corresponding fundamental concepts of behavioral modeling.

UML提供了行为,事件,触发条件等结构来展示对应的行为建模的基本概念。

Behavior is the basic concept for modeling dynamic change. Behavior may be executed, either by direct invocation or through the creation of an active object that hosts the behavior. Behavior may also be emergent, resulting from the interaction of
one or more participant objects that are themselves carrying out their own individual behaviors.

行为是对动态变化建模的基本概念。通过直接调用或者创建拥有行为的主动对象可以使行为被执行。作为一个或多个参与者对象执行它们自身拥有的独立行为的结果,行为也有可能被意外(?)执行。

Dynamic behavior results in events of interest that occur at specific points in time. Such events may be implicit, occurring on the change of some value or the passage of some interval of time. They may also be explicit, occurring when an operation is called
or an asynchronous signal is received.

动态行为导致它所关注的事件在特定时间发生。这些事件可能是暗示的,如果某些值的变化,或者是一段时间经过。它们也可以是明确的,一个操作被调用或者一个异步信号被接收。

The occurrence of an event may then trigger new behavior, or change the course of already executing behavior. Explicit events thus provide the basic mechanism for communication between behaviors, in which an action carried out in one behavior, such
as calling an operation or sending a signal, can trigger a response in another behavior. 

一个事件的发生可能触发新的行为,或者改变执行中的行为的进程。明确的事件提供了行为之间通信的基本机制,行为中动作的执行,例如调用一个操作或者发送一个信号,可以触发其他行为的反应。

The remainder of this clause further details the fundamental UML modeling mechanisms of Behaviors, Events and Triggers. These mechanisms then provide the framework for the specification in the following clauses of various complete UML behavioral
modeling constructs.

本节其余的部分进一步详细说明UML中有关行为,事件和出发条件基本的建模机制。这些机制提供了后续章节中各种完全的UML行为建模时利用的框架。

以上就是今天的文章,欢迎点赞,关注并推荐给您的朋友!
阅读更多更新文章,请扫描下面二维码,关注微信公众号【面向对象思考】

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  EA UML 活动图