可以看到,默认情况下patient类仅仅扩展了ActiveRecord。
As you can see, by default the Patient class simply extends ActiveRecord.
在大多数情况下,您将为一个类别使用被提供的类。
In almost all situations, you will use the supplied class for a category.
我们来看一下这些新类是如何工作的。
我们来通过一些代码示例按顺序看一下每个类。
Let's take a look at each class in turn with some code examples.
看一下route类生成的代码。
回想一下,vector类的方法几乎都是同步的。
Recall that the methods of the Vector class are nearly all synchronized.
现在,回顾一下Rational类定义中的第一行。
Now look again at the first line in the Rational class definition.
在默认情况下,Morphia使用类名称来命名集合。
Morphia, by default, USES the class name to name the collection.
在这种情况下,知识由machine类的一个实例组成。
In this case, the knowledge consists of an instance of the Machine class.
让我们来回顾一下图3中的简单类图传达了什么。
Let's review what the simple Class diagram in Figure 3 is communicating.
在某些情况下,业务对象模型将演化成系统类。
In some cases, the business object model evolved into system classes.
对于每一类角色,我都想尝试一下。
现在,想像一下对发出开销较高的SOAP调用的类进行单元测试。
Now imagine trying to unit test a class that makes an expensive SOAP call.
在这种情况下,Portlet必须有权访问这些类。
In this case, the portlet must have access to these classes.
规则类是十分简单的,典型情况下只包含一个方法。
The rule class is quite simple, typically containing only a single method.
在这种情况下,Spring发现并实例化这个惟一的类。
In this case, Spring finds this one class and instantiates it for you.
所以这种情况下,您的页面在顶层有一个div,含有 toolbar类。
So in this case, your page has a div at the top with class toolbar.
在这两种情况下,都可以直接在image中修改类的单个副本。
In both cases, you modify a single copy of the classes in the image directly.
这一类故事会使我们思考在类似的处境下,我们自己该做些什么?
Such stories set up thinking, wondering what we should do under similar circumstances.
没什么。我只是浏览一下历史类的书而已。
Nothing in particular. I'm just browsing the history section.
“但是,等一下!”你可能要说“类脚本呢?”好问题。
"But wait!", you may say, "What about the class script?" Good question.
在部门经理的领导下,负责社交类app的产品设计。
Responsible for the design of social APP under the leadership of department head.
导出了在SU_6分类下,计算能量矩阵元的公式。
The formula for the energy matrix element under SU_6 is also derived.
顺便问一下,你的驾驶照是哪一类的?
一般情况下,你希望每个类一个文件。
在此情况下,必须在连接至数据类时提供该命名空间。
In that case, you must provide that namespace when you connect to the data classes.
你能给我们简要地介绍一下熊类家族的历史吗?
Can you give us a quick overview of the history of the bear family?
这一类故事会使我们思考在类似的处境下,我们自己该做些什么?
Such stories set us thinking, wondering what we should do under similar circumstances.
这一类故事会使我们思考在类似的处境下,我们自己该做些什么?
Such stories set us thinking, wondering what we should do under similar circumstances.
应用推荐