public class MethodMeta extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
ArgumentMeta[] |
argMetas
入参类型
|
MethodArgNames |
argNames |
Class |
entityClass
操作表对象
|
String |
method
调用方法
|
static KeyMap<EntryMetas> |
MethodArgsMeta |
MethodType |
methodType
操作类型
|
Class |
returnParameterType
返回值泛型类型(如果有)
|
Class |
returnType
返回值类型
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isAnd() |
boolean |
isCount()
是否count接口
|
boolean |
isDelete()
物理删除接口
|
boolean |
isList()
是否Tag分页
|
boolean |
isLogicDelete()
逻辑删除接口
|
boolean |
isOneArgArr()
是否是单参,并且参数是Collection类型
|
boolean |
isOneArgListOrArray()
是否是单参,并且参数是Collection类型
|
boolean |
isQuery()
查询数据接口
|
boolean |
isReturnBool()
结果值是布尔型
|
boolean |
isReturnInt()
结果值是int型
|
boolean |
isReturnList()
结果值是列表
|
boolean |
isReturnLong()
结果值是long型
|
boolean |
isReturnNumber() |
boolean |
isReturnVoid()
无返回值
|
boolean |
isSave()
创建实例接口
|
boolean |
isStdPage()
是否标准分页
|
boolean |
isTagPage()
是否Tag分页
|
boolean |
isUpdate()
更新数据接口
|
static MethodMeta |
meta(Class entityClass,
Method method)
构造MethodMeta
缓存在
IMethodAround.cache(Class, Method) 中处理 |
static MethodMeta |
meta(Class entityClass,
Method method,
MethodType methodType,
ArgumentMeta[] args,
Class returnType,
Class returnParameterType)
显式构造MethodMeta
缓存在
IMethodAround.cache(Class, Method) 中处理 |
EntryMetas |
metas()
构造入参的元数据列表
|
public final Class entityClass
public final String method
public final MethodType methodType
public final MethodArgNames argNames
public final ArgumentMeta[] argMetas
public final Class returnType
public final Class returnParameterType
public static final KeyMap<EntryMetas> MethodArgsMeta
public static MethodMeta meta(Class entityClass, Method method)
IMethodAround.cache(Class, Method) 中处理public static MethodMeta meta(Class entityClass, Method method, MethodType methodType, ArgumentMeta[] args, Class returnType, Class returnParameterType)
IMethodAround.cache(Class, Method) 中处理public EntryMetas metas()
public boolean isAnd()
public boolean isCount()
public boolean isReturnNumber()
public boolean isReturnLong()
public boolean isReturnInt()
public boolean isReturnBool()
public boolean isReturnList()
public boolean isReturnVoid()
public boolean isStdPage()
public boolean isTagPage()
public boolean isList()
public boolean isOneArgArr()
public boolean isOneArgListOrArray()
public boolean isQuery()
public boolean isUpdate()
public boolean isSave()
public boolean isDelete()
public boolean isLogicDelete()
Copyright © 2023. All rights reserved.