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, toStringisExtractOldValueForEditor, setExtractOldValueForEditor, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValuesconvertIfNecessary, convertIfNecessary, convertIfNecessarycopyCustomEditorsTo, copyDefaultEditorsTo, findCustomEditor, getConversionService, getDefaultEditor, guessPropertyTypeFromEditors, hasCustomEditorForElement, isSharedEditor, overrideDefaultEditor, registerCustomEditor, registerCustomEditor, registerDefaultEditors, registerSharedEditor, setConversionService, useConfigValueEditorsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetConversionService, isExtractOldValueForEditor, setConversionService, setExtractOldValueForEditorsetPropertyValues, setPropertyValues, setPropertyValues, setPropertyValuesfindCustomEditor, registerCustomEditor, registerCustomEditorconvertIfNecessary, convertIfNecessary, convertIfNecessarypublic DirectFieldAccessFallbackBeanWrapper(Object entity)
public DirectFieldAccessFallbackBeanWrapper(Class<?> type)
public Object getPropertyValue(String propertyName)
getPropertyValue in interface PropertyAccessorgetPropertyValue in class BeanWrapperImplpublic void setPropertyValue(String propertyName, Object value)
setPropertyValue in interface PropertyAccessorsetPropertyValue in class BeanWrapperImplCopyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.