primary
boolean primary()
Indicates whether this key represents an actual primary key or a pseudo primary key.
Returns false
for pseudo primary keys created for entities without defined primary keys.
Pseudo primary keys contain all column values and enable basic CRUD operations on entities without proper PKs.
- Returns:
true
if this is an actual primary key,false
if this is a pseudo primary key- See Also: