Uses of Class
org.miaixz.bus.core.beans.desc.PropDesc
Packages that use PropDesc
Package
Description
Bean拷贝实现,包括拷贝选项等
提供各种工具封装
xyz:做好一切必要准备,可以行动了
-
Uses of PropDesc in org.miaixz.bus.core.beans.copier
Methods in org.miaixz.bus.core.beans.copier that return PropDescModifier and TypeMethodDescriptionprotected PropDescCopyOptions.findPropDesc(Map<String, PropDesc> targetPropDescMap, String sKeyStr) 查找Map对应Bean的名称 尝试原名称、转驼峰名称、isXxx去掉is的名称Method parameters in org.miaixz.bus.core.beans.copier with type arguments of type PropDesc -
Uses of PropDesc in org.miaixz.bus.core.beans.desc
Fields in org.miaixz.bus.core.beans.desc with type parameters of type PropDescMethods in org.miaixz.bus.core.beans.desc that return PropDescModifier and TypeMethodDescriptiondefault PropDesc获取属性,如果不存在返回null设置Bean的字段值 首先调用字段对应的Setter方法,如果Setter方法不存在,则判断字段如果为public,则直接赋值字段值 此方法不检查任何注解,使用前需调用isWritable(boolean)检查是否可写设置属性值,可以自动转换字段类型为目标类型PropDesc.setValue(Object bean, Object value, boolean ignoreNull, boolean ignoreError, boolean override) 设置属性值,可以自动转换字段类型为目标类型Methods in org.miaixz.bus.core.beans.desc that return types with arguments of type PropDescModifier and TypeMethodDescriptionAbstractBeanDesc.getPropMap(boolean ignoreCase) BeanDesc.getPropMap(boolean ignoreCase) 获取字段名-字段属性Mapdefault Collection<PropDesc> BeanDesc.getProps()获取字段属性列表 -
Uses of PropDesc in org.miaixz.bus.core.xyz
Method parameters in org.miaixz.bus.core.xyz with type arguments of type PropDescModifier and TypeMethodDescriptionstatic voidBeanKit.descForEach(Class<?> clazz, Consumer<? super PropDesc> action) 遍历Bean的属性