类 MyBeanUtils

java.lang.Object
org.apache.commons.beanutils.PropertyUtilsBean
com.jeeplus.devtools.util.MyBeanUtils

public class MyBeanUtils extends org.apache.commons.beanutils.PropertyUtilsBean

Title:

Description:

版本:
2.0
作者:
刘高峰
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    static void
    把orig和dest相同属性的value复制到dest中
    static void
    copyBean2Map(Map map, Object bean)
     
    static void
    copyBeanNotNull2Bean(Object databean, Object tobean)
    对象拷贝 数据对象空值不拷贝到目标对象
    static void
    copyMap2Bean(Object bean, Map properties)
    将Map内的key与Bean中属性相同的内容复制到BEAN中
    static void
    copyMap2Bean(Object bean, Map properties, String defaultValue)
    Map内的key与Bean中属性相同的内容复制到BEAN中 对于存在空值的取默认值
    static void
    copyMap2Bean_Nobig(Object bean, Map properties)
    自动转Map key值大写 将Map内的key与Bean中属性相同的内容复制到BEAN中

    从类继承的方法 org.apache.commons.beanutils.PropertyUtilsBean

    addBeanIntrospector, clearDescriptors, copyProperties, describe, getIndexedProperty, getIndexedProperty, getInstance, getMappedProperty, getMappedProperty, getMappedPropertyDescriptors, getMappedPropertyDescriptors, getNestedProperty, getProperty, getPropertyDescriptor, getPropertyDescriptors, getPropertyDescriptors, getPropertyEditorClass, getPropertyOfMapBean, getPropertyType, getReadMethod, getResolver, getSimpleProperty, getWriteMethod, getWriteMethod, isReadable, isWriteable, removeBeanIntrospector, resetBeanIntrospectors, setIndexedProperty, setIndexedProperty, setMappedProperty, setMappedProperty, setNestedProperty, setProperty, setPropertyOfMapBean, setResolver, setSimpleProperty

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait