Sets an attribute property that indicates whether the attribute is part of a primary key.
Syntax
public void setIsKey(boolean key);
Parameters
Return values
None.
See also
isKey()