public class DefaultEntityClassFinder extends GenericEntityClassFinder
Entity 注解实现EntityClassFinder.EntityClassFinderInstance, EntityClassFinder.MapperTypeMethodENTITY_CLASS_MAP| Constructor and Description |
|---|
DefaultEntityClassFinder() |
| Modifier and Type | Method and Description |
|---|---|
Optional<Class<?>> |
findEntityClass(Class<?> mapperType,
Method mapperMethod)
查找当前方法对应的实体类
|
boolean |
isEntityClass(Class<?> clazz)
指定的类型是否为定义的实体类类型
|
getEntityClassByMapperMethodAndMapperType, getEntityClassByMapperMethodParamTypes, getEntityClassByMapperMethodReturnType, getEntityClassByMapperType, getEntityClassByType, getEntityClassByTypesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindpublic Optional<Class<?>> findEntityClass(Class<?> mapperType, Method mapperMethod)
EntityClassFinderfindEntityClass in interface EntityClassFinderfindEntityClass in class GenericEntityClassFindermapperType - Mapper 接口,不能为空mapperMethod - Mapper 接口方法,可以为空public boolean isEntityClass(Class<?> clazz)
EntityClassFinderclazz - 类型Copyright © 2023. All rights reserved.