Retrieves the attribute by its name or by its specified position in the business object definition's attribute list.
Syntax
public BusObjAttr getAttribute(String attrName); public BusObjAttr getAttribute(int pos);
Parameters
Return values
The attribute (BusObjAttr) object for the specified attribute in the business object definition.
Exceptions
Notes
The getAttribute() method retrieves an attribute from the business object definition's attribute list. It returns this attribute as an attribute object (BusObjAttr). You can use methods of the BusObjAttr class to obtain information about the attribute.
See also