hasAllPrimaryKeys()
Determines if the current
business object has values for all its primary-key
attributes.
Syntax
public final boolean hasAllPrimaryKeys();
Parameters
Return values
Returns true if the current business object has values for all primary
key attributes; otherwise returns false.
Exceptions
- WrongAttributeException
- Thrown if the key is set on a multiple cardinality attribute.
- AttributeNotFoundException
- Thrown if a primary key attribute cannot be found within the business
object definition.
Notes
The hasAllPrimaryKeys() method checks if all the primary keys have been populated. This
method is typically used to identify the row for updates.
See also
