com.mchange.v2.beans
Class BeansUtils
java.lang.Object
com.mchange.v2.beans.BeansUtils
public final class BeansUtils
- extends Object
Method Summary |
static void |
appendPropNamesAndValues(StringBuffer appendIntoMe,
Object bean,
Collection ignoreProps)
|
static void |
debugShowPropertyChange(PropertyChangeEvent evt)
|
static boolean |
equalsByAccessibleProperties(Object bean0,
Object bean1)
|
static boolean |
equalsByAccessibleProperties(Object bean0,
Object bean1,
Collection ignoreProps)
|
static void |
extractAccessiblePropertiesToMap(Map fillMe,
Object bean)
|
static void |
extractAccessiblePropertiesToMap(Map fillMe,
Object bean,
Collection ignoreProps)
|
static PropertyEditor |
findPropertyEditor(PropertyDescriptor pd)
|
static void |
overwriteAccessibleProperties(Object sourceBean,
Object destBean)
|
static void |
overwriteAccessibleProperties(Object sourceBean,
Object destBean,
Collection ignoreProps)
|
static void |
overwriteAccessiblePropertiesFromMap(Map sourceMap,
Object destBean,
boolean skip_nulls)
|
static void |
overwriteAccessiblePropertiesFromMap(Map sourceMap,
Object destBean,
boolean skip_nulls,
Collection ignoreProps)
|
static void |
overwriteAccessiblePropertiesFromMap(Map sourceMap,
Object destBean,
boolean skip_nulls,
Collection ignoreProps,
boolean coerce_strings,
MLevel cantWriteLevel,
MLevel cantCoerceLevel,
boolean die_on_one_prop_failure)
|
static void |
overwriteSpecificAccessibleProperties(Object sourceBean,
Object destBean,
Collection props)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
findPropertyEditor
public static PropertyEditor findPropertyEditor(PropertyDescriptor pd)
equalsByAccessibleProperties
public static boolean equalsByAccessibleProperties(Object bean0,
Object bean1)
throws IntrospectionException
- Throws:
IntrospectionException
equalsByAccessibleProperties
public static boolean equalsByAccessibleProperties(Object bean0,
Object bean1,
Collection ignoreProps)
throws IntrospectionException
- Throws:
IntrospectionException
overwriteAccessibleProperties
public static void overwriteAccessibleProperties(Object sourceBean,
Object destBean)
throws IntrospectionException
- Throws:
IntrospectionException
overwriteAccessibleProperties
public static void overwriteAccessibleProperties(Object sourceBean,
Object destBean,
Collection ignoreProps)
throws IntrospectionException
- Throws:
IntrospectionException
overwriteAccessiblePropertiesFromMap
public static void overwriteAccessiblePropertiesFromMap(Map sourceMap,
Object destBean,
boolean skip_nulls)
throws IntrospectionException
- Throws:
IntrospectionException
overwriteAccessiblePropertiesFromMap
public static void overwriteAccessiblePropertiesFromMap(Map sourceMap,
Object destBean,
boolean skip_nulls,
Collection ignoreProps)
throws IntrospectionException
- Throws:
IntrospectionException
overwriteAccessiblePropertiesFromMap
public static void overwriteAccessiblePropertiesFromMap(Map sourceMap,
Object destBean,
boolean skip_nulls,
Collection ignoreProps,
boolean coerce_strings,
MLevel cantWriteLevel,
MLevel cantCoerceLevel,
boolean die_on_one_prop_failure)
throws IntrospectionException
- Throws:
IntrospectionException
appendPropNamesAndValues
public static void appendPropNamesAndValues(StringBuffer appendIntoMe,
Object bean,
Collection ignoreProps)
throws IntrospectionException
- Throws:
IntrospectionException
extractAccessiblePropertiesToMap
public static void extractAccessiblePropertiesToMap(Map fillMe,
Object bean)
throws IntrospectionException
- Throws:
IntrospectionException
extractAccessiblePropertiesToMap
public static void extractAccessiblePropertiesToMap(Map fillMe,
Object bean,
Collection ignoreProps)
throws IntrospectionException
- Throws:
IntrospectionException
overwriteSpecificAccessibleProperties
public static void overwriteSpecificAccessibleProperties(Object sourceBean,
Object destBean,
Collection props)
throws IntrospectionException
- Throws:
IntrospectionException
debugShowPropertyChange
public static void debugShowPropertyChange(PropertyChangeEvent evt)