|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.beans.BeanUtils
info.joseluismartin.util.BeanUtils
public abstract class BeanUtils
Some static funtions added to spring BeanUtils
| Constructor Summary | |
|---|---|
BeanUtils()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.springframework.beans.BeanUtils |
|---|
copyProperties, copyProperties, copyProperties, findDeclaredMethod, findDeclaredMethodWithMinimalParameters, findEditorByConvention, findMethod, findMethodWithMinimalParameters, findMethodWithMinimalParameters, findPropertyForMethod, findPropertyType, getPropertyDescriptor, getPropertyDescriptors, getWriteMethodParameter, instantiate, instantiateClass, instantiateClass, instantiateClass, isSimpleProperty, isSimpleValueType, resolveSignature |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BeanUtils()
| Method Detail |
|---|
public static org.springframework.beans.PropertyValue[] getPropertyValues(Object obj)
obj - Object to get PropertyValues
public static void copyProperty(Object source,
Object dest,
String propertyName)
source - source beandest - destination beanpropertyName - the propertyName
public static void setProperty(Object bean,
String name,
Object value)
bean - bean namename - namevalue - value
public static Object getProperty(Object bean,
String name)
bean - beamname - name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||