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

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

Introduction

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

The text is from its open source code.

Subclass

org.apache.commons.beanutils.PropertyUtilsBean has subclasses.
Click this link to see all its subclasses.

Constructor

PropertyUtilsBean()
Base constructor

Method

Mapdescribe(Object bean)

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

ObjectgetIndexedProperty(Object bean, String name, int index)
Return the value of the specified indexed property of the specified bean, with no type conversions.
ObjectgetMappedProperty(Object bean, String name)
Return the value of the specified mapped property of the specified bean, with no type conversions.
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.
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.
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.

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.

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.
ObjectgetSimpleProperty(Object bean, String name)
Return the value of the specified simple property of the specified bean, with no type conversions.
booleanisReadable(Object bean, String name)

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

booleanisWriteable(Object bean, String name)

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

voidsetIndexedProperty(Object bean, String name, int index, Object value)
Set the value of the specified indexed property of the specified bean, with no type conversions.
voidsetNestedProperty(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.
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.
voidsetSimpleProperty(Object bean, String name, Object value)
Set the value of the specified simple property of the specified bean, with no type conversions.