Determines if an attribute is a part of the business object primary key, given the attribute's name or its position in the business object's attribute list.
Syntax
public boolean isKeyAttr(String attrName); public boolean isKeyAttr(int position);
Parameters
Return values
Returns true if the attribute is a primary key, or part of the primary key, for the business object; otherwise, returns false.
Exceptions
See also
areAllPrimaryKeysTheSame(),, hasAnyActivePrimaryKey(),, hasAllKeys(),, hasAllPrimaryKeys(),, isForeignKeyAttr()