Next, you add some base classes for entries, objects, and authors.
接下来,您应该继续为项、对象和作者添加一些基本类。
Like functions, some classes require that you pass them arguments.
与函数一样,一些类需要您为其传递参数。
However, you will see in the next steps that some correspondences can also be applied between classes linked with simple associations.
尽管如此,在下一步骤中你将看到,有些通讯还可以用于由简单关联联系起来的类。
In analysis, you will discover some of the attributes (i.e., class data variables) that your classes will need in order to meet their responsibilities.
在分析中,我们会发现,类为了完成自己的职责,会需要一些属性(也就是类的属性变量)。
Therefore, whenever you feel that standard set of WSA stub classes doesn't suit your application, you can refer to this tutorial for some ideas about customization.
因此,只要您觉得WSA存根类标准集不适合您的应用程序,就可以参考此教程了解一些自定义相关知识。
If your class loads the implementation based on some logic, it still needs to require the definitions of all the implementation classes, and that doesn't get you anywhere.
如果您的类将装入基于某些逻辑的实现,它仍然需要获取所有实现类的定义,并且那样做也无法取得任何效果。
As I've looked over some of these — I've been reading more and more code for my classes and my research — I believe there are some general principles you can follow.
因为我已经看过他们其中的一些代码——在我的教学和研究中我已经阅读过非常多的代码——我认为您可以遵守一些通用的原则。
You should spend some time studying the fields and methods included in the classes mentioned above.
您得花些时间去学习上述类中所包含的字段和方法。
Normally, when building UIs in one technology and services in another, you must write or find a framework that serializes the classes to some format both technologies understand.
通常,用一种技术构建UI,用另一种技术构建服务时,您必需编写或找到一个框架,以两种技术都理解的某种格式序列化这些类。
And if you do some research, you might find some cheap classes in your area, or you might know a friend who will provide coaching or counseling for free.
如果你做一些研究,就能找到附近一些便宜点的课程,或者你可能认识一个朋友能免费指导你。
The compiled code should include the client-side code you've already compiled using GWT — remember, you use some of those client classes on the server side to facilitate data transfer.
经过编译的代码应当包括已经使用GWT编译的客户端代码——记住,在服务器端使用一些客户机类以帮助数据传输。
If you have a desire to try a different line of work take that leap by attending some classes that will help you make the transition.
如果你渴望尝试不同的行业,那么你可以去参加一些课程帮助你来转换职业。
If you are lucky, your organization already possesses some common classes or libraries you can use.
如果幸运的话,公司已经有一些通用的身份验证类或库。
Using annotations (also called attributes) you can even associate meta data to classes and some of their contents (operations, fields).
使用注解(也称为特性),你甚至可以关联元数据与类和类的其他内容(操作、字段)。
You can use any (or all) of the techniques outlined in this article to add methods easily to one, some, or all of the classes you want.
您可以使用本文介绍的任何(或所有)技巧来向任意数量的类添加方法。
If your first cut at a use case description is a bit thin in helping you identify some analysis classes, then do the supplemented use-case.
如果你觉得补充一些细节对于找出系统中的分析类有所帮助,那么就加上它。
Some administrators might tell you not to send developers to administration classes because it makes them "dangerous."
有些管理员可能会告诉您不要派开发人员参加管理课程,因为这样会让他们变得“危险”。
You can easily test domain classes and services with a GrailsUnitTestCase, but testing a controller requires some additional functionality.
使用GrailsUnitTestCase,可以轻松测试域类和服务,但测试控制器还需要其他一些功能。
In this section, we'll cover some advanced issues that arise when you start to pickle complex objects, including instances of custom classes.
在这一节,将讨论一些高级问题,当您开始pickle复杂对象时,会遇到这些问题,其中包括定制类的实例。
You can create instances of these classes directly, or in some cases by using the org.apache.bcel.generic.InstructionFactory helper class.
可以直接创建这些类的实例,或者在某些情况下使用or g .apache . bcel . generic . InstructionFactory helper类。
On some platforms (notably Windows), you can also move classes from one package or folder to another by simply dragging and dropping them in the package Explorer view.
在某些平台上(特别是Windows),您还可以在PackageExplorer视图中通过简单拖放的方法将类从一个包或者文件夹中移到另一个包或文件夹中。
This tutorial will show you how to use some of the most useful classes from the rich set of Spring MVC APIs, and you'll define controllers to handle actions for your JSP pages.
本教程将向您展示如何使用丰富的SpringMVCAPI集中的一些最有用的类,并且将定义控制器来处理JSP页面的操作。
You can argue (and some of us did) that we should have removed it from those two classes as well, but for good or for ill we have landed where we have.
你可能主张(我们的一部分开发人员抱有同样的态度):应该将它从这两个类中移走,然而好也罢歹也罢,我们终究作出了选择。
If you know that some classes are likely to change, then you may choose to implement them in one or two components if it makes sense to limit the scope of the changes when they do occur.
如果您知道某些类可能改变,那么如果在改变确实发生时限制改变的范围有意义,您就可以选择在一两个组件中实现它们。
Start by putting some business books on your iPod and listening to them in every spare minute you have — while driving, while walking between classes, while waiting in line, whatever.
把一些商业书籍的音频文件放进你的苹果播放器里,当你有空的时候就听——不管是开车时,还是走路时,甚至课间休息和排队时,都可以。
Finally, you write your application using these generated classes to represent your model data and serialize them to XML through some convenient mechanism provided by the framework.
最后,用这些生成的类编写应用程序,表示自己的模型数据,并通过框架提供的一些辅助机制把数据序列化成xml。
In this section, I'll show you some of the places you might expect to find classes hiding, that unexpectedly pop into your classpath and cause problems.
在本节,将展示类常常隐匿其中的几个地点,这些类很可能会出乎意料地冒到类路径中并导致问题的出现。
When writing a test you have to build interfaces and some classes to get it to even compile - how far do you let that go?
在写测试的时候,可能必须构建出接口和一些类来让代码编译通过——这一步该跨多大?
When writing a test you have to build interfaces and some classes to get it to even compile - how far do you let that go?
在写测试的时候,可能必须构建出接口和一些类来让代码编译通过——这一步该跨多大?
应用推荐