Package com.oracle.coherence.repository
Interface EntityFactory<ID,T>
- Type Parameters:
ID
- the type of entity's identityT
- the type of entity
- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Provides a way to create entity instances with a known identity.
- Since:
- 21.06
- Author:
- Aleks Seovic 2021.02.01
-
Method Summary
-
Method Details
-
create
Create an entity instance with the specified identity.- Parameters:
id
- identifier to create entity instance with- Returns:
- a created entity instance
-