public class UifBeanWrapper extends org.springframework.beans.BeanWrapperImpl
| Constructor and Description |
|---|
UifBeanWrapper(Object object) |
UifBeanWrapper(Object object,
String nestedPath,
UifBeanWrapper superBw) |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.beans.AbstractNestablePropertyAccessor |
getPropertyAccessorForPropertyPath(String propertyPath)
Override to set auto grown on the nested bean wrapper to the setting of the root bean wrapper.
|
Object |
getPropertyValue(String propertyName)
Overridden to set auto grow nested paths to false for getting the value.
|
protected Object |
getPropertyValue(String propertyName,
boolean autoGrowNestedPaths)
Returns the value for the given property growing nested paths depending on the parameter.
|
org.springframework.beans.BeanWrapperImpl |
getRootBeanWrapper()
Bean wrapper for the root data object, used for setting auto grows on nested bean wrappers.
|
protected org.springframework.beans.BeanWrapperImpl |
newNestedPropertyAccessor(Object object,
String nestedPath)
Override to instantiate a UIF bean wrapper for nested bean wrappers.
|
void |
setPropertyValue(org.springframework.beans.PropertyValue pv)
Override to set auto grow to true for setting property values.
|
void |
setPropertyValue(String propertyName,
Object value)
Override to set auto grow to true for setting property values.
|
void |
setRootBeanWrapper(org.springframework.beans.BeanWrapperImpl rootBeanWrapper) |
convertForProperty, createNotWritablePropertyException, getLocalPropertyHandler, getPropertyDescriptor, getPropertyDescriptors, getSecurityContext, setBeanInstance, setIntrospectionClass, setSecurityContext, setWrappedInstanceconvertForProperty, getAutoGrowCollectionLimit, getFinalPath, getNestedPath, getPropertyHandler, getPropertyType, getPropertyTypeDescriptor, getPropertyValue, getRootClass, getRootInstance, getWrappedClass, getWrappedInstance, isReadableProperty, isWritableProperty, setAutoGrowCollectionLimit, setPropertyValue, setWrappedInstance, toStringisAutoGrowNestedPaths, isExtractOldValueForEditor, setAutoGrowNestedPaths, setExtractOldValueForEditor, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValuesconvertIfNecessary, convertIfNecessary, convertIfNecessarycopyCustomEditorsTo, copyDefaultEditorsTo, findCustomEditor, getConversionService, getDefaultEditor, guessPropertyTypeFromEditors, hasCustomEditorForElement, overrideDefaultEditor, registerCustomEditor, registerCustomEditor, registerDefaultEditors, setConversionService, useConfigValueEditorsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAutoGrowCollectionLimit, getWrappedClass, getWrappedInstance, setAutoGrowCollectionLimitgetConversionService, isAutoGrowNestedPaths, isExtractOldValueForEditor, setAutoGrowNestedPaths, setConversionService, setExtractOldValueForEditorgetPropertyType, getPropertyTypeDescriptor, isReadableProperty, isWritableProperty, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValuespublic UifBeanWrapper(Object object)
public UifBeanWrapper(Object object, String nestedPath, UifBeanWrapper superBw)
public Object getPropertyValue(String propertyName) throws org.springframework.beans.BeansException
getPropertyValue in interface org.springframework.beans.PropertyAccessorgetPropertyValue in class org.springframework.beans.AbstractNestablePropertyAccessororg.springframework.beans.BeansExceptionprotected Object getPropertyValue(String propertyName, boolean autoGrowNestedPaths)
propertyName - name of the property to get value forautoGrowNestedPaths - whether nested paths should be grown (initialized if null)public void setPropertyValue(org.springframework.beans.PropertyValue pv) throws org.springframework.beans.BeansException
setPropertyValue in interface org.springframework.beans.PropertyAccessorsetPropertyValue in class org.springframework.beans.AbstractNestablePropertyAccessororg.springframework.beans.BeansExceptionpublic void setPropertyValue(String propertyName, Object value) throws org.springframework.beans.BeansException
setPropertyValue in interface org.springframework.beans.PropertyAccessorsetPropertyValue in class org.springframework.beans.AbstractNestablePropertyAccessororg.springframework.beans.BeansExceptionprotected org.springframework.beans.BeanWrapperImpl newNestedPropertyAccessor(Object object, String nestedPath)
newNestedPropertyAccessor in class org.springframework.beans.BeanWrapperImplprotected org.springframework.beans.AbstractNestablePropertyAccessor getPropertyAccessorForPropertyPath(String propertyPath)
This is necessary because the nested bean wrapper could have been cached, and its auto-grow setting reflect an earler get or set call
getPropertyAccessorForPropertyPath in class org.springframework.beans.AbstractNestablePropertyAccessorpublic org.springframework.beans.BeanWrapperImpl getRootBeanWrapper()
public void setRootBeanWrapper(org.springframework.beans.BeanWrapperImpl rootBeanWrapper)
getRootBeanWrapper()Copyright © 2005–2018 The Kuali Foundation. All rights reserved.