Figure 4: UML state-machine diagram for timesheet (two states).
图4:时间表的UML状态机图表(两个状态)。
It lets you effectively add a state-machine column to your database.
它使您可以有效地将一个状态机列添加到数据库中。
A dialog opens asking in which folder the state machine should be placed.
将随即打开一个对话框,询问应将状态机放置在哪个文件夹中。
The finite state machine pattern used to design this behavior makes its logic transparent.
设计此行为所用的有限状态机模式使逻辑清晰透明。
A state machine has a mixture of nodes representing states and transitions between them.
状态机混合了表示状态的节点以及节点间的转换。
NFA is simply a fancy word for a state machine that implements the transition diagram.
NFA仅仅是一个用于表示实现转换图的状态机的华丽词语。
However, this was simply a matter of choice; we could have used an interaction or state machine.
然而,这只是一个选择问题;我们可以使用交互作用或者状态机。
Remember that the NFA is a state machine that implements the transition diagram.
请记住,NFA是一个实现转换图的状态机。
Below is an example governance lifecycle state machine for XML schema. The state machine has the following states.
下面是XML模式的治理生命周期状态机示例。
A correlation set tells the state machine which running instance to use for the given input data.
相关集告知状态机对于给定的输入数据使用哪个正在运行的实例。
This function is relatively trivial, and does not require using a state machine.
该函数比较简单,没必要使用状态机。
Figure 12: UML state machine for timesheet (more states).
图12:时间表的UML状态机(多种状态)。
Then you saw how to test and debug an application, including some fine points of testing a state machine.
然后,您了解了如何测试和调试一个应用程序,包括一些测试状态机的要点。
This means that each operation has to pass the unique information that identifies the state machine instance.
这意味着,每个操作必须传递能够识别状态机实例的独特信息。
Hence, the second rule may be a much better candidate for something resembling a state machine.
因此,第二个规则也许更适合于类似于状态机的机制。
In other words, we need to identify the operation that gets the state machine rolling.
也就是说,我们需要标识让状态机运转的操作。
We mentioned in the previous article that a business state machine is a special type of business process.
在上一部分中曾经提到,业务状态机是一种特殊类型的业务流程。
One of the programming problems most likely to call for an explicit state machine involves processing text files.
最可能调用显式状态机的一个编程问题涉及到处理文本文件。
You might think it would be simpler just to build a state machine and use it as a library.
您可能会想,仅仅构建一个状态机并将它当作库来使用岂不更加简单。
Remember, you need to let the state machine know which running instance that you are sending the message to.
请记住,您需要让状态机知道您正在将消息发送到哪个运行实例。
You also saw how to use the visual snippet editor to add more detailed logic to a state machine.
您还了解到如何使用可视代码片段编辑器向状态机中添加更多详细逻辑。
The editor's representation is based on the Unified modeling Language (UML) definition of state machine modeling and design.
编辑器的表示形式基于状态机建模和设计的统一建模语言(uml)定义。
The business state machine design is based on the states of the order and the transitions between those states.
业务状态机的设计基于订单的各个状态和这些状态之间的转换。
The ShippingService protocol could have been specified using any UML 2 behavior: an activity, interaction, state machine, protocol state machine, or opaque behavior (code).
ShippingService协议通过使用任何UML2行为被指定,这些行为可以是:活动、交互、状态机、或者不透明行为(代码)。
Each provided operation can have a method behavior that is an activity, interaction, state machine, or opaque behavior (code).
每一项被提供的操作都能够拥有一个方法行为:活动、交互作用、状态机、或者不透明行为(代码)。
We will show how the state machine is represented in the editor as we build and extend the vending machine.
我们将介绍在构建和扩展自动售货机时,如何在编辑器中表示状态机。
When this operation is called and the transition occurs, then a new instance of the state machine is created.
当调用此操作并发生该转换时,将创建此状态机的一个新实例。
At this point, there are a number of ways to look at the state machine instance we just created.
这时,我们可以使用多种方法来查看刚才创建的状态机实例。
Let's look at a scenario to illustrate how to use a composite state machine and governance policies for metadata governance.
让我们查看一个场景,它演示了如何使用一个复合状态机和治理策略实现元数据治理。
Before we dive in to the state machine concepts, we'll take a quick look at the visual snippet editor.
有深入介绍状态机概念之前,首先来快速介绍一下可视代码片段编辑器。
应用推荐