public class ClassAnnotation extends Object
| 限定符 | 构造器和说明 |
|---|---|
protected |
ClassAnnotation(Class entityClass) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
checkAttrInsertIgnores() |
protected void |
checkAttrUpdateIgnores() |
protected void |
checkAutoAttrList() |
protected void |
checkExtAnnotation()
检查额外的用户自定义注解
|
protected void |
checkSeqAttrList() |
BeanFetch |
getBeanFetch() |
protected Class |
getBuilderAnnotation(Annotation userCustomizedAnnotation)
查找annotation
|
static ClassAnnotation |
getClassAnnotation(Class entity) |
String[] |
getInsertAutoAttrs() |
PropertyDescriptor[] |
getPropertyDescriptor(Class entityClass) |
protected void |
init() |
boolean |
isAutoAttr(String attr) |
boolean |
isInsertIgnore(String attrName) |
boolean |
isSeqAttr(String attr) |
boolean |
isUpdateIgnore(String attrName) |
protected void |
makeKeyHolder() |
protected void |
mappingCheck()
该实体自定义的映射方式
|
protected void |
propertyCheck() |
protected ClassAnnotation(Class entityClass)
public static ClassAnnotation getClassAnnotation(Class entity)
protected void init()
protected void checkExtAnnotation()
protected void mappingCheck()
ResultProvider,
RowProviderprotected void propertyCheck()
protected void makeKeyHolder()
protected Class getBuilderAnnotation(Annotation userCustomizedAnnotation)
userCustomizedAnnotation - public PropertyDescriptor[] getPropertyDescriptor(Class entityClass)
public boolean isInsertIgnore(String attrName)
public boolean isUpdateIgnore(String attrName)
public BeanFetch getBeanFetch()
public String[] getInsertAutoAttrs()
protected void checkAutoAttrList()
protected void checkSeqAttrList()
protected void checkAttrInsertIgnores()
protected void checkAttrUpdateIgnores()
public boolean isAutoAttr(String attr)
public boolean isSeqAttr(String attr)
Copyright © 2021. All rights reserved.