Class PojoPropertyUtilsBean
java.lang.Object
org.apache.commons.beanutils.PropertyUtilsBean
org.kuali.rice.kns.web.struts.form.pojo.PojoPropertyUtilsBean
@Deprecated
public class PojoPropertyUtilsBean
extends org.apache.commons.beanutils.PropertyUtilsBean
Deprecated.
KNS Struts deprecated, use KRAD and the Spring MVC framework.
deleted author tag
end Kuali Foundation modification
begin Kuali Foundation modification
This class is used to access the properties of a Pojo bean.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDeprecated.Thin interface for determining the appropriate item class for a collection propertystatic classDeprecated.CollectionItemClassProvider backed by the legacy data adapterstatic classDeprecated.CollectionItemClassProvider backed by OJB metadata -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static PojoPropertyUtilsBean.CollectionItemClassProviderDeprecated.static final org.apache.logging.log4j.LoggerDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfastGetNestedProperty(Object obj, String propertyName) Deprecated.protected ObjectgenerateIndexedProperty(Object nestedBean, String property, int index, IndexOutOfBoundsException ioobe) Deprecated.getIndexedProperty(Object bean, String name, int index) Deprecated.Customization of superclass getNestedProperty which transparently creates indexed property itemsgetNestedProperty(Object arg0, String arg1) Deprecated.begin Kuali Foundation modification removed comments and @<no space>since javadoc attribute end Kuali Foundation modificationgetProperty(Object bean, String key) Deprecated.getPropertyDescriptor(Object bean, String name) Deprecated.Retrieve the property descriptor for the specified property of the specified bean, or returnnullif there is no such descriptor.getPropertyType(Object bean, String name) Deprecated.booleanisWriteable(Object bean, String name) Deprecated.voidsetNestedProperty(Object bean, String name, Object value) Deprecated.begin Kuali Foundation modification Set the value of the (possibly nested) property of the specified name, for the specified bean, with no type conversions.voidsetSimpleProperty(Object bean, String name, Object value) Deprecated.Set the value of the specified simple property of the specified bean, with no type conversions.Methods inherited from class org.apache.commons.beanutils.PropertyUtilsBean
addBeanIntrospector, clearDescriptors, copyProperties, describe, getIndexedProperty, getInstance, getMappedProperty, getMappedProperty, getMappedPropertyDescriptors, getMappedPropertyDescriptors, getPropertyDescriptors, getPropertyDescriptors, getPropertyEditorClass, getPropertyOfMapBean, getReadMethod, getResolver, getSimpleProperty, getWriteMethod, getWriteMethod, isReadable, removeBeanIntrospector, resetBeanIntrospectors, setIndexedProperty, setIndexedProperty, setMappedProperty, setMappedProperty, setProperty, setPropertyOfMapBean, setResolver
-
Field Details
-
LOG
public static final org.apache.logging.log4j.Logger LOGDeprecated. -
collectionItemClassProvider
Deprecated.
-
-
Constructor Details
-
PojoPropertyUtilsBean
public PojoPropertyUtilsBean()Deprecated.
-
-
Method Details
-
getProperty
public Object getProperty(Object bean, String key) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException Deprecated.- Overrides:
getPropertyin classorg.apache.commons.beanutils.PropertyUtilsBean- Throws:
IllegalAccessExceptionInvocationTargetExceptionNoSuchMethodException
-
fastGetNestedProperty
public Object fastGetNestedProperty(Object obj, String propertyName) throws IntrospectionException, IllegalArgumentException, IllegalAccessException, InvocationTargetException Deprecated. -
isWriteable
Deprecated.- Overrides:
isWriteablein classorg.apache.commons.beanutils.PropertyUtilsBean
-
getNestedProperty
public Object getNestedProperty(Object arg0, String arg1) throws IllegalAccessException, NoSuchMethodException Deprecated.begin Kuali Foundation modification removed comments and @<no space>since javadoc attribute end Kuali Foundation modification- Overrides:
getNestedPropertyin classorg.apache.commons.beanutils.PropertyUtilsBean- Throws:
IllegalAccessExceptionNoSuchMethodException- See Also:
-
getIndexedProperty
public Object getIndexedProperty(Object bean, String name, int index) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException Deprecated.Customization of superclass getNestedProperty which transparently creates indexed property items- Overrides:
getIndexedPropertyin classorg.apache.commons.beanutils.PropertyUtilsBean- Throws:
IllegalAccessExceptionInvocationTargetExceptionNoSuchMethodException
-
generateIndexedProperty
protected Object generateIndexedProperty(Object nestedBean, String property, int index, IndexOutOfBoundsException ioobe) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException Deprecated. -
setNestedProperty
public void setNestedProperty(Object bean, String name, Object value) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException Deprecated.begin Kuali Foundation modification Set the value of the (possibly nested) property of the specified name, for the specified bean, with no type conversions.- Overrides:
setNestedPropertyin classorg.apache.commons.beanutils.PropertyUtilsBean- Parameters:
bean- Bean whose property is to be modifiedname- Possibly nested name of the property to be modifiedvalue- Value to which the property is to be set- Throws:
IllegalAccessException- if the caller does not have access to the property accessor methodIllegalArgumentException- ifbeanornameis nullIllegalArgumentException- if a nested reference to a property returns nullInvocationTargetException- if the property accessor method throws an exceptionNoSuchMethodException- if an accessor method for this propety cannot be found end Kuali Foundation modification
-
getPropertyDescriptor
public PropertyDescriptor getPropertyDescriptor(Object bean, String name) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException Deprecated.Retrieve the property descriptor for the specified property of the specified bean, or return
nullif there is no such descriptor. This method resolves indexed and nested property references in the same manner as other methods in this class, except that if the last (or only) name element is indexed, the descriptor for the last resolved property itself is returned.FIXME - Does not work with DynaBeans.
- Overrides:
getPropertyDescriptorin classorg.apache.commons.beanutils.PropertyUtilsBean- Parameters:
bean- Bean for which a property descriptor is requestedname- Possibly indexed and/or nested name of the property for which a property descriptor is requested- Throws:
IllegalAccessException- if the caller does not have access to the property accessor methodIllegalArgumentException- ifbeanornameis nullIllegalArgumentException- if a nested reference to a property returns nullInvocationTargetException- if the property accessor method throws an exceptionNoSuchMethodException- if an accessor method for this propety cannot be found
-
setSimpleProperty
public void setSimpleProperty(Object bean, String name, Object value) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException Deprecated.Set the value of the specified simple property of the specified bean, with no type conversions.- Overrides:
setSimplePropertyin classorg.apache.commons.beanutils.PropertyUtilsBean- Parameters:
bean- Bean whose property is to be modifiedname- Name of the property to be modifiedvalue- Value to which the property should be set- Throws:
IllegalAccessException- if the caller does not have access to the property accessor methodIllegalArgumentException- ifbeanornameis nullIllegalArgumentException- if the property name is nested or indexedInvocationTargetException- if the property accessor method throws an exceptionNoSuchMethodException- if an accessor method for this propety cannot be found
-
getPropertyType
public Class getPropertyType(Object bean, String name) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException Deprecated.- Overrides:
getPropertyTypein classorg.apache.commons.beanutils.PropertyUtilsBean- Throws:
IllegalAccessExceptionInvocationTargetExceptionNoSuchMethodException
-