removeAllObjects()

Removes all child business objects in an attribute that is a business object array.

Syntax

public void removeAllObjects(String attrName);
 public void removeAllObjects(int position);
 

Parameters

attrName
Is the name of an attribute whose business objects are removed from its business object array.
position
Is an integer that specifies the ordinal position of an attribute in the business object's attribute list.

Return values

None.

Exceptions

AttributeNotFoundException
Thrown if the position or name specified is not valid for the definition of this business object.

Copyright IBM Corp. 1997, 2003