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.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, 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
isExtractOldValueForEditor, setExtractOldValueForEditor, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues
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
getConversionService, isExtractOldValueForEditor, setConversionService, setExtractOldValueForEditor
setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues
findCustomEditor, registerCustomEditor, registerCustomEditor
convertIfNecessary, convertIfNecessary, convertIfNecessary
public DirectFieldAccessFallbackBeanWrapper(Object entity)
public DirectFieldAccessFallbackBeanWrapper(Class<?> type)
public Object getPropertyValue(String propertyName)
getPropertyValue
in interface PropertyAccessor
getPropertyValue
in class BeanWrapperImpl
public void setPropertyValue(String propertyName, Object value)
setPropertyValue
in interface PropertyAccessor
setPropertyValue
in class BeanWrapperImpl
Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.