You can, if you like, use interfaces or standard framework classes, or you can code entirely to POJOs and your domain model, or, you can work with a mixture of both.
只要你愿意,你可以使用接口或标准框架类,你还可以完全为POJO和你的领域模型进行编码,或者,你可以将两者结合使用。
Or do you move all the validation code into the services tier, removing it from the domain class that should be the owner of that knowledge?
或者您可以将所有验证代码移入到服务层,然后从应当是该知识所有者的域类中删除它吗?
No one likes writing or maintaining boilerplate GUI to domain model synchronization code.
没有人喜欢编写或维护样本gui至域模型同步代码。
Many NMS products have similar conceptual level composition, regardless of the specific domain of their application, the code heritage, or the vendor.
如果不考虑其具体应用的领域、代码沿袭或厂商,许多NMS产品在层次组成上都有类似的概念。
They can be mapped to a specific domain and used for model transformation, code generation, and so on.
可以将其映射到特定的域,并能用于进行模型转换、代码生成等工作。
Business users write the domain code, developers write the program generators.
业务使用者书写领域代码,开发者书写程序产生器。
You can sometimes predict complexity based on speculative knowledge of the problem domain, but writing code creates new constraints and opportunities that are virtually impossible to predict.
有时候可以根据问题域的理论知识预测复杂性,但是在编写代码时,又会产生新的约束和机会,这些实际上是无法预测的。
This code tests one of the most critical parts of my problem domain: getting factors for a number.
这段代码测试我的问题领域中最关键的部分之一:获取数字的因子。
In some cases, you might also need to generate code that is specific to your project or domain.
在有些情况下,您可能还需要生成指定给项目或者域的代码。
The domain expert will edit domain requirements that are then transformed into code.
领域专家会编辑领域需求,这些领域需求接着会转化为代码。
The sample code provided with this article demonstrates the use of these unified domain classes.
本文提供的示例代码将演示这些统一域类的使用。
Code and other target domain artifacts are generated using transformations designed with input from both modeling experts and target domain experts.
代码和其他目标领域工件利用根据建模专家和目标领域专家而设计的转换来生成。
In order to achieve that there should be a mechanism to transparently inject services into domain objects, no matter where in the code they are instantiated.
为了达成这一目标,需要一种透明的机制将服务注入到领域对象中,不管对象在何处实例化都该如此。
The programmers job is to build the desired projections and also transformations that will generate code into a programming language domain.
程序员的工作则是建立理想的投影,以及生成编程语言领域代码的转化方法。
[Start developing] a DSL... when there is a good understanding of the application domain and there exists a considerable code base for systems in the domain.
如果对应用领域有深刻的理解,且在领域的系统已经具备相当程度的代码基础,即可开始开发dsl。
Timeouts can be configured at different levels, set dynamically through code, changed administratively, and set by clients outside of your domain.
超时可在不同的级别上进行配置,通过代码动态设置、从管理角度上更改、由您所在域意外的客户进行设置。
You can add a contribution to an SCA domain using the code in Listing 2.
可以使用清单2中的代码将贡献包添加到sca域。
Normally, an HTTP POST results in the execution of code that creates a resource in the same domain as the request URI and returns a URI for that new resource.
通常,HTTPPOST会导致代码的执行,该代码在与请求uri相同的域中创建一个资源,并返回那个新资源的URI。
It will show you all of the HTTP requests made, the response code and message received, the domain it was retrieved from, the file size, and the timeline of the page load.
将会显示所有生成的HTTP请求、响应代码和接收的消息、接收来源域、文件大小、发送时间点。
Invoke domain code with mock objects as parameters.
将模仿对象作为参数来调用域代码。
One ProtectionDomain is created by default and is treated "special," in that the code belonging to this domain is deemed trusted and can be granted special privileges.
默认情况下,会创建一个ProtectionDomain,并作为“特殊”情况处理,即属于这个域的代码被认为是受信任的并可以获得特殊的权限。
Instead of making code relate better to problem domain, you will probably make things worse and end up introducing bugs into your application.
代码若与问题域紧密相关,就有可能使得事情变得更加糟糕,最终还会为你的应用程序引入bugs。
Additionally DSLs are coming with high level debagging support, allowing for to analyzing and debugging code directly on the domain concepts level.
此外,DSL还有高级的数据处理(debagging)支持,允许直接在领域概念级别上分析和调试代码。
Before long, quite a lot of boiler-plate code is devoted to mapping the application domain model into Lucene data structures and getting it back out again.
在之前很长一段时间,相当多的样板式代码热衷于把领域模型映射到Lucene数据模型上去。
Domain workbench allows code completion and also multiple projections of the same domain code.
领域工作台允许代码完成,同样允许相同领域代码的多重投影。
It's not changing, for example, the domain functionality in the MS-RPC code, it's not changing our user - and group-mapping code.
例如,它没有改变MS-RPC代码中的域功能,也没有改变我们的用户及组映射代码。
Organizing code by domain responsibility is a best practice, and in Web Flow 2 we are trying really hard to make this the easy practice.
按领域职责组织代码是最佳实践,在WebFlow2中我们正尽力简化其使用。
When a user works with the business component, the business component code is able to determine which domain role the user belongs to by calling the CommunityLocator method isUserInDomainRole.
当一个用户使用业务组件工作时,业务组件代码可以通过调用CommunityLocator方法 isUserInDomainRole确定该用户属于哪个域角色。
Apparently a single missing full stop at the end of the code meant that the domain Name Systems (DNS) failed to recognise.se as the "top-level" (country-wide) domain.
很显然,程序末尾仅少了个句号使得域名系统(DNS)无法识别“。se”了,“。se”是瑞典的“顶级”(国家)域。
The concepts are then translatedinto a higher-level representation of the software’s functions calledthe domain code, using a tool called the domain workbench.
之后这些特点将被转化成一种软件功能上的高级表现,被称作“域代码(domain code)”。
应用推荐