public class TableFieldInfo extends Object
数据库表字段反射信息
| 构造器和说明 |
|---|
TableFieldInfo(GlobalConfiguration globalConfig,
TableInfo tableInfo,
Field field) |
TableFieldInfo(GlobalConfiguration globalConfig,
TableInfo tableInfo,
String column,
String el,
Field field,
TableField tableField)
存在 TableField 注解构造函数
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getColumn() |
String |
getEl() |
FieldFill |
getFieldFill() |
FieldStrategy |
getFieldStrategy() |
String |
getLogicDeleteValue() |
String |
getLogicNotDeleteValue() |
String |
getProperty() |
Class<?> |
getPropertyType() |
boolean |
isLogicDelete()
是否开启逻辑删除
|
boolean |
isRelated() |
void |
setColumn(GlobalConfiguration globalConfig,
String column) |
void |
setEl(String el) |
void |
setFieldFill(FieldFill fieldFill) |
void |
setFieldStrategy(FieldStrategy fieldStrategy) |
void |
setLogicDeleteValue(String logicDeleteValue) |
void |
setLogicNotDeleteValue(String logicNotDeleteValue) |
void |
setProperty(String property) |
void |
setPropertyType(Class<?> propertyType) |
void |
setRelated(boolean related) |
public TableFieldInfo(GlobalConfiguration globalConfig, TableInfo tableInfo, String column, String el, Field field, TableField tableField)
存在 TableField 注解构造函数
public TableFieldInfo(GlobalConfiguration globalConfig, TableInfo tableInfo, Field field)
public boolean isRelated()
public void setRelated(boolean related)
public String getColumn()
public void setColumn(GlobalConfiguration globalConfig, String column)
public String getProperty()
public void setProperty(String property)
public String getEl()
public void setEl(String el)
public FieldStrategy getFieldStrategy()
public void setFieldStrategy(FieldStrategy fieldStrategy)
public Class<?> getPropertyType()
public void setPropertyType(Class<?> propertyType)
public boolean isLogicDelete()
public String getLogicDeleteValue()
public void setLogicDeleteValue(String logicDeleteValue)
public String getLogicNotDeleteValue()
public void setLogicNotDeleteValue(String logicNotDeleteValue)
public FieldFill getFieldFill()
public void setFieldFill(FieldFill fieldFill)
Copyright © 2017. All rights reserved.