getAttributeIndex()

Retrieves the ordinal position of the attribute in the business object definition, given its attribute name.

Syntax

public int getAttributeIndex(String attrName);

Parameters

attrName
Is the name of the attribute whose ordinal position is retrieved.

Return values

The integer position of the attribute in the attribute list of the business object definition

Exceptions

BusObjNoSuchAttrException
Thrown if the specified attribute does not exist in the business object definition.

See also

getAttribute()

Copyright IBM Corp. 1997, 2004