将模仿对象作为参数来调用域代码。
取消“域代码”复选框。
将所述第二区域代码与所述第一区域代码相比较;以及如果所述第一区域代码与所述第二区域代码不匹配,则存储所述第二区域代码和所述第二国家代码。
Compares the second region code to the first region code, and stores the second region code and the second national code if the first region code not matches to the second region code.
通过不暴露setter方法,代码愈发紧凑并且还提供了域不可修改的额外益处。
By not exposing a setter method, the code is more concise and also provides the additional benefit of enforcing immutability.
从genmodel中,您可以为域扩展创建插件代码。
From the genmodel, you can create the plug-in code for the domain extension.
我写作的另一个目的是将编程代码向公众域公布。
Another purpose of my writing is to release programming code to the public domain.
默认情况下,会创建一个ProtectionDomain,并作为“特殊”情况处理,即属于这个域的代码被认为是受信任的并可以获得特殊的权限。
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.
可以将其映射到特定的域,并能用于进行模型转换、代码生成等工作。
They can be mapped to a specific domain and used for model transformation, code generation, and so on.
输入文本域的定义是很简单的HTML代码,如清单6所示。
The definition of the input fields is straight-forward HTML code, as you can see in Listing 6.
DojoX Secure包含从外部域安全加载潜在恶意的代码、内容和UI工件需要的组件。
DojoX Secure includes components that are necessary for safely loading potentially malicious code, content, and UI artifacts from external domains.
George从多个视角阐述了架构建模过程,比如用例模型、概念模型、域模型、设计模型和代码模型。
George explains the Architecture Modeling process from different perspectives such as Engineering Use Models, Conceptual Model, Domain Model, Design Model and the Code Model.
可以使用清单2中的代码将贡献包添加到sca域。
You can add a contribution to an SCA domain using the code in Listing 2.
您可以在代码的任何地方导入包、类等,它们的作用域限于导入它们的文件。
You can import packages, classes, etc. anywhere in the code, and they are scoped to where you import them.
要设置文本域值,您需要输入一些类似于清单1 所示的代码
To set the values for a text field, you would enter something like the code shown in Listing 1
或者您可以将所有验证代码移入到服务层,然后从应当是该知识所有者的域类中删除它吗?
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?
现在,将您在前面步骤中创建的内容点添加到ViewJSP文件中,然后添加代码来引用您想显示的内容点中的域。
Now, add the content spots that you created in the previous step to the View JSP file, and then add code to reference the fields in the content spots that you want displayed.
域对象写入DTO映射代码是非常枯燥。
闭包可被视作一个遵循特别作用域规则且可以用作参数的代码块。
Think of a closure as a code block that you can use as an argument, with special scoping rules.
Struts2OGNL表达式减小了编写复杂代码、将单级表单beans转换为多级域对象的难度。
Struts 2 OGNL expressions reduce the difficulty of writing complex code to transform single-level form beans to multi-level domain objects.
因为更多地重用代码,所以本文中介绍的使用业务域驱动的类层次结构的概念可以简化Domino应用程序的开发。
The presented concept of using business domain-driven class hierarchies can simplify Domino application development because of the higher amount of reused code.
本文提供的示例代码将演示这些统一域类的使用。
The sample code provided with this article demonstrates the use of these unified domain classes.
通过在代码中添加调试语句来输出对象的域或者甚至于整个数据集合是一种常用的解决问题的方法。
Adding debug statements to your code to write out the fields in an object, or even entire data collections, is a common problem-solving approach.
因此,Ajax代码(具体来说就是XMLHttpRequest对象)只能对所在的同一个域发送请求。
As a result, your Ajax code (and specifically, the XMLHttpRequest object) can only make requests to the same domain on which it's running.
在下一篇文章中,我们将关注代码段,并阐述规则如何可以被轻松定制,并在既定域所有页面中被验证。
In the next article, we will look at the code snippets and explain how easily these rules can be customized and validated across all the pages on any given domain.
自动生成对象到对象的映射代码,比如,能够生成从实体对象映射到域对象,而不是手动编写映射代码。
Object to object mapping. Like, the tool can be used to map entity objects to domain objects instead of writing manual mapping code.
在后面的一节中,我们将更详细地讨论基于域的移动代码安全性。
We'll discuss domain-based mobile code security in more detail in a later section.
在转到Ad控制器之前,您可能注意到了控制器方法直接使用域对象数据访问代码。
Before moving on to the Ad controller, you might have noticed that the controller methods make direct use of domain-object data-access code.
在旧的规范下,必须专门为队列或主题编写应用程序代码,因为类本身是特定于域的。
Under the older specification, the application code had to be written specifically for queues or topics because the classes themselves were domain-specific.
有时候可以根据问题域的理论知识预测复杂性,但是在编写代码时,又会产生新的约束和机会,这些实际上是无法预测的。
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.
当一个用户使用业务组件工作时,业务组件代码可以通过调用CommunityLocator方法isUserInDomainRole确定该用户属于哪个域角色。
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.
应用推荐