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.PropertyTokenHolder
NESTED_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, setWrappedInstance
convertForProperty, getAutoGrowCollectionLimit, getFinalPath, getNestedPath, getPropertyAccessorForPropertyPath, getPropertyHandler, getPropertyType, getPropertyTypeDescriptor, getPropertyValue, getRootClass, getRootInstance, getWrappedClass, getWrappedInstance, isReadableProperty, isWritableProperty, setAutoGrowCollectionLimit, setPropertyValue, setPropertyValue, setWrappedInstance, toString
isAutoGrowNestedPaths, isExtractOldValueForEditor, setAutoGrowNestedPaths, setExtractOldValueForEditor, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues
convertIfNecessary, convertIfNecessary, convertIfNecessary, convertIfNecessary
copyCustomEditorsTo, copyDefaultEditorsTo, findCustomEditor, getConversionService, getDefaultEditor, guessPropertyTypeFromEditors, hasCustomEditorForElement, overrideDefaultEditor, registerCustomEditor, registerCustomEditor, registerDefaultEditors, setConversionService, useConfigValueEditors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAutoGrowCollectionLimit, getWrappedClass, getWrappedInstance, setAutoGrowCollectionLimit
getConversionService, isAutoGrowNestedPaths, isExtractOldValueForEditor, setAutoGrowNestedPaths, setConversionService, setExtractOldValueForEditor
getPropertyType, getPropertyTypeDescriptor, isReadableProperty, isWritableProperty, setPropertyValue, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues
findCustomEditor, registerCustomEditor, registerCustomEditor
convertIfNecessary, convertIfNecessary, convertIfNecessary, convertIfNecessary
public DirectFieldAccessFallbackBeanWrapper(Object entity)
public DirectFieldAccessFallbackBeanWrapper(Class<?> type)
@Nullable public Object getPropertyValue(String propertyName)
getPropertyValue
in interface PropertyAccessor
getPropertyValue
in class AbstractNestablePropertyAccessor
public void setPropertyValue(String propertyName, @Nullable Object value)
setPropertyValue
in interface PropertyAccessor
setPropertyValue
in class AbstractNestablePropertyAccessor
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.