调试性增强:更好的无效包警告,游戏内可见实体状态。
Debuggability enhancements: Better warnings for invalid packs, ability to see entity state in game.
每个事件代表状态中的一个变化,所有普通实体状态的有序和代表了一个生命周期。
Each event represents a change in state, and the ordered sum of all normal entity states represents a lifecycle.
在整个流过程中都重用同一个持久化-上下文对象,这避免了分离实体状态的问题和相应的LazyInitializationException 异常。
The same persistence-context object is reused during the course of the entire flow, eliminating detached-entity state and the corresponding LazyInitializationException.
当一个实体的地位或者状态发生改变时。
作为一个基本级别,它实现了这些数据元素的域完整性,包含实体以及是否填充元素的状态信息。
At a basic level, it rolls up the domain integrity of those data elements comprising the entity and states whether all elements are populated or not.
正如前面所解释过的,验证功能可用于控制基本CRUD操作,以及在所治理实体的生命周期状态转换上下文中使用。
As explained earlier, Validation functions can be used to control basic CRUD operations as well as in the context of life-cycle state transitions for governed entities.
难点在于懂得实体是如何进入到当前状态的。
The difficulty of understanding how the entity got into its current state.
使用对象流图(它是捕获事件和状态转换的基础模型)虚拟化实体生命周期是这个模型的关键。
Virtualization of the entity lifecycle through Object Flow Diagrams, a basic model that captures both events and state transitions, is critical in this model.
通常,它通过保留对单个线程有效的一级缓存实例,维护它负责的映射实体类实例的可识别性或状态,从而做到这一点。
Generally, it does this by maintaining awareness or state of the mapped entity class instances it is responsible for by keeping a first-level cache of instances, valid for a single thread.
通过每个事件——实体改变其状态——通常可以方便地定义一个过程。
With each event, the entity changes its state, a process that is normally easy to define.
必须在事件的大集合上执行操作,这样做只是为了获得单一实体的状态,这样做的效率不是很高,对于应用程序的读取可伸缩性来说,这是一个问题。
Having to perform operations on a large collection of events just to get the state of a single entity isn't efficient, especially for applications for which read scalability is a concern.
对技术人员来说,同一事件序列反映了代表业务实体对象的状态变化。
For technologists, the same series of events reflects the change in state for object representing the main business entity.
颜色的另一个用途是显示某些实体(比如ibc成员)的状态。
Another use of color was to show the status of some entity, such as an IBC member.
这个API用于通过创建查询定义对象来定义对检索实体及其状态的查询。
This API is used to define queries for retrieving persistent entities and their state by creating query defining objects.
该管理API允许您加载将用于对所治理实体的生命周期建模的状态机定义,以及加载owl中描述的分类系统。
The Administration API allows you to load definitions of state machines to be used to model the life cycle of governed entities, and to load classification systems described in OWL.
为什么不把所有的行为性和状态性职责都赋给实体呢,就像OO纯粹主义者所倡导的那样,让实体自己负责持久化操作。
So why not give an entity all behavioral and state responsibilities, thus including the responsibility to perform persistence operations, as advocated by OO purists?
观察器对象订阅那些报告所监视实体中任何状态更改的事件,然后基于那些事件中的信息更新自己的状态。
The observer object subscribes to events that report any state changes in the monitored entity, and then updates its own state based on information in those events.
状态是实体行为模式中的一个阶段。
一个实体若想成为富领域对象不仅要包含状态,还得能调用业务服务。
For an entity to be considered a rich domain object it should not only contain state but also be able to call business services.
状态使用实体属性的值进行表示。
States are represented by the values of the attributes of an entity.
您可以替换操作实体、条目操作、状态变更、重要属性以及配置初始化中的代码引用。
You can replace code references in operation bodies, action on entry, action on exit, reaction in state, overridden properties, and configuration initialization.
流作用域的持久化上下文对象将流期间加载的数据作为持久化实体来管理并将数据变更缓存为实体的脏状态。
The flow-scoped persistence-context object manages data loaded during the flow as persistent entities, and data changes cached as the entities' dirty states.
某个子状态机适合哪种或哪些类型的实体?
Which type or types of entities is a certain sub-state machine suitable for?
到目前为止,我们精简了DAO模式的实现,该实现只能持久化实体的状态。
What we have achieved so far is a lean and mean implementation of a DAO pattern which allows the persistence of 'state-only' entities.
从karel书中的讨论中你已经知道,一个对象是概念性的综合性实体,用来封装具体的状态或是行为。
An object, as you already know from the discussion in the Karel book, is a conceptually integrated entity that encapsulates both state and behavior.
每个实体都又包含3个关联元素:事件、状态和生命周期。
For each entity, there is a triad of associated elements: events, states, and lifecycle.
merge:修改当前持久化环境的指定实体的当前状态。
Merge : Update the current persistence context with the current state of the given entity.
在实体bean操作中,容器处理bean状态的持久性,并确保这种数据得到保护,供以后使用。
In entity bean operation, the container handles the persistence of a bean's state, ensuring that such data has been preserved for later use.
从广泛使用的DAO/Repository模式的角度来说,DAO只负责执行持久化操作,而实体则只维护其状态。
In the widely used traditional DAO/Repository pattern, DAOs have the responsibility to perform persistence operations, which are purely behavioral, and entities are supposed to hold state.
从广泛使用的DAO/Repository模式的角度来说,DAO只负责执行持久化操作,而实体则只维护其状态。
In the widely used traditional DAO/Repository pattern, DAOs have the responsibility to perform persistence operations, which are purely behavioral, and entities are supposed to hold state.
应用推荐