Working with extended data objects (XDOs)

An XDO represents a component that can store resource content, such as a resource item or document part.

Resource items (XDOs) extend non-resource items (DDOs). You create resource items much like the regular ones. Depending on the type of resource item, the XDO can be extended further.

IBM® Content Manager Version 8: IBM Content Manager Version 8 requires XDOs to be of the correct subclass of DKLobICM based on the item type's XDO classification and associated subclass. You must always create DKDDOs using the datastore object's createDDO() methods (DKDatastoreICM::createDDO()). This allows the system to automatically create an instance of the appropriate subclass of DKDDO or DKLobICM, initialize other important information, and properly set up greater functionality such as resources, document model, and folders. DKDDOs from resource or document part item type classifications (returned from DKDatastoreICM.createDDO() methods) can be cast to the actual subclass depending on the item type classification and XDO class. For more information on creating items in general and the DKDatastoreICM.createDDO() function, see the SItemCreationICM and SResourceItemCreationICM API samples.

Example: Java™

        Class Hierarchy
            Type     DDO       XDO       Extension
            -----   -----    --------    -----------
            Lob     DKDDO -> DKLobICM      
            Text    DKDDO -> DKLobICM -> DKTextICM
            Image   DKDDO -> DKLobICM -> DKImageICM
            Stream  DKDDO -> DKLobICM -> DKStreamICM