元数据术语就是该实体的简单属性。
The metadata items are then simple properties of this entity.
类的每个简单属性对应表的一列。
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.
项目系统将属性区分为两种类型:简单属性和聚合属性。
The project system differentiates properties into two types: simple properties and aggregate properties.
秘密就在于XMLHttpRequest的一个简单属性onreadystatechange。
The secret revolves around a simple property of XMLHttpRequest called onreadystatechange.
为了避免这个问题,应当在构造函数中初始化复杂属性;然而,对于字符串、布尔值等简单属性则不需要这样做。
To avoid this problem, complex attributes should be initialized in the constructor; however, this is not necessary for simple attributes such as strings, booleans, and so on.
这个经过包装的对象使用该简单类型作为其属性之一。
This wrapped object has the simple type as one of its properties.
对于简单的关系类型使用属性;否则,你将会使你的图混乱。
Prefer attributes for simple types to relationships; otherwise, you will clutter your diagrams.
接下来创建一个简单的对象并设置其属性值。
You next create a simple object and set its attribute values.
在本文的后面部分,我将更详细地讨论标签,但现在只需知道,一个简单的、不带属性的标签可以包含任何状态,这个标签正是您在这里所需要的。
I'll discuss the tag more later in this article, but it's enough to understand now that a simple tag with no attributes encompasses every state, which is what you need here.
简单的项属性可以是基元数据类型,例如整数或字符串,或者是称为内容的特殊数据类型,这种数据类型用于存储诸如文件字节等批量数据。
Simple properties of items can be primitive data types, such as integers and strings, or a special data type called content, which is used to store bulk data such as the bytes of a file.
该例中仅仅更新简单的属性值,对性能的影响不是很明显。
In this example, updating the value of simple attributes, the performance impact would not be significant.
缺省情况下,用于格式设置的空白被丢弃,简单元素和属性没有子节点。
By default, formatting white space is discarded and simple elements and attributes do not have child nodes.
考虑一个简单的场景,属性文件的价值就会变得很清楚。
The value of the properties file becomes clear when you consider a simple scenario.
如果对象的目标属性为简单的(人员),则将其内容添加到(中间)结果集。
If the object's target attribute is simple (person), its content will be added to the (intermediate) result set.
这样属性和简单类型定义就完成了,如列表3中的片段所示。
This completes the attributes and simple type definition, as shown in the fragments presented in Listing 3.
使用如下所示的命令来根据姓名属性进行简单查找。
Use the commands as shown below for simple lookups based on their name attributes.
您不能这样做,因为简单类型的元素不能有属性。
数据型是用来描述“简单的”属性,应用文字或则数字来表述。
Datatype properties are used to describe "simple" properties, expressed by means of literals or Numbers.
简单类型的值不能包含元素或属性。
A simple type cannot contain elements or attributes in its value.
对于本文来说,最理想的目的是通过最小的资源损耗对网络连接属性进行简单测试。
Providing simple measurements of network connection attributes with minimal resource consumption is ideal for this article.
由于库用户组除了名称之外没有其他属性,因此属性映射非常简单。
As the repository user groups have no other attributes than their names, the attribute mapping is quite trivial.
我就可以构建一个简单的存根(具有作为属性的数组列表),然后快速实现一些简单数据访问方法,如清单2所示。
I can build a simple stub that has an array list as a property, then implement some simple data access methods quickly, as Listing 2 shows.
清单16.太好了,属性很简单!
订单由包含许多简单类型属性和一个订单行式项目数组的业务对象表示,如图3 所示。
The order is represented by a business object that contains a number of simple type attributes and an array of order line items as shown in Figure 3.
此模板属性文件相当简单,只是一个希望在筛选操作期间替换的属性列表。
The template properties file is pretty simple. Just a list of properties that you want to be replaced during the filter operation.
属性是简单的名称值对。
简单跳过继承属性(我将稍后深入介绍)。
Skip the inheritable attributes briefly -- I dive into those next.
清单7演示了通过提供一个具有name属性的简单类来使用Formattable接口。
Listing 7 demonstrates the use of the Formattable interface by providing a simple class with a name property.
许多Rails模型对象之所以简单,是因为属性都是用元编程动态添加的。
Many Rails model objects are simple because the attributes are all added dynamically with metaprogramming.
应用推荐