Determines if the current business object has values for any primary- key attribute.
Syntax
public final boolean hasAnyActivePrimaryKey();
Parameters
None.
Return values
Returns true if the current business object has a value for any primary key attribute; otherwise returns false.
Exceptions
Notes
The hasAnyActivePrimaryKey() method checks if at least one primary key has been populated. This method is typically used to identify the row for deletes.
See also
areAllPrimaryKeysTheSame(), hasAllKeys(), hasAllPrimaryKeys()