setAttributeList()

Sets the list of attributes for the business object definition.

Syntax

public void setAttributeList(Vector attrList);

Parameters

attrList
Is a java.util.Vector object that contains attribute objects to store in the business object definition's attribute list.

Exceptions

BusObjInvalidAttrException
Thrown if an attribute object in attrList contains an attribute that is duplicate or is null.

Notes

The setAttributeList() method passes the attrList attribute list as a Java Vector of attribute objects. You can use methods of the BusObjAttr class to store information in the attribute object. You can use methods of the java.util.Vector class to store attribute objects in this Vector object.

See also

getAttributeList()

Copyright IBM Corp. 1997, 2003