public final class BeansUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
appendPropNamesAndValues(java.lang.StringBuffer appendIntoMe,
java.lang.Object bean,
java.util.Collection ignoreProps) |
static void |
debugShowPropertyChange(java.beans.PropertyChangeEvent evt) |
static boolean |
equalsByAccessibleProperties(java.lang.Object bean0,
java.lang.Object bean1) |
static boolean |
equalsByAccessibleProperties(java.lang.Object bean0,
java.lang.Object bean1,
java.util.Collection ignoreProps) |
static boolean |
equalsByAccessiblePropertiesVerbose(java.lang.Object bean0,
java.lang.Object bean1,
java.util.Collection ignoreProps) |
static void |
extractAccessiblePropertiesToMap(java.util.Map fillMe,
java.lang.Object bean) |
static void |
extractAccessiblePropertiesToMap(java.util.Map fillMe,
java.lang.Object bean,
java.util.Collection ignoreProps) |
static java.beans.PropertyEditor |
findPropertyEditor(java.beans.PropertyDescriptor pd) |
static void |
overwriteAccessibleProperties(java.lang.Object sourceBean,
java.lang.Object destBean) |
static void |
overwriteAccessibleProperties(java.lang.Object sourceBean,
java.lang.Object destBean,
java.util.Collection ignoreProps) |
static void |
overwriteAccessiblePropertiesFromMap(java.util.Map sourceMap,
java.lang.Object destBean,
boolean skip_nulls) |
static void |
overwriteAccessiblePropertiesFromMap(java.util.Map sourceMap,
java.lang.Object destBean,
boolean skip_nulls,
java.util.Collection ignoreProps) |
static void |
overwriteAccessiblePropertiesFromMap(java.util.Map sourceMap,
java.lang.Object destBean,
boolean skip_nulls,
java.util.Collection ignoreProps,
boolean coerce_strings,
MLevel cantWriteLevel,
MLevel cantCoerceLevel,
boolean die_on_one_prop_failure) |
static void |
overwriteSpecificAccessibleProperties(java.lang.Object sourceBean,
java.lang.Object destBean,
java.util.Collection props) |
public static java.beans.PropertyEditor findPropertyEditor(java.beans.PropertyDescriptor pd)
public static boolean equalsByAccessibleProperties(java.lang.Object bean0, java.lang.Object bean1) throws java.beans.IntrospectionException
java.beans.IntrospectionException
public static boolean equalsByAccessibleProperties(java.lang.Object bean0, java.lang.Object bean1, java.util.Collection ignoreProps) throws java.beans.IntrospectionException
java.beans.IntrospectionException
public static boolean equalsByAccessiblePropertiesVerbose(java.lang.Object bean0, java.lang.Object bean1, java.util.Collection ignoreProps) throws java.beans.IntrospectionException
java.beans.IntrospectionException
public static void overwriteAccessibleProperties(java.lang.Object sourceBean, java.lang.Object destBean) throws java.beans.IntrospectionException
java.beans.IntrospectionException
public static void overwriteAccessibleProperties(java.lang.Object sourceBean, java.lang.Object destBean, java.util.Collection ignoreProps) throws java.beans.IntrospectionException
java.beans.IntrospectionException
public static void overwriteAccessiblePropertiesFromMap(java.util.Map sourceMap, java.lang.Object destBean, boolean skip_nulls) throws java.beans.IntrospectionException
java.beans.IntrospectionException
public static void overwriteAccessiblePropertiesFromMap(java.util.Map sourceMap, java.lang.Object destBean, boolean skip_nulls, java.util.Collection ignoreProps) throws java.beans.IntrospectionException
java.beans.IntrospectionException
public static void overwriteAccessiblePropertiesFromMap(java.util.Map sourceMap, java.lang.Object destBean, boolean skip_nulls, java.util.Collection ignoreProps, boolean coerce_strings, MLevel cantWriteLevel, MLevel cantCoerceLevel, boolean die_on_one_prop_failure) throws java.beans.IntrospectionException
java.beans.IntrospectionException
public static void appendPropNamesAndValues(java.lang.StringBuffer appendIntoMe, java.lang.Object bean, java.util.Collection ignoreProps) throws java.beans.IntrospectionException
java.beans.IntrospectionException
public static void extractAccessiblePropertiesToMap(java.util.Map fillMe, java.lang.Object bean) throws java.beans.IntrospectionException
java.beans.IntrospectionException
public static void extractAccessiblePropertiesToMap(java.util.Map fillMe, java.lang.Object bean, java.util.Collection ignoreProps) throws java.beans.IntrospectionException
java.beans.IntrospectionException
public static void overwriteSpecificAccessibleProperties(java.lang.Object sourceBean, java.lang.Object destBean, java.util.Collection props) throws java.beans.IntrospectionException
java.beans.IntrospectionException
public static void debugShowPropertyChange(java.beans.PropertyChangeEvent evt)