Interface EntityFactory
- All Known Implementing Classes:
- EntityFactoryImpl
public interface EntityFactory
- 
Method SummaryModifier and TypeMethodDescriptiondefault <T> TcreateInstance(Class<T> clazz) Instantiate an entity<T> TcreateInstance(Class<T> clazz, @Nullable Serializable id) Instantiate an entity
- 
Method Details- 
createInstanceInstantiate an entity- Parameters:
- clazz- Class of the entity
- id- id of the entity
 
- 
createInstanceInstantiate an entity- Parameters:
- clazz- Class of the entity
 
 
-