Find out whether a business object's attribute is defined as a key attribute.
Syntax
boolean isKey(String attribute)
Parameters
Return values
Returns true if the attribute is a key attribute; returns false if it is not a key attribute.
Examples
The following example determines whether the CustID attribute of the customer business object is a key attribute.
boolean keyAttr = (customer.isKey("CustID"));