避免冗余:在术语表或域模型中定义一个条目,但是不要在两者里面都下定义。
Avoid redundancy: Define an item in the glossary or in the domain model, but not in both.
我们的目标是构建更好的域模型。
域模型将会时常被用于查找信息。
The domain model will be used frequently to find information.
操作类中的域模型将被适当填充。
The domain model is populated appropriately inside the action class.
要构造域模型,您必须完成下列工作
为案例研究制作一个域模型。
域模型是一种用于理解问题域的工具。
The domain model is a tool for understanding the problem domain.
图5:域模型图和相关文本。
将标准域模型应用到esb。
通过这些语言可以建立本体或者域模型。
With these languages, you build ontologies or domain models.
下图反映了规范域模型的一个简单示例。
A simple example of a canonical domain model is reflected in the diagram below.
在企业环境中,通常存在现有的域模型。
In an enterprise environment, there is usually an existing model of the domain.
类似地,域模型中的其他字段将相应更新。
Similarly, other fields will be updated accordingly in the domain model.
域模型很有用,即使你不提出业务用例实现。
The domain model is useful, even if you do not produce business use case realizations.
原则6:提出域模型
知道Web表单输入和域模型属性之间的联系。
Know the link between a web form input and a domain model property.
我采用POJT对域模型类的业务方法进行测试。
I tested the business methods of domain model classes with POJTs.
新的原子域在创建之后将被添加到包和域模型中。
As the new atomic domains are created, they are added to the package and the domain model.
因此,域模型能够充分地利用设计良好模式语言。
As a result, domain models can leverage well-designed pattern languages to a very high degree.
注意,域模型方法并没有包含回滚逻辑。
Notice that the domain-model method does not contain rollback logic.
所有涉及的业务实体是否都存在于域模型的用例中?
Are all business entities referred to in use cases in the domain model?
没有人喜欢编写或维护样本gui至域模型同步代码。
No one likes writing or maintaining boilerplate GUI to domain model synchronization code.
JPA使用外部xml映射文件支持映射您的域模型。
JPA supports mapping your domain model using external XML mapping files.
我将使用简化的域模型来演示Morphia的功能。
I'll use a simplified domain model to demonstrate Morphia's functionality.
在虚拟校园域模型中,您可以将每个门口与一个大楼关联。
In the virtual campus domain model, you associate every doorway with a building.
在这个阶段,您必须选定域模型和域genmodel。
At this stage, you should already have your domain model and domain genmodel selected.
以这个定义为基础,一个域模型是术语表中术语的一个子集。
Based on this definition, a domain model is a subset of the terms in the glossary.
域模型是一个可以序列化为XML的嵌套对象的递归数据结构。
The domain model is a recursive data structure of nested objects that can be serialized as XML.
执行了域模型后(不管是否出现异常),控制权将返回给客户机。
After the domain model is done (whether an exception occurs or not), control is passed back to the client.
通常,当你知道更多关于你的商业域时,术语从术语表转移到域模型。
Often, terms get transferred from the glossary into the domain model as you continue to learn more about your business domain.
应用推荐