public interface TableMetadataCustomizer
| 限定符和类型 | 方法和说明 |
|---|---|
void |
customColumn(Class<?> entityType,
PropertyDescriptor descriptor,
Field field,
Set<Annotation> annotations,
org.hswebframework.ezorm.rdb.metadata.RDBColumnMetadata column)
自定义列,在列被解析后调用.
|
void |
customTable(Class<?> entityType,
org.hswebframework.ezorm.rdb.metadata.RDBTableMetadata table)
自定义表,在实体类被解析完成后调用.
|
void customColumn(Class<?> entityType, PropertyDescriptor descriptor, Field field, Set<Annotation> annotations, org.hswebframework.ezorm.rdb.metadata.RDBColumnMetadata column)
entityType - 实体类型descriptor - 字段描述field - 字段column - 列定义annotations - 字段上的注解void customTable(Class<?> entityType, org.hswebframework.ezorm.rdb.metadata.RDBTableMetadata table)
entityType - 字段类型table - 表结构Copyright © 2016–2022. All rights reserved.