public interface BeanDesc extends Serializable
| Modifier and Type | Method and Description |
|---|---|
default Method |
getGetter(String fieldName)
获取Getter方法,如果不存在返回null
|
default PropDesc |
getProp(String fieldName)
获取属性,如果不存在返回null
|
Map<String,PropDesc> |
getPropMap(boolean ignoreCase)
获取字段名-字段属性Map
|
default Collection<PropDesc> |
getProps()
获取字段属性列表
|
default Method |
getSetter(String fieldName)
获取Setter方法,如果不存在返回null
|
Map<String,PropDesc> getPropMap(boolean ignoreCase)
ignoreCase - 是否忽略大小写,true为忽略,false不忽略default Collection<PropDesc> getProps()
PropDesc 列表default PropDesc getProp(String fieldName)
fieldName - 字段名PropDescdefault Method getGetter(String fieldName)
fieldName - 字段名Copyright © 2024. All rights reserved.