org.springframework.data.util
Class DirectFieldAccessFallbackBeanWrapper
java.lang.Object
org.springframework.beans.PropertyEditorRegistrySupport
org.springframework.beans.TypeConverterSupport
org.springframework.beans.AbstractPropertyAccessor
org.springframework.beans.BeanWrapperImpl
org.springframework.data.util.DirectFieldAccessFallbackBeanWrapper
- All Implemented Interfaces:
- BeanWrapper, ConfigurablePropertyAccessor, PropertyAccessor, PropertyEditorRegistry, TypeConverter
public class DirectFieldAccessFallbackBeanWrapper
- extends BeanWrapperImpl
Custom extension of BeanWrapperImpl that falls back to direct field access in case the object or type being
wrapped does not use accessor methods.
- Author:
- Oliver Gierke
| Methods inherited from class org.springframework.beans.BeanWrapperImpl |
convertForProperty, getAutoGrowCollectionLimit, getBeanWrapperForPropertyPath, getNestedPath, getPropertyDescriptor, getPropertyDescriptorInternal, getPropertyDescriptors, getPropertyType, getPropertyTypeDescriptor, getRootClass, getRootInstance, getSecurityContext, getWrappedClass, getWrappedInstance, isAutoGrowNestedPaths, isReadableProperty, isWritableProperty, newNestedBeanWrapper, setAutoGrowCollectionLimit, setAutoGrowNestedPaths, setIntrospectionClass, setPropertyValue, setSecurityContext, setWrappedInstance, setWrappedInstance, toString |
| Methods inherited from class org.springframework.beans.PropertyEditorRegistrySupport |
copyCustomEditorsTo, copyDefaultEditorsTo, findCustomEditor, getConversionService, getDefaultEditor, guessPropertyTypeFromEditors, hasCustomEditorForElement, isSharedEditor, overrideDefaultEditor, registerCustomEditor, registerCustomEditor, registerDefaultEditors, registerSharedEditor, setConversionService, useConfigValueEditors |
DirectFieldAccessFallbackBeanWrapper
public DirectFieldAccessFallbackBeanWrapper(Object entity)
DirectFieldAccessFallbackBeanWrapper
public DirectFieldAccessFallbackBeanWrapper(Class<?> type)
getPropertyValue
public Object getPropertyValue(String propertyName)
- Specified by:
getPropertyValue in interface PropertyAccessor- Overrides:
getPropertyValue in class BeanWrapperImpl
setPropertyValue
public void setPropertyValue(String propertyName,
Object value)
- Specified by:
setPropertyValue in interface PropertyAccessor- Overrides:
setPropertyValue in class BeanWrapperImpl
Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.