getAttributeIndex()

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

Syntax

public int getAttributeIndex(String name);

Parameters

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

Return values

The integer ordinal position of the attribute.

Exceptions

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

Copyright IBM Corp. 1997, 2004