| java.lang.Object com.opensymphony.workflow.designer.beanutils.PropertyUtils
PropertyUtils | public class PropertyUtils (Code) | | Utility methods for using Java Reflection APIs to facilitate generic
property getter and setter operations on Java objects.
The implementations for these methods are provided by PropertyUtilsBean .
For more details see
PropertyUtilsBean .
author: Craig R. McClanahan author: Ralph Schaer author: Chris Audley author: Rey Fran�ois author: Gregor Ra�man author: Jan Sorensen author: Scott Sanders See Also: PropertyUtilsBean |
Field Summary | |
final public static char | INDEXED_DELIM The delimiter that preceeds the zero-relative subscript for an
indexed reference. | final public static char | INDEXED_DELIM2 The delimiter that follows the zero-relative subscript for an
indexed reference. | final public static char | MAPPED_DELIM The delimiter that preceeds the key of a mapped property. | final public static char | MAPPED_DELIM2 The delimiter that follows the key of a mapped property. | final public static char | NESTED_DELIM The delimiter that separates the components of a nested reference. |
Method Summary | |
public static void | clearDescriptors() Clear any cached property descriptors information for all classes
loaded by any class loaders. | public static void | copyProperties(Object dest, Object orig) | public static Map | describe(Object bean) | public static Object | getIndexedProperty(Object bean, String name) | public static Object | getIndexedProperty(Object bean, String name, int index) | public static Object | getMappedProperty(Object bean, String name) | public static Object | getMappedProperty(Object bean, String name, String key) | public static Map | getMappedPropertyDescriptors(Class beanClass) | public static Map | getMappedPropertyDescriptors(Object bean) | public static Object | getNestedProperty(Object bean, String name) | public static Object | getProperty(Object bean, String name) | public static PropertyDescriptor | getPropertyDescriptor(Object bean, String name) | public static PropertyDescriptor[] | getPropertyDescriptors(Class beanClass) | public static PropertyDescriptor[] | getPropertyDescriptors(Object bean) | public static Class | getPropertyEditorClass(Object bean, String name) | public static Class | getPropertyType(Object bean, String name) | public static Method | getReadMethod(PropertyDescriptor descriptor) | public static Object | getSimpleProperty(Object bean, String name) | public static Method | getWriteMethod(PropertyDescriptor descriptor) | public static boolean | isReadable(Object bean, String name) | public static boolean | isWriteable(Object bean, String name) | public static void | setIndexedProperty(Object bean, String name, Object value) | public static void | setIndexedProperty(Object bean, String name, int index, Object value) | public static void | setMappedProperty(Object bean, String name, Object value) | public static void | setMappedProperty(Object bean, String name, String key, Object value) | public static void | setNestedProperty(Object bean, String name, Object value) | public static void | setProperty(Object bean, String name, Object value) | public static void | setSimpleProperty(Object bean, String name, Object value) |
INDEXED_DELIM | final public static char INDEXED_DELIM(Code) | | The delimiter that preceeds the zero-relative subscript for an
indexed reference.
|
INDEXED_DELIM2 | final public static char INDEXED_DELIM2(Code) | | The delimiter that follows the zero-relative subscript for an
indexed reference.
|
MAPPED_DELIM | final public static char MAPPED_DELIM(Code) | | The delimiter that preceeds the key of a mapped property.
|
MAPPED_DELIM2 | final public static char MAPPED_DELIM2(Code) | | The delimiter that follows the key of a mapped property.
|
NESTED_DELIM | final public static char NESTED_DELIM(Code) | | The delimiter that separates the components of a nested reference.
|
clearDescriptors | public static void clearDescriptors()(Code) | | Clear any cached property descriptors information for all classes
loaded by any class loaders. This is useful in cases where class
loaders are thrown away to implement class reloading.
For more details see PropertyUtilsBean .
See Also: PropertyUtilsBean.clearDescriptors |
isReadable | public static boolean isReadable(Object bean, String name)(Code) | | Return true if the specified property name identifies
a readable property on the specified bean; otherwise, return
false .
For more details see PropertyUtilsBean .
See Also: PropertyUtilsBean.isReadable since: BeanUtils 1.6 |
isWriteable | public static boolean isWriteable(Object bean, String name)(Code) | | Return true if the specified property name identifies
a writeable property on the specified bean; otherwise, return
false .
For more details see PropertyUtilsBean .
See Also: PropertyUtilsBean.isWriteable since: BeanUtils 1.6 |
|
|