public abstract class BeanUtils
extends org.springframework.beans.BeanUtils
| Constructor and Description |
|---|
BeanUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copyProperty(Object source,
Object dest,
String propertyName)
Copy a property, avoid Execeptions
|
static Object |
getProperty(Object bean,
String name)
Get property value null if none
|
static org.springframework.beans.PropertyValue[] |
getPropertyValues(Object obj)
Get PropertyValues from Object
|
static void |
setProperty(Object bean,
String name,
Object value)
Set property, without trowing exceptions on errors
|
copyProperties, copyProperties, copyProperties, findDeclaredMethod, findDeclaredMethodWithMinimalParameters, findEditorByConvention, findMethod, findMethodWithMinimalParameters, findMethodWithMinimalParameters, findPropertyForMethod, findPropertyType, getPropertyDescriptor, getPropertyDescriptors, getWriteMethodParameter, instantiate, instantiateClass, instantiateClass, instantiateClass, isSimpleProperty, isSimpleValueType, resolveSignaturepublic static org.springframework.beans.PropertyValue[] getPropertyValues(Object obj)
obj - Object to get PropertyValuespublic static void copyProperty(Object source, Object dest, String propertyName)
source - source beandest - destination beanpropertyName - the propertyNamepublic static void setProperty(Object bean, String name, Object value)
bean - bean namename - namevalue - valueCopyright © 2014 JDAL. All Rights Reserved.