public class DirectFieldAccessFallbackBeanWrapper extends BeanWrapperImpl
BeanWrapperImpl that falls back to direct field access in case the object or type being
wrapped does not use accessor methods.AbstractNestablePropertyAccessor.PropertyHandler, AbstractNestablePropertyAccessor.PropertyTokenHolderNESTED_PROPERTY_SEPARATOR, NESTED_PROPERTY_SEPARATOR_CHAR, PROPERTY_KEY_PREFIX, PROPERTY_KEY_PREFIX_CHAR, PROPERTY_KEY_SUFFIX, PROPERTY_KEY_SUFFIX_CHAR| Constructor and Description |
|---|
DirectFieldAccessFallbackBeanWrapper(Class<?> type) |
DirectFieldAccessFallbackBeanWrapper(Object entity) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getPropertyValue(String propertyName) |
void |
setPropertyValue(String propertyName,
Object value) |
convertForProperty, createNotWritablePropertyException, getLocalPropertyHandler, getPropertyDescriptor, getPropertyDescriptors, getSecurityContext, newNestedPropertyAccessor, setBeanInstance, setIntrospectionClass, setSecurityContext, setWrappedInstanceconvertForProperty, getAutoGrowCollectionLimit, getFinalPath, getNestedPath, getPropertyAccessorForPropertyPath, getPropertyHandler, getPropertyType, getPropertyTypeDescriptor, getPropertyValue, getRootClass, getRootInstance, getWrappedClass, getWrappedInstance, isReadableProperty, isWritableProperty, setAutoGrowCollectionLimit, setPropertyValue, setPropertyValue, setWrappedInstance, toStringisAutoGrowNestedPaths, isExtractOldValueForEditor, setAutoGrowNestedPaths, setExtractOldValueForEditor, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValuesconvertIfNecessary, convertIfNecessary, 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, setPropertyValue, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValuesfindCustomEditor, registerCustomEditor, registerCustomEditorconvertIfNecessary, convertIfNecessary, convertIfNecessary, convertIfNecessarypublic DirectFieldAccessFallbackBeanWrapper(Object entity)
public DirectFieldAccessFallbackBeanWrapper(Class<?> type)
@Nullable public Object getPropertyValue(String propertyName)
getPropertyValue in interface PropertyAccessorgetPropertyValue in class AbstractNestablePropertyAccessorpublic void setPropertyValue(String propertyName, @Nullable Object value)
setPropertyValue in interface PropertyAccessorsetPropertyValue in class AbstractNestablePropertyAccessorCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.