验证:在数据模型中,包含验证数据对象实例的数据的例程。
Validation: in the data model, include the routines that can validate the data that forms the instance of the data object.
相反,它将直接为您创建该属性——在这个特定的数据对象实例上。
Instead it simply creates the property for you — on that particular instance of the data object.
设想一下您需要显示餐馆甜点的有关信息,其对应的数据对象实例可以包含下列值。
Imagine you need to represent information related to a dessert in a restaurant. A particular instance of a Data Object could hold the following values.
创建数据对象实例的唯一规则是,任何带更改摘要的数据对象都不能包含其他带更改摘要的数据对象。
The only rule when creating instances of DataObjects is that no DataObject with a change summary may contain another DataObject with a change summary.
因为该数据对于所有对象是相同的,所以让它可用于所有实例是有意义的。
Because this data is the same for all objects, it makes sense to make it available across all instances.
在每个sdo实例的中心都有一个模式,用于定义所允许的数据对象结构。
At the heart of every SDO instance is a model that defines the permitted structure of a data object.
总大小的差别是由于聚合数据结构级别视图使用汇总实例计数,对象/类泄漏疑点视图使用实际事例和大小计数。
The difference in cumulative size occurs because the aggregated data structure level view uses summarized instance counts and the object/class leak suspects view uses actual instance and size counts.
您应该创建一个类来包含表示解析器所得数据的对象实例。
You should create a class that contains an instance of the object that contains the data from the parser.
一旦将数据放入了这个实例对象,您就可以在数据上进行任何您想要的数据挖掘了,所以您想要这个步骤尽可能地简单。
Once you get your data in the instances object, you are free to use whatever data mining you want on the data, so you want this step to be as easy as possible.
要数据编组的对象必须是类的一个实例,该类是用绑定中的全局映射定义的。
The object to be marshalled must be an instance of a class that's defined with a global mapping in the binding.
然后它创建一个VisitInformation对象的实例,(标记为“visits”),它拥有会话数据。
Then it creates an instance of the VisitInformation object (labeled "visits") that holds the session data.
步骤5:通过提供XKMS密钥数据和授权信息,创建XKMSRegister对象的一个实例。
Step 5: Create an instance of the XKMSRegister object by providing the XKMS key data and authorization information.
现在,已经拥有了我们的数据对象,就可以建立Employee的实例并设置不同的属性了。
Now that we have a model of our data objects, we can build instances of Employee and set various properties on them.
文档的二进制数据、documentAttributes实例和文档状态是在Document类对象中设置的。
The binary data for the document, the documentAttributes instance, and the document status are set in the Document class object.
将XPath表达式从String转化为XPathExpression对象,然后将该对象应用于所支持的数据模型实例中的任何节点。
To convert an XPath expression from a String to an XPathExpression object, which can then be applied to any node in an instance of the supported data model.
第1章:对Modeler中的流程进行建模——使用Modeler创建实例流程,然后添加数据对象、判决条件和资源。
Chapter 1: Model the process in Modeler — creates the sample process with Modeler and adds data objects, decision conditions and resources.
在demo包中,还会发现Test对象的数据访问对象(TestDAOImpl)的实现,它允许您按照ID查找Test实例。
In the demo package, you'll also find an implementation of a data access object (TestDAOImpl) for Test objects, which lets you find Test instances by ID.
对于每个键,会在对象上创建一个具有对象名称和数据的实例变量。
With each key, an instance variable is created on the object with that name and data.
还可以用它在数据库中创建必要的对象实例以执行测试,从而避免编写复杂的实体创建脚本。
You can also use it for testing by creating the necessary instances of objects in a database, thus avoiding verbose entity creation scripts.
在运行时检查类型或对象实例的元数据的能力是一个非常强大的功能。
The ability to examine the metadata of a type or object instance at run time is a powerful feature.
这个工厂仅仅是运行时的一个组件,它的功能就是根据sdo类型定义实例化sDO数据对象。
The factory is simply a component of the runtime whose function is to instantiate SDO data objects from SDO type definitions.
该对象能生成进程实例特定数据,比如进程名称、当前活动、当前登录用户以及当前实例ID。
The object can generate process instance specific data, such as process name, current activity, current logged in user, and the current instance ID.
一旦定义了数据集,您就可以选择在组件托盘上包含该数据集对象实例,用以将数据源快速映射到窗体设计器中的窗体控制。
Once the data set is defined, you have the option of including the data set object instance in your component tray for rapid data source mapping to form controls in your forms designer.
然后,它获取这个业务对象,将其实例化,并填充元数据,如下面清单4所示。
It then takes the business object, instantiates it, and populates it with the metadata, as shown in Listing 4 below.
数据库数据库是命名的对象集合,是与实例中的其他数据库分离的实体。
Database a named collection of objects and is a separate entity from other databases in the instance.
尽管必须使用该方式来实例化适配器对象,但这还是避免了复制数据值。
Although you must instantiate the adapter object with this approach, it still avoids copying the data values.
连接池可提高性能,因为一将数据源对象实例化,它就会创建一个连接。
Connection pooling improves performance as a data source object creates a connection as soon as it is instantiate.
DAS还可以充当数据对象的工厂,创建符合某个预定义的数据源架构(例如,一个数据库或XML架构)的新实例。
A DAS can also act as a factory for data objects, creating new instances that conform to some predefined data source schema (for example, a database or XML schema).
ZODB数据库中的对象允许具有任何实例属性的集合。
An object in a ZODB database is allowed to have any collection of instance attributes.
该知识用于确保对实例数据的创建和修改符合数据对象的结构和类型规则。
This knowledge is used to ensure that the creation and modification of instance data conforms to the structure and type rules for the data object.
应用推荐