getAttrIndex()

Retrieves the ordinal position of a given attribute of a business object.

Syntax

public int getAttrIndex(String attrName);

Parameters

attrName
Is the name of the attribute in the business object definition.

Return values

The ordinal position of the attribute within the business object definition.

Exceptions

AttributeNotFoundException
Thrown if the attribute name specified is not valid for the definition of this business object.

Copyright IBM Corp. 1997, 2004