Package africa.absa.inception.jpa
Interface Identifiable<T extends Serializable>
- Type Parameters:
T- the ID type for the entity
public interface Identifiable<T extends Serializable>
The Identifiable interface defines the interface that must be implemented by JPA entity
classes that have an ID that can be explicitly specified in place of an automatically generated
value for an identity column in the database.
- Author:
- Marcus Portmann
-
Method Summary
-
Method Details
-
getId
T getId()Returns the ID for the entity.- Returns:
- the ID for the entity
-