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