Retrieves the description of an
attribute of a business object, given the attribute's name or
position.
Syntax
public CxObjectAttr getAttrDesc(String name);
public CxObjectAttr getAttrDesc(int position);
Parameters
- name
- Is the name of the attribute in the business object definition.
- position
- Is the position of the attribute in the business object definition.
Return values
A CxObjectAttr object that defines the specified
attribute.
Exceptions
-
CxObjectNoSuchAttributeException
- Thrown if the name or position specified is not valid for the definition
of this business object.
Notes
To retrieve the description of an attribute of the business object, specify
either the attribute name or its position in the list of attributes:
- The first form of the getAttrDesc() method retrieves the
description of an
attribute of a business object, given the attribute's name.
- The second form retrieves the description of an attribute of a business
object, given its position within the business object definition.
See also
See also the description of the getAttrName() method.
