org.nutz.dao.impl.entity
类 AnnotationEntityMaker

java.lang.Object
  继承者 org.nutz.dao.impl.entity.AnnotationEntityMaker
所有已实现的接口:
EntityMaker
直接已知子类:
LazyAnnotationEntityMaker

public class AnnotationEntityMaker
extends java.lang.Object
implements EntityMaker

根据一个 Class 对象生成 Entity 的实例

作者:
zozoh(zozohtnt@gmail.com)

构造方法摘要
AnnotationEntityMaker(javax.sql.DataSource datasource, JdbcExpert expert, EntityHolder holder)
           
 
方法摘要
protected
<T> NutEntity<T>
_createNutEntity(java.lang.Class<T> type)
           
<T> Entity<T>
make(java.lang.Class<T> type)
          根据一个配置信息,生成一个新的 Entity 的实例
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

AnnotationEntityMaker

public AnnotationEntityMaker(javax.sql.DataSource datasource,
                             JdbcExpert expert,
                             EntityHolder holder)
方法详细信息

make

public <T> Entity<T> make(java.lang.Class<T> type)
从接口 EntityMaker 复制的描述
根据一个配置信息,生成一个新的 Entity 的实例

指定者:
接口 EntityMaker 中的 make
参数:
type - Entity 的配置信息
返回:
Entity 实例

_createNutEntity

protected <T> NutEntity<T> _createNutEntity(java.lang.Class<T> type)