• Adding event handlers to domain classes.

    向域类添加事件处理程序。

    youdao

  • Move logic into domain classes or services.

    把逻辑移到领域类或服务中。

    youdao

  • Life cycle events of Grails domain classes.

    Grails领域类的生命周期事件。

    youdao

  • Notice that you must explicitly make domain classes searchable.

    请注意:必须要显式地让domain类变成可搜索的。

    youdao

  • Two domain classes, two controllers, and just over 250 lines of code.

    两个domain类,两个控制器,刚刚超过250行代码。

    youdao

  • Now that your domain classes and controllers are in place, start Grails.

    现在域类和控制器类都已经就位,请启动Grails。

    youdao

  • And finally, you'll explore the life cycle events of Grails domain classes.

    最后,探讨Grails域类的生命周期事件。

    youdao

  • Org.acme.membership.domain, which holds the JDO enhanced business domain classes.

    它含有JDO增强的业务域类。

    youdao

  • The sample code provided with this article demonstrates the use of these unified domain classes.

    本文提供的示例代码将演示这些统一域类的使用。

    youdao

  • Notice that these consist only of the application architecture's domain classes (the API layer).

    注意,这些只包含应用程序架构的域类(api层)。

    youdao

  • But the Searchable plug-in also does a bit of metaprogramming on your individual domain classes.

    但Searchable插件也可以在您个人的域类上做一些元编程。

    youdao

  • You use the active record pattern to wrap relational database persistence methods in domain classes.

    活动记录模式则可用来在域类内包装关系数据库持久性方法。

    youdao

  • To do this, you must add any state and relationships that the pattern requires to your domain classes.

    为此,您必须将模式需要的所有状态和关系添加到域类中。

    youdao

  • It gives you good examples of how to use the domain classes, as well as how to write a controller and a view.

    它为您提供了如何使用域类以及如何编写控制器和视图的优秀示例。

    youdao

  • The columns in the airline, airport, and trip tables all match the fields in the corresponding domain classes.

    airport和trip表中的所有列均与对应的域类中的字段匹配。

    youdao

  • Those methods are just a small sampling of the many dynamic methods that Grails provides for your domain classes.

    这些方法只是Grails为你的领域对象所提供的众多动态方法的一小部分而已。

    youdao

  • This setting allows you to have Grails update your database schema at runtime to synchronize it with your domain classes.

    这个设置允许Grails在运行时使用你的领域对象同步更新数据库模式。

    youdao

  • When it comes down to it I must be able to declare my domain classes in packages and the JetBrains plugin can't handle that.

    当我使用Groovy插件的时候,我必须能够在包中声明我的领域类,然而JetBrains插件不能处理这个问题。

    youdao

  • You might combine the presentation and domain layers in a single WAR file, or your domain classes might be in a separate EAR file.

    可以将表示层和域层结合放到单个WAR文件中,或将域类单独放到一个EAR文件中。

    youdao

  • The yellow box includes your domain classes, yet the Struts framework encourages you to extend from ActionForm for its helpful behavior.

    黄色的方框包含了您的域类,但是Struts框架鼓励您扩展ActionForm 获得有用的行为。

    youdao

  • The SearchableService, as demonstrated in the preceding section, is great for doing site-wide searches across all of your domain classes.

    正如在前一章节所展示的那样,SearchableService非常适合用来进行跨所有域类的站点级别的搜索。

    youdao

  • You can easily test domain classes and services with a GrailsUnitTestCase, but testing a controller requires some additional functionality.

    使用GrailsUnitTestCase,可以轻松测试域类和服务,但测试控制器还需要其他一些功能。

    youdao

  • The ObjectifyService object allows you to register domain classes, which of course you need to do before attempting to invoke their CRUD-like behavior.

    ObjectifyService对象允许您注册域类,在尝试调用其crud类操作之前这当然是您需要做的。

    youdao

  • AspectJ intertype declarations are used to automatically generate ID and version fields, and getters and setters for persistence fields in domain classes.

    AspectJintertype声明用于自动生成id和版本字段,以及域类中持久化字段的getters和setters。

    youdao

  • We want Grails to recognize these classes as our domain classes and to provide all the ORM and dynamic method goodness that comes with a Grails domain class.

    我们要让Grails将这些类认为是我们的领域类,并提供Grails领域类所拥有的ORM和动态方法的全部好处。

    youdao

  • I'm going to leave that to your imagination for now, though, and focus on one last requirement of working with Objectify: manually registering domain classes.

    不过我打算暂时给您留有想象的余地,并专注于使用Objectify的最后一个要求:手动注册域类。

    youdao

  • The only methods in the entire application architecture that start, commit, and roll back a transaction are public methods contained in API layer's domain classes.

    整个应用程序架构中用于启动、提交和回滚事务的惟一方法就是api层的域类中包含的公共方法。

    youdao

  • Also included with this article are additional sections on the unified domain classes in JMS 1.1, exception handling, transport bindings, and other best practices.

    本文还包括有关JMS 1.1中的统一域类、异常处理、传输绑定和其他最佳实践等信息。

    youdao

  • Everything from the build scripts to the individual Grails artifacts (domain classes, controllers, etc.) throw events at key points during the application's life cycle.

    从构建脚本到单个的Grails工件(域类、控制器等),所有这些都会在应用程序的生命周期的关键点抛出事件。

    youdao

  • This approach perfectly epitomizes the DRY (Don't Repeat Yourself) principle, since the persistence logic is implemented once and mixed in domain classes as many times as needed.

    这种方式完美地诠释了DRY (DontRepeat Yourself)准则,因为持久化逻辑只实现一次,在需要的时候可以多次混合到领域类中。

    youdao

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

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

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