DataStoreSampleObject business object

The DataStoreSampleObject is an example of a business object that wraps the SampleObject business object in the required structure.

The IBM® WebSphere® Business Integration Data Handler for XML requires that a business object have a specific structure in order to serialize it. The DataStoreSampleObject is an example of a business object that wraps the SampleObject business object in the required structure. A DataStore collaboration object requires the wrapper business object to have a name of the form DataStoreObjectType, where ObjectType is the type of the object which triggers the the DataStore collaboration object, such as SampleObject.

Use the DataStoreSampleObject business object as an example of the Name and App Spec Info information needed to create the required XML data handler wrapper business object for your application.

This temporary object must contain an attribute named xmlVersion with App Spec Info of type=pi, an attribute named docType with App Spec Info of type=doctype, and a single cardinality copy of the object to be converted to an XML string. See DataStore collaboration template and the Data Handler Guide for more information.

Structure

The DataStoreSampleObject business object is a hierarchical business object. The following table shows its structure.
Table 1. Attributes for DataStoreSampleObject business object
Name Type Key Cardinality App Spec Info
xmlVersion String     type=pi
docType String     type=doctype
SampleObject SampleObject x 1 SampleObject
The DataStoreSampleObject business object includes an attribute based on the following child business object:
  • SampleObject – This child business object is a hierarchical business object. See the SampleObject business object document for more information on this child business object.

Verbs

The DataStoreSampleObject business object supports the following verbs:
  • Request Processing (sending to the destination application): Create, Update, Delete, Retrieve
  • Event Notification (receiving from the source application): Create, Update, Delete, Retrieve

Examine

To examine a listing of the attributes of the DataStoreSampleObject business object, use the System Manager or Business Object Designer.

Related information

For more information on related business objects, collaboration templates, and other components, see the following:

Parent topic: PIMR business objects