Creates a new business object of the correct type for the attribute with the specified name or at the specified position in the attribute list. This method is typically used with attributes that contain child objects.
Syntax
void * makeNewAttrObject(char * name); void * makeNewAttrObject(int pos);
Parameters
Return values
A pointer to a newly created instance of the BusinessObject class.
Notes
This method should only be used for attributes with an attribute type of OBJECT. The method creates a new business object of the proper type for an attribute but does not change the existing attribute. To set the value of the new business object, use setAttrValue().