setObject()

Inserts a child business object into a business object array at a specified position.

Syntax

BusinessObject *setObject(int index, BusinessObject *obj);
 

Parameters

index [in]
is an integer that specifies the position for a child business object in a business object array.

obj [in]
is a pointer to a child business object.

Return values

A pointer to a child business object.

Notes

If there is already a business object at the specified position, the new one replaces it. The old one is deleted.

See also

See also the description of the getObject() method.

Copyright IBM Corp. 1997, 2003