The straightforward way is to call the data factory again to create an object of the appropriate type, then assign it to the property in its parent object.
直接的方法为再次调用数据工厂来创建恰当类型的对象,随后将其指派给其父对象的属性。
Let's use the example of a Person data object to illustrate the important concepts of Type and Property.
我们使用Person数据对象的例子来说明“类型”和“属性”这两个重要概念。
At runtime, the WebSphere Portal property broker USES type and namespace attributes to match source data to actions on the cooperative portlet.
在运行时,WebSpherePortal属性代理使用类型和名称空间属性将源数据与协作portlet的动作匹配。
This class must have a single public property called Value of the same data type as the Const variables you created for this enumeration in step 2.
此类必须具有一个称为Value的公共属性,与第2步中为此枚举创建的Const变量具有相同的数据类型。
The Xpath-query navigates first to the input element of the message where it finds a data object of type DocumentForReview and extracts the reviewer property.
Xpath 查询将首先导航到消息的input元素,将在其中找到 DocumentForReview类型的数据对象,然后提取 reviewer 属性。
Click the Add event button, and select data change as the event type, indicating that whenever the data from the property broker changes, the operations are executed.
单击addEvent按钮,然后选择DataChange作为事件类型,表示当来自属性代理的数据发生变化时,将执行相应的操作。
Base64file is the public property that holds file attachments, so you declare it as an XSD_BASE64BINARY data type (which shows up as an XSD: base64Binary data type in the WSDL file).
base64 file是一个容纳文件附件的公共属性,因此您可以将其声明为XSD_BASE64BINARY数据类型(在WSDL文件中显示为xsd:base64Binary数据类型)。
Each public property shows up as an element of the complex data type. For example, to model the structure as a LotusScript class, you can write the following code.
每个公共属性都显示为复杂数据类型中的一个元素。
This Type and Property model allows data objects to represent what SDO refers to as data graphs.
此“类型”和“属性”模式允许数据对象指出哪种SDO是指数据图表。
Property broker communication only supports the passing of one property, but you can define this property as a complex data type to pass multiple data.
Property代理人通信仅能支持一个属性的传递,但是您能定义该属性作为传递多个数据的复杂数据类型。
Expand the customerSummary bean in the Page Data view and change the contained type for the issues property (see Figure 12).
在Pagedata视图中打开customerSummarybean并且改变所包含的结果特性的类型(如图十二)。
Each property can be of any data type, ranging from strings to binary blobs.
每个属性的类型可以随意,从字符串到二进制的blob都可以。
After clicking Finish, a WSDL file is created that defines the type of data to receive, how to retrieve it from the property broker, and what action to perform when it has been received.
在点击Finish之后,就会创建一个WSDL文件,这个文件定义了接收数据的类型,如何从属性代理接收数据,以及当接收数据时将要执行什么样的行为。
The data type of a parameter can be set using the data type style property, which can be set to SQL data type, LIKE or REFERENCES.
参数的数据类型可以使用data typestyle属性设置,该属性可以被设置为SQL data type、LIKE或REFERENCES。
Each property defines one characteristic, such as the name, data type or length, of a column.
每个属性定义列的一个特性,如名称、数据类型或长度。
A UI type editor provides a user interface for editing a property or data type.
UI类型编辑器提供了一个用来编辑属性或数据类型的用户界面。
The data type returned by a navigation property is determined by the multiplicity of its remote association end.
导航属性返回的数据类型是由其远程关联端的重数确定的。
Columns or public properties of entities and objects are represented as the actual data type of the column or property in the underlying data store.
列或实体和对象的公共属性表示为基础数据存储区中的列或属性的实际数据类型。
A managed property is of a specific data type that may have an associated get method and set method.
托管属性具有特定的数据类型,该类型可能具有关联的获取方法和设置方法。
When the object layer is generated by the Entity Data Model tools, complex objects are instantiated when the complex type property is accessed, and not when the parent object is instantiated.
若对象层是由实体数据模型工具生成的,则复杂对象将在访问复杂类型属性而不是实例化父对象时进行实例化。
Ensure that one of the property parameters specifies an array with the same rank (number of dimensions) and element data type.
确保属性的一个参数指定了一个具有相同秩(维数)和元素数据类型的数组。
If a column in the database is marked as being nullable, then the corresponding property in the data model class created by the LINQ to SQL designer will be a nullable type.
如果数据库中的一列被标志为可空,那么数据模型类相应的属性将是一个可空的类型。
Indicates the determinism and data access properties of a method or property on a user-defined type (UDT).
指示用户定义类型(udt)的方法或属性的确定性和数据访问性质。
A validation error occurs if a value to be updated does not match the type of the property in the data class, or if it does not pass a custom validation check.
如果要更新的值与资料类别中的属性型别不符,或未通过自订验证检查,则会发生验证错误。
Implements a data structure for describing a property as a path below another property, or below an owning type.
实现一个数据结构,用于将某个属性描述为另一个属性或所属类型下的路径。
Represents the data of a property for a selected item and enables editing of this property with type-specific data.
表示选定项的属性的数据,并且使此属性能够通过特定于类型的数据进行编辑。
I would think any property whose data type is not a value type (or has value-type semantics) should not be copied in this way.
我想任何属性数据类型的是不是值类型(或值类型语义)不应该这样复制。
The logic for the data-binding should be implemented within this method, and can be specific to the type or types that the handler is binding a property or properties on.
数据绑定的逻辑应在此方法内实现,并且此逻辑可以特定于数据绑定处理程序要将属性数据绑定到其上的类型。
The logic for the data binding should be implemented within this method, and can be specific to the type or types that the data-binding handler is to bind a property or properties on.
数据绑定的逻辑应在此方法内实现,并且此逻辑可以特定于数据绑定处理程序要将属性数据绑定到其上的类型。
The logic for the data binding should be implemented within this method, and can be specific to the type or types that the data-binding handler is to bind a property or properties on.
数据绑定的逻辑应在此方法内实现,并且此逻辑可以特定于数据绑定处理程序要将属性数据绑定到其上的类型。
应用推荐