public abstract class AbsMybatisDataAutoFill extends Object implements com.baomidou.mybatisplus.core.handlers.MetaObjectHandler
| 构造器和说明 |
|---|
AbsMybatisDataAutoFill() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
assignment(org.apache.ibatis.reflection.MetaObject metaObject,
String attribute,
Callable<Object> fun)
已过时。
|
void |
assignment(org.apache.ibatis.reflection.MetaObject metaObject,
String attribute,
Object defaultValue)
已过时。
|
boolean |
checkAttribute(org.apache.ibatis.reflection.MetaObject metaObject,
String attribute)
检查是否包含该属性
|
void |
forceUpdate(org.apache.ibatis.reflection.MetaObject metaObject,
String attribute,
Callable<Object> fun) |
void |
forceUpdate(org.apache.ibatis.reflection.MetaObject metaObject,
String attribute,
Object defaultValue)
给该属性赋值,不管存在与否都更新值(强制更新)
|
boolean |
hasDefaultValue(org.apache.ibatis.reflection.MetaObject metaObject,
String property)
属性是否已经有默认值
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompatibleFillId, fillStrategy, findTableInfo, getFieldValByName, insertFill, isFill, openInsertFill, openUpdateFill, setFieldValByName, setFieldValByName, setInsertFieldValByName, setUpdateFieldValByName, strictFill, strictFillStrategy, strictInsertFill, strictInsertFill, strictInsertFill, strictUpdateFill, strictUpdateFill, strictUpdateFill, updateFillpublic boolean checkAttribute(org.apache.ibatis.reflection.MetaObject metaObject,
String attribute)
metaObject - attribute - 属性public boolean hasDefaultValue(org.apache.ibatis.reflection.MetaObject metaObject,
String property)
metaObject - property - 属性@Deprecated public void assignment(org.apache.ibatis.reflection.MetaObject metaObject, String attribute, Object defaultValue)
metaObject - attribute - 属性defaultValue - 默认值@Deprecated public void assignment(org.apache.ibatis.reflection.MetaObject metaObject, String attribute, Callable<Object> fun)
metaObject - attribute - 属性fun - 生成默认值的方法public void forceUpdate(org.apache.ibatis.reflection.MetaObject metaObject,
String attribute,
Object defaultValue)
metaObject - attribute - 属性defaultValue - 默认值Copyright © 2022 Pivotal Software, Inc.. All rights reserved.