public interface RootBean extends Serializable
Modifier and Type | Method and Description |
---|---|
default Object |
getOtherParam(String key)
尝试通过反射直接获取参数,通过获取get方法并执行来获取
如果获取不到则返回null
支持多层级字段的获取了
例如:result.name
|
default <T> T |
getOtherParam(String key,
Class<T> type)
尝试通过反射直接获取参数,通过获取get方法并执行来获取
如果获取不到则返回null
支持多层级字段的获取了
例如:result.name
|
Copyright © 2020. All rights reserved.