清单7:一些元素的简单类型。
实现定义的简单类型和facet。
下面我们加进来了一些简单类型的模板。
用于简单类型的映射规则。
复合类型由简单类型组成但只代表一个实体。
Compound types are formed from simple types but represent a single entity.
简单类型包括字符串、浮点数、整数、枚举等。
Simple types include string, float, integer, enumeration, etc.
例如,对于查询,可以返回各种集合和简单类型。
For example, a variety of collection and simple types are returned from queries.
第三个例子说明数组中的元素不一定非得是简单类型。
The third example demonstrates that elements of an array need not be of the same type.
表达式中项的两种简单类型就是常量和变量。
The two simplest types of terms in an expression are constants and variables.
在清单11中,我用这个新语法创建了一些简单类型。
In Listing 11, I've used the new syntax to create some simple types.
简单类型中的断言类似于其他简单类型约束facet。
Assertions in simple types are similar to other simple type constraining facets.
包括在XML模式中使用简单类型来构建复杂类型的能力。
This includes the ability to use simple types in XML schema to build complex types.
这样属性和简单类型定义就完成了,如列表3中的片段所示。
This completes the attributes and simple type definition, as shown in the fragments presented in Listing 3.
所有简单类型的局部变量的值都会在这个buffer中显示。
All local variable that are simple types display their values in this buffer.
它允许根据相关名称空间定义复杂或简单类型的约束以进行扩展。
Wildcarding allows you to define complex or simple type restrictions for extensions based on an associated namespace.
字符串等简单类型将成为SDO上的原生数据类型属性。
Simple types like strings end up as primitive properties on the SDOs.
到目前为止,已经谈论了许多Python语言中使用的简单类型。
So far, I've talked a lot about the simple types in the Python language.
Assign只能用于为简单类型字段指定值,比如字符串和整数。
Assign is only available for assigning a value to simple type fields, such as string and int. To create an assign mapping.
游标的最简单类型是流水型(firehose)或仅向前型游标。
The simplest type of cursor is the firehose, or forward-only cursor.
当枚举定义的简单类型使用常数的特殊列表时,就会需要这种类型了。
It is needed when there should be a specific list of constant values to be used for the simple type defined by the enumeration.
服务操作能够拥有任何数量的消息或者简单类型的输入和输出。
A service operation can have any number of inputs and outputs with types of messages or primitive types.
用于服务操作的参数的数据类型既可以是消息也可以是简单类型。
The data types of parameters for service operations are either messages or primitive types.
可视化选项卡还提供了一些验证,如验证指定给某个简单类型的值是否有效。
The visual tab also provides some validation such as verifying whether the value assigned to a simple type is valid.
服务操作的参数被要求要么为服务数据(消息),要么为简单类型。
The parameters of the service operations are required to be either service data (messages) or primitive types.
Assign仅可用于为简单类型字段(如string和int)指定值。
Assign is only available for assigning a value to simple type fields such as string and int. To create an assign mapping.
约束facet是一种构造,可以在派生期间使用它们控制简单类型的值空间。
A constraining facet is a construct that you can use to control the value space of simple type during derivation.
从业务对象定义而言,简单类型不能是业务对象,但业务对象可以包含简单类型。
From the business object definition, simple types cannot be business objects, but business objects can contain simple types.
本质上,刻面通过规定字符串的最大长度或者数字的上下限来进一步限制简单类型。
In a nutshell, facets further restrict a simple type by specifying the maximum length of a string or the upper and lower limits of a number.
这个简单的例子只有一种类型,但多数库都会在同一名称空间中提供多个简单类型。
This simple example only provides one type, but most libraries provide multiple simple types in the same namespace.
您还需要为Quantity属性作相似的工作:您需要建立一个匿名简单类型。
You also need to do something similar for the type of the Quantity property: you need to create an anonymous simple type.
应用推荐