Package com.mchange.v2.beans
Class BeansUtils
java.lang.Object
com.mchange.v2.beans.BeansUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
appendPropNamesAndValues
(StringBuffer appendIntoMe, Object bean, Collection ignoreProps) static void
static boolean
equalsByAccessibleProperties
(Object bean0, Object bean1) static boolean
equalsByAccessibleProperties
(Object bean0, Object bean1, Collection ignoreProps) static boolean
equalsByAccessiblePropertiesVerbose
(Object bean0, Object bean1, Collection ignoreProps) static void
extractAccessiblePropertiesToMap
(Map fillMe, Object bean) static void
extractAccessiblePropertiesToMap
(Map fillMe, Object bean, Collection ignoreProps) static PropertyEditor
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)
-
Method Details
-
findPropertyEditor
-
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
-
equalsByAccessiblePropertiesVerbose
public static boolean equalsByAccessiblePropertiesVerbose(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
-