Java org.apache.commons.beanutils PropertyUtils fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.beanutils PropertyUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.beanutils PropertyUtils.

The text is from its open source code.

Field

charINDEXED_DELIM
The delimiter that preceeds the zero-relative subscript for an indexed reference.
charINDEXED_DELIM2
The delimiter that follows the zero-relative subscript for an indexed reference.
charMAPPED_DELIM
The delimiter that preceeds the key of a mapped property.
charMAPPED_DELIM2
The delimiter that follows the key of a mapped property.
charNESTED_DELIM
The delimiter that separates the components of a nested reference.

Constructor

Method

voidclearDescriptors()
Clear any cached property descriptors information for all classes loaded by any class loaders.
voidcopyProperties(Object dest, Object orig)

Copy property values from the "origin" bean to the "destination" bean for all cases where the property names are the same (even though the actual getter and setter methods might have been customized via BeanInfo classes).

For more details see PropertyUtilsBean.

Mapdescribe(Object bean)

Return the entire set of properties for which the specified bean provides a read method.

For more details see PropertyUtilsBean.

ObjectgetIndexedProperty(Object bean, String name)

Return the value of the specified indexed property of the specified bean, with no type conversions.

For more details see PropertyUtilsBean.

ObjectgetIndexedProperty(Object bean, String name, int index)

Return the value of the specified indexed property of the specified bean, with no type conversions.

For more details see PropertyUtilsBean.

ObjectgetMappedProperty(Object bean, String name)

Return the value of the specified mapped property of the specified bean, with no type conversions.

For more details see PropertyUtilsBean.

ObjectgetMappedProperty(Object bean, String name, String key)

Return the value of the specified mapped property of the specified bean, with no type conversions.

For more details see PropertyUtilsBean.

ObjectgetNestedProperty(Object bean, String name)

Return the value of the (possibly nested) property of the specified name, for the specified bean, with no type conversions.

For more details see PropertyUtilsBean.

ObjectgetProperty(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.

For more details see PropertyUtilsBean.

PropertyDescriptorgetPropertyDescriptor(Object bean, String name)

Retrieve the property descriptor for the specified property of the specified bean, or return null if there is no such descriptor.

For more details see PropertyUtilsBean.

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.

For more details see PropertyUtilsBean.

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.

For more details see PropertyUtilsBean.

ClassgetPropertyType(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.

For more details see PropertyUtilsBean.

MethodgetReadMethod(PropertyDescriptor descriptor)

Return an accessible property getter method for this property, if there is one; otherwise return null.

For more details see PropertyUtilsBean.

ObjectgetSimpleProperty(Object bean, String name)

Return the value of the specified simple property of the specified bean, with no type conversions.

For more details see PropertyUtilsBean.

MethodgetWriteMethod(PropertyDescriptor descriptor)

Return an accessible property setter method for this property, if there is one; otherwise return null.

For more details see PropertyUtilsBean.

booleanisReadable(Object bean, String name)

Return true if the specified property name identifies a readable property on the specified bean; otherwise, return false.

For more details see PropertyUtilsBean.

booleanisWriteable(Object bean, String name)

Return true if the specified property name identifies a writeable property on the specified bean; otherwise, return false.

For more details see PropertyUtilsBean.

voidsetIndexedProperty(Object bean, String name, int index, Object value)

Sets the value of the specified indexed property of the specified bean, with no type conversions.

For more details see PropertyUtilsBean.

voidsetIndexedProperty(Object bean, String name, Object value)

Sets the value of the specified indexed property of the specified bean, with no type conversions.

For more details see PropertyUtilsBean.

voidsetMappedProperty(Object bean, String name, String key, Object value)

Sets the value of the specified mapped property of the specified bean, with no type conversions.

For more details see PropertyUtilsBean.

voidsetMappedProperty(Object bean, String name, Object value)

Sets the value of the specified mapped property of the specified bean, with no type conversions.

For more details see PropertyUtilsBean.

voidsetNestedProperty(Object bean, String name, Object value)

Sets the value of the (possibly nested) property of the specified name, for the specified bean, with no type conversions.

For more details see PropertyUtilsBean.

voidsetProperty(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.

For more details see PropertyUtilsBean.

voidsetSimpleProperty(Object bean, String name, Object value)

Set the value of the specified simple property of the specified bean, with no type conversions.

For more details see PropertyUtilsBean.