Example usage for Java org.apache.commons.beanutils PropertyUtilsBean fields, constructors, methods, implement or subclass
The text is from its open source code.
PropertyUtilsBean() Base constructor |
Map | describe(Object bean) Return the entire set of properties for which the specified bean provides a read method. |
Object | getIndexedProperty(Object bean, String name, int index) Return the value of the specified indexed property of the specified bean, with no type conversions. |
Object | getMappedProperty(Object bean, String name) Return the value of the specified mapped property of the specified bean, with no type conversions. |
Object | getNestedProperty(Object bean, String name) Return the value of the (possibly nested) property of the specified name, for the specified bean, with no type conversions. |
Object | getProperty(Object bean, String name) Return the value of the specified property of the specified bean, no matter which property reference format is used, with no type conversions. |
PropertyDescriptor | getPropertyDescriptor(Object bean, String name) Retrieve the property descriptor for the specified property of the specified bean, or return |
PropertyDescriptor[] | getPropertyDescriptors(Class beanClass) Retrieve the property descriptors for the specified class, introspecting and caching them the first time a particular bean class is encountered. FIXME - Does not work with DynaBeans. |
PropertyDescriptor[] | getPropertyDescriptors(Object bean) Retrieve the property descriptors for the specified bean, introspecting and caching them the first time a particular bean class is encountered. FIXME - Does not work with DynaBeans. |
Class | getPropertyType(Object bean, String name) Return the Java Class representing the property type of the specified property, or null if there is no such property for the specified bean. |
Object | getSimpleProperty(Object bean, String name) Return the value of the specified simple property of the specified bean, with no type conversions. |
boolean | isReadable(Object bean, String name) Return |
boolean | isWriteable(Object bean, String name) Return |
void | setIndexedProperty(Object bean, String name, int index, Object value) Set the value of the specified indexed property of the specified bean, with no type conversions. |
void | setNestedProperty(Object bean, String name, Object value) Set the value of the (possibly nested) property of the specified name, for the specified bean, with no type conversions. |
void | setProperty(Object bean, String name, Object value) Set the value of the specified property of the specified bean, no matter which property reference format is used, with no type conversions. |
void | setSimpleProperty(Object bean, String name, Object value) Set the value of the specified simple property of the specified bean, with no type conversions. |