public final class BeansUtils extends Object
Modifier and Type | Method and Description |
---|---|
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) |
public static PropertyEditor findPropertyEditor(PropertyDescriptor pd)
public static boolean equalsByAccessibleProperties(Object bean0, Object bean1) throws IntrospectionException
IntrospectionException
public static boolean equalsByAccessibleProperties(Object bean0, Object bean1, Collection ignoreProps) throws IntrospectionException
IntrospectionException
public static void overwriteAccessibleProperties(Object sourceBean, Object destBean) throws IntrospectionException
IntrospectionException
public static void overwriteAccessibleProperties(Object sourceBean, Object destBean, Collection ignoreProps) throws IntrospectionException
IntrospectionException
public static void overwriteAccessiblePropertiesFromMap(Map sourceMap, Object destBean, boolean skip_nulls) throws IntrospectionException
IntrospectionException
public static void overwriteAccessiblePropertiesFromMap(Map sourceMap, Object destBean, boolean skip_nulls, Collection ignoreProps) throws IntrospectionException
IntrospectionException
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
IntrospectionException
public static void appendPropNamesAndValues(StringBuffer appendIntoMe, Object bean, Collection ignoreProps) throws IntrospectionException
IntrospectionException
public static void extractAccessiblePropertiesToMap(Map fillMe, Object bean) throws IntrospectionException
IntrospectionException
public static void extractAccessiblePropertiesToMap(Map fillMe, Object bean, Collection ignoreProps) throws IntrospectionException
IntrospectionException
public static void overwriteSpecificAccessibleProperties(Object sourceBean, Object destBean, Collection props) throws IntrospectionException
IntrospectionException
public static void debugShowPropertyChange(PropertyChangeEvent evt)