Retrieves the attribute by its name or by its specified position in the business object definition's attribute list.
public BusObjAttr getAttribute(String attrName); public BusObjAttr getAttribute(int pos);
The attribute (BusObjAttr) object for the specified attribute in the business object definition.
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.