- Type Parameters:
ID- the type of the entity's primary key.
- All Superinterfaces:
Data
Optional marker interface for record-based entities.
This interface is used to support the EntityRepository, which provides CRUD logic out-of-the-box.
-
Method Summary
-
Method Details
-
id
Returns the primary key of the entity.The primary key can be any type, such as a
IntegerorLong, but entities with compound keys are also supported.- Returns:
- the primary key of the entity.
-