panda.dao.entity.EntityMaker Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of panda-core Show documentation
Show all versions of panda-core Show documentation
Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.
package panda.dao.entity;
/**
* Entity Maker
*/
public interface EntityMaker {
/**
* Create a Entity instance
*
* @param type Entity class
* @return Entity instance
*/
Entity create(Class type);
/**
* Initialize the Entity instance
*
* @param entity Entity instance
*/
void initialize(Entity> entity);
}