类的每个简单属性对应表的一列。
Each simple property of a class maps to a column of a table.
先来看一个带有两个属性的简单属性文件,如清单1所示。
Begin with a simple properties file with two properties, as shown in Listing 1.
在这个简单的例子中,我们仅处理一个属性变更。
In this simple case, we deal only with single property changes.
这个经过包装的对象使用该简单类型作为其属性之一。
This wrapped object has the simple type as one of its properties.
接下来创建一个简单的对象并设置其属性值。
You next create a simple object and set its attribute values.
考虑一个简单的场景,属性文件的价值就会变得很清楚。
The value of the properties file becomes clear when you consider a simple scenario.
与属性一样,最简单的方法是实现一个简单的数据接收器。
As with properties, the simplest way is for a simple data receiver.
您不能这样做,因为简单类型的元素不能有属性。
简单类型的值不能包含元素或属性。
A simple type cannot contain elements or attributes in its value.
您可以通过对象的属性值来找到一个测试对象,这些属性值可能是一个简单的文本。
You can find a test object by its property values, which may be simple text.
属性是简单的名称值对。
要创建查看搜索结果的简单表格显示,使用以下属性文件。
To create a simple table display for viewing search results, use the following property files.
以下代码展示了如何向Name类型添加简单字符串属性first ?
Here is how to add the simple string property first to the Name type.
在本例中,它是简单的黑底黄字文本属性。
最简单的办法就是在控件元素中添加xsi:type属性。
The simplest is to add an xsi: type attribute to the control element. For example.
要声明unique属性很简单,如清单9所示。
The declaration of the Unique attribute, shown in Listing 9, is quite simple.
这个接口非常简单,只有一个方法和一个属性。
This simple interface has a single method and a single property.
为简单起见,没有为该服务设置属性。
For simplicity, there are no properties set for this service.
扩展属性简单易用,并且使用起来也很有趣。
这样做将为我们的程序代码增加新的属性变得很简单。
This makes it easy to add new attributes to our program code.
通过例子说明,属性层次模型是简单有效的。
The example shows that attribute hierarchical model is simple and efficient.
您可以打开概述了一个简单的属性或关闭。
例8 - 3是一个简单的实例,它只设置了人的三个属性。
Example 8-3 is a simple example that sets only three creature attributes.
你不仅可以对简单类型的数组项进行排序,可以通过属性来排序对象。
You can sort objects by property, not just simple basic items.
其特点是简单、容易实现,考虑了属性值代表范围的合理性。
Being simple and easily implemented are the main characters of the algorithm.
通过例子说明了属性层次模型是简单而有。
It is showed through an example that AHM is simple and efficient.
通过例子说明了属性层次模型是简单而有。
It is showed through an example that AHM is simple and efficient.
应用推荐