The CxObjectContainerInterface interface creates and maintains an array of one or more child business objects. It is part of the CxCommon package. This interface supports business objects with a hierarchical structure. Each object instance created from the CxObjectContainerInterface is a container object into which you can insert business objects of the same type. These inserted objects 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.
Table 134 summarizes the methods in the CxObjectContainerInterface interface.
Member method | Description | Page |
---|---|---|
getBusinessObject() | Retrieves the child business object that occupies a specified position in a business object array. | getBusinessObject() |
getObjectCount() | Retrieves the number of child business objects in a business object array. | getObjectCount() |
insertBusinessObject() | Inserts a child business object into a business object array at the next available position. | insertBusinessObject() |
removeAllObjects() | Removes all business objects in a business object array. | removeAllObjects() |
removeBusinessObjectAt() | Removes the business object at the specified position in a business object array. | removeBusinessObjectAt() |
setBusinessObject() | Inserts a child business object into a business object array at a specified position. | setBusinessObject() |