public class MPropertyUtilsBean
extends org.apache.commons.beanutils.PropertyUtilsBean
PropertyUtilsBean
and overrides methods to use MRules bean property access framework.Constructor and Description |
---|
MPropertyUtilsBean() |
MPropertyUtilsBean(boolean useCommonBeanUtilsSyntax) |
addBeanIntrospector, clearDescriptors, copyProperties, describe, getInstance, getMappedPropertyDescriptors, getMappedPropertyDescriptors, getPropertyDescriptor, getPropertyDescriptors, getPropertyDescriptors, getPropertyEditorClass, getPropertyOfMapBean, getReadMethod, getResolver, getWriteMethod, getWriteMethod, removeBeanIntrospector, resetBeanIntrospectors, setPropertyOfMapBean, setResolver
public MPropertyUtilsBean()
public MPropertyUtilsBean(boolean useCommonBeanUtilsSyntax)
protected boolean isDyna(Object bean)
public Object getIndexedProperty(Object bean, String name) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
getIndexedProperty
in class org.apache.commons.beanutils.PropertyUtilsBean
IllegalAccessException
InvocationTargetException
NoSuchMethodException
public Object getIndexedProperty(Object bean, String name, int index) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
getIndexedProperty
in class org.apache.commons.beanutils.PropertyUtilsBean
IllegalAccessException
InvocationTargetException
NoSuchMethodException
public Object getMappedProperty(Object bean, String name) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
getMappedProperty
in class org.apache.commons.beanutils.PropertyUtilsBean
IllegalAccessException
InvocationTargetException
NoSuchMethodException
public Object getMappedProperty(Object bean, String name, String key) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
getMappedProperty
in class org.apache.commons.beanutils.PropertyUtilsBean
IllegalAccessException
InvocationTargetException
NoSuchMethodException
public Object getNestedProperty(Object bean, String name) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
getNestedProperty
in class org.apache.commons.beanutils.PropertyUtilsBean
IllegalAccessException
InvocationTargetException
NoSuchMethodException
public Object getProperty(Object bean, String name) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
getProperty
in class org.apache.commons.beanutils.PropertyUtilsBean
IllegalAccessException
InvocationTargetException
NoSuchMethodException
public Class<?> getPropertyType(Object bean, String name) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
getPropertyType
in class org.apache.commons.beanutils.PropertyUtilsBean
IllegalAccessException
InvocationTargetException
NoSuchMethodException
public Object getSimpleProperty(Object bean, String name) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
getSimpleProperty
in class org.apache.commons.beanutils.PropertyUtilsBean
IllegalAccessException
InvocationTargetException
NoSuchMethodException
public boolean isReadable(Object bean, String name)
isReadable
in class org.apache.commons.beanutils.PropertyUtilsBean
public boolean isWriteable(Object bean, String name)
isWriteable
in class org.apache.commons.beanutils.PropertyUtilsBean
public void setIndexedProperty(Object bean, String name, Object value) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
setIndexedProperty
in class org.apache.commons.beanutils.PropertyUtilsBean
IllegalAccessException
InvocationTargetException
NoSuchMethodException
public void setIndexedProperty(Object bean, String name, int index, Object value) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
setIndexedProperty
in class org.apache.commons.beanutils.PropertyUtilsBean
IllegalAccessException
InvocationTargetException
NoSuchMethodException
public void setMappedProperty(Object bean, String name, Object value) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
setMappedProperty
in class org.apache.commons.beanutils.PropertyUtilsBean
IllegalAccessException
InvocationTargetException
NoSuchMethodException
public void setMappedProperty(Object bean, String name, String key, Object value) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
setMappedProperty
in class org.apache.commons.beanutils.PropertyUtilsBean
IllegalAccessException
InvocationTargetException
NoSuchMethodException
public void setNestedProperty(Object bean, String name, Object value) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
setNestedProperty
in class org.apache.commons.beanutils.PropertyUtilsBean
IllegalAccessException
InvocationTargetException
NoSuchMethodException
public void setProperty(Object bean, String name, Object value) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
setProperty
in class org.apache.commons.beanutils.PropertyUtilsBean
IllegalAccessException
InvocationTargetException
NoSuchMethodException
public void setSimpleProperty(Object bean, String name, Object value) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
setSimpleProperty
in class org.apache.commons.beanutils.PropertyUtilsBean
IllegalAccessException
InvocationTargetException
NoSuchMethodException