The BusObjContainer class creates and maintains an array of one or more child business objects. This class supports business objects with a hierarchical structure. Each BusObjContainer instance is a container object into which you can insert business objects that are instances of a business object definition referenced by a compound attribute of a parent business object. The inserted objects are child business objects in the hierarchy.
The header file for this class is BusObjContainer.hpp. It resides in the following subdirectory of your product directory:
DevelopmentKits\cdk\generic_include
Table 101 summarizes the methods in the BusObjContainer class.
Member methods of the BusObjContainer classMember method | Description | Page |
---|---|---|
BusObjContainer() | Creates a business object array (container). You should never use this method to create business object arrays. The IBM WebSphere business integration system creates a business object array as needed for each attribute that refers to child business objects. | |
getObject() | Retrieves the child business object that occupies a specified position in a business object array. | getObject() |
getObjectCount() | Retrieves the number of child business objects in a business object array. | getObjectCount() |
getTheSpec() | Retrieves the business object definition for a business object array. | getTheSpec() |
insertObject() | Inserts a child business object into a business object array at the next available position. | insertObject() |
removeAllObjects() | Removes all business objects in a business object array. | removeAllObjects() |
removeObjectAt() | Removes the business object at the specified position in a business object array. | removeObjectAt() |
setObject() | Inserts a child business object into a business object array at a specified position. | setObject() |