• In this section, we show how to update the domain validator class to validate a set of units in a diagram.

    在这一部分之中,我们向您展示了怎样更新域确认器类,以确认图表之中的一系列单元。

    youdao

  • 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?

    或者您可以将所有验证代码移入到服务层,然后从应当是该知识所有者的域类中删除它吗?

    youdao

  • If you have a domain package that is a server to only one other class or domain package, you may decide to combine the two packages.

    如果您有一个域包,这个域包是唯一的一个其它类或者域包的服务器,您可以决定合并这两个域包。

    youdao

  • For the purposes of this discussion, I prefix all query names with the short (unqualified) name of the domain class.

    出于讨论目的,我为所有查询名称都加了域类的短(非限定)名称作为前缀。

    youdao

  • In this version, the domain class (in yellow) includes an interface that defines the semantics of a schedule item.

    在此版本中,域类(黄色部分)包含了一个定义日程项目语义的界面。

    youdao

  • The heart of every application is the base model that describes it -- a domain model, class model, logical model, entity model, or the like.

    每一个应用系统的核心是描述这个系统的基础模型 --领域模型、类模型、逻辑模型、实体模型等等。

    youdao

  • Every domain class pairs up with a controller based on the name.

    每个域类根据名称与一个控制器配对。

    youdao

  • As an alternative, the recipients could decide to add the class library domain to their definitions.

    作为替代,接收方可以决定将类库域添加到他们的定义中。

    youdao

  • From this domain validator class, you can instantiate and register your own unit and attribute validators.

    从该域确认器类中,您可以实现并注册您自己的单元和属性确认器。

    youdao

  • In the scenario, the class library domain follows this practice so that additional domains can be added in the future.

    在该方案中,类库域按照这一做法以便将来可以添加额外的域。

    youdao

  • That way every new domain class created already has the fields and event closures in place.

    这样,新创建域类时它们就有适当的字段和事件闭包。

    youdao

  • Using auto completion is a fast way to remember what queries are available for a certain domain class.

    使用自动完成是记住什么查询可用于特定域类的快捷方法。

    youdao

  • This time, however, the failure isn't due to the lack of metaprogramming on a domain class. It's due to the lack of dependency injection.

    但是,这次失败并不是因为域类上缺少元编程,而是因为缺少依赖性注入。

    youdao

  • Theses clone classes must have the same name than the Domain class (in a different package) and inherits from LazyGwtPojo.

    这些克隆类必须使用和域类本身一样的名字(但两者在不同的包中),并且继承LazyGwtPojo。

    youdao

  • Because this bean definition is abstract, I can reuse the definition a number of times later and set the constructor argument to a suitable domain class.

    因为该bean定义是抽象的,所以我将来可以无数次地重用该定义,并将构造函数参数设置为合适的域类。

    youdao

  • In a Grails application, you'd create a domain class for each.

    在Grails应用程序中,要为每个元素创建一个域类。

    youdao

  • The constructor method initializes its super class with the MySQL domain package.

    构造器方法会使用My SQ l域包来初始化它的超类。

    youdao

  • Looking back at the source code of the User domain class in Listing 1, clearly no validate method is defined.

    回头看一下清单1中user域类的源代码,很明显其中没有定义任何validate方法。

    youdao

  • Grails gives you a place to store commonly used methods that transcend any single domain class: services.

    Grails为您提供了保存常用方法的位置,并且超越了任何单个的域类:即服务。

    youdao

  • As you can see, the unit test for a domain class now (with Grails 1.1) extends GrailsUnitTestCase.

    可以看到,现在对一个域类的单元测试(在Grails 1.1中)扩展了GrailsUnitTestCase。

    youdao

  • Note that the GenericDaoHibernateImpl class defines only one constructor that takes a domain class as its argument.

    注意,GenericDaoHibernateImpl类仅定义一个构造函数,该构造函数接受域类作为其参数。

    youdao

  • The first strategy I'll demonstrate for mapping your domain class to a legacy table is using a static mapping block.

    我将示范的第一个将域类映射到遗留表的策略是使用静态mapping块。

    youdao

  • This method instructs Grails to metaprogram the validation methods onto the specified domain class as it would normally during run time.

    此方法指示Grails将验证方法元编程到指定的域类上,就像通常在运行时所做的一样。

    youdao

  • Grails looks for the constraints declarations in the same directory as our domain class.

    Grails在领域类相同的目录下查找约束声明。

    youdao

  • In addition to timestamping your domain class, you can tap into four event hooks: beforeInsert, befortUpdate, beforeDelete, and onLoad.

    除了给域类添加时间戳,还可以引入4 个事件挂钩:beforeInsert、befortUpdate、beforeDelete和onload。

    youdao

  • The entry point is always the com.ibm.ccl.soa.deploy.core.domains extension point, which lets you register a new domain validator class.

    进入点是 com.ibm.ccl.soa.deploy.core.domains扩展点,您可以将其注册为一个新的域确认类。

    youdao

  • In this case, the feature and county columns aren't represented in the domain class.

    在这种情况下,feature与county列未表示在域类中。

    youdao

  • In the scenario, the class library domain has a dependency on the programming domain, which provides the apiname element.

    在该方案中,类库域和编程域有相关性,后者提供apiname元素。

    youdao

  • A sensible abbreviation for the class library domain might be cl.

    类库域的合理缩写可以是cl。

    youdao

  • A better way is to place the validation logic in the domain validator class of the Mysql domain (MysqlDomainValidator).

    更好的方法是将确认逻辑置于My sq l域MysqlDomainValidator的域确认器类。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定