Package com.mchange.v2.beans
Class BeansUtils
java.lang.Object
com.mchange.v2.beans.BeansUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidappendPropNamesAndValues(StringBuffer appendIntoMe, Object bean, Collection ignoreProps) static voidstatic booleanequalsByAccessibleProperties(Object bean0, Object bean1) static booleanequalsByAccessibleProperties(Object bean0, Object bean1, Collection ignoreProps) static booleanequalsByAccessiblePropertiesVerbose(Object bean0, Object bean1, Collection ignoreProps) static voidextractAccessiblePropertiesToMap(Map fillMe, Object bean) static voidextractAccessiblePropertiesToMap(Map fillMe, Object bean, Collection ignoreProps) static PropertyEditorstatic voidoverwriteAccessibleProperties(Object sourceBean, Object destBean) static voidoverwriteAccessibleProperties(Object sourceBean, Object destBean, Collection ignoreProps) static voidoverwriteAccessiblePropertiesFromMap(Map sourceMap, Object destBean, boolean skip_nulls) static voidoverwriteAccessiblePropertiesFromMap(Map sourceMap, Object destBean, boolean skip_nulls, Collection ignoreProps) static voidoverwriteAccessiblePropertiesFromMap(Map sourceMap, Object destBean, boolean skip_nulls, Collection ignoreProps, boolean coerce_strings, MLevel cantWriteLevel, MLevel cantCoerceLevel, boolean die_on_one_prop_failure) static voidoverwriteSpecificAccessibleProperties(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
-