Determines if the current business object has values for all its
primary- and foreign-key attributes.
Syntax
public final boolean hasAllKeys();
Parameters
None.
Return values
Returns true if the current business object has values for all primary and foreign key attributes; otherwise returns false.
Exceptions
Notes
The hasAllKeys() method checks if all the primary and foreign keys have been populated. This method is typically used to identify the row for updates.
See also
areAllPrimaryKeysTheSame(),, hasAnyActivePrimaryKey(),, hasAllPrimaryKeys()