Uses of Class
org.miaixz.bus.core.beans.PropDesc
Packages that use PropDesc
Package
Description
Bean相关操作,包括Bean信息描述,Bean路径表达式、动态Bean等
Bean拷贝实现,包括拷贝选项等
Bean路径,通过路径表达式查找或设置对象或子对象中的值
提供各种工具封装
xyz:做好一切必要准备,可以行动了
-
Uses of PropDesc in org.miaixz.bus.core.beans
Methods in org.miaixz.bus.core.beans that return PropDescModifier and TypeMethodDescription获取属性,如果不存在返回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 that return types with arguments of type PropDescModifier and TypeMethodDescriptionBeanDesc.getPropMap(boolean ignoreCase) 获取字段名-字段属性MapBeanDesc.getProps()获取字段属性列表 -
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.path
Fields in org.miaixz.bus.core.beans.path with type parameters of type PropDescMethods in org.miaixz.bus.core.beans.path that return PropDescMethods in org.miaixz.bus.core.beans.path that return types with arguments of type PropDescModifier and TypeMethodDescriptionAbstractBeanDesc.getPropMap(boolean ignoreCase) AbstractBeanDesc.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的属性