Retrieves the attribute descriptor for an attribute of a business object, given the attribute's name or its position in the business object's attribute list.
Syntax
BOAttrType *getAttrDesc(char * attrName); BOAttrType *getAttrDesc(int pos);
Parameters
Return values
A pointer to an instance of the BOAttrType class. The methods return NULL if an invalid attribute name or position is specified.
Notes
The getAttrDesc() method returns an attribute descriptor, which is an instance of the BOAttrType class, for an attribute in the business object (BusinessObject instance). The BOAttrType class provides methods to obtain information about the attribute properties. To retrieve the attribute descriptor for an attribute, you can identify the attribute by its name or its ordinal position in the list of attributes. If you specify an empty string (" ") or NULL as the attribute name, the getAttrDesc() method returns 0 (zero).
See also
getAttribute(), getAttrName(), getAttrType(), getAttrValue()
For the methods of the BOAttrType class, see BOAttrType class