org.springframework.richclient.beans
Class AbstractNestedMemberPropertyAccessor
java.lang.Object
org.springframework.beans.PropertyEditorRegistrySupport
org.springframework.beans.AbstractPropertyAccessor
org.springframework.richclient.beans.AbstractMemberPropertyAccessor
org.springframework.richclient.beans.AbstractNestedMemberPropertyAccessor
- All Implemented Interfaces:
- ConfigurablePropertyAccessor, PropertyAccessor, PropertyEditorRegistry, TypeConverter
- Direct Known Subclasses:
- DefaultMemberPropertyAccessor
public abstract class AbstractNestedMemberPropertyAccessor
- extends AbstractMemberPropertyAccessor
This implementation extends AbstractMemberPropertyAccessor
with the
functionality of nested property handling.
- Author:
- Arne Limburg
Methods inherited from class org.springframework.richclient.beans.AbstractMemberPropertyAccessor |
checkKeyTypes, createNotReadablePropertyException, getIndexedPropertyKeyType, getIndexedPropertyValue, getIndices, getParentPropertyName, getPropertyAccessor, getPropertyName, getReadPropertyAccessor, getRootPropertyName, getSimplePropertyValue, getWritePropertyAccessor, isFieldAccessEnabled, setAssemblageValue, setIndexedPropertyValue, setSimplePropertyValue, setTargetClass |
Methods inherited from class org.springframework.beans.PropertyEditorRegistrySupport |
copyCustomEditorsTo, copyDefaultEditorsTo, findCustomEditor, getDefaultEditor, guessPropertyTypeFromEditors, hasCustomEditorForElement, isSharedEditor, registerCustomEditor, registerCustomEditor, registerDefaultEditors, registerSharedEditor, useConfigValueEditors |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractNestedMemberPropertyAccessor
protected AbstractNestedMemberPropertyAccessor(Class targetClass,
boolean fieldAccessEnabled,
boolean strictNullHandlingEnabled)
AbstractNestedMemberPropertyAccessor
public AbstractNestedMemberPropertyAccessor(AbstractNestedMemberPropertyAccessor parent,
String baseProperty)
isStrictNullHandlingEnabled
public boolean isStrictNullHandlingEnabled()
getParentPropertyAccessor
protected AbstractNestedMemberPropertyAccessor getParentPropertyAccessor()
getBasePropertyName
protected String getBasePropertyName()
getTarget
public Object getTarget()
getTargetClass
public Class getTargetClass()
- Description copied from class:
AbstractMemberPropertyAccessor
- Returns the class used to introspect members.
- Overrides:
getTargetClass
in class AbstractMemberPropertyAccessor
isReadableProperty
public boolean isReadableProperty(String propertyPath)
- Description copied from class:
AbstractMemberPropertyAccessor
-
- Specified by:
isReadableProperty
in interface PropertyAccessor
- Overrides:
isReadableProperty
in class AbstractMemberPropertyAccessor
isWritableProperty
public boolean isWritableProperty(String propertyPath)
- Description copied from class:
AbstractMemberPropertyAccessor
-
- Specified by:
isWritableProperty
in interface PropertyAccessor
- Overrides:
isWritableProperty
in class AbstractMemberPropertyAccessor
getPropertyType
public Class getPropertyType(String propertyPath)
- Description copied from class:
AbstractMemberPropertyAccessor
-
- Specified by:
getPropertyType
in interface PropertyAccessor
- Overrides:
getPropertyType
in class AbstractMemberPropertyAccessor
getPropertyValue
public Object getPropertyValue(String propertyPath)
- Description copied from class:
AbstractMemberPropertyAccessor
-
- Specified by:
getPropertyValue
in interface PropertyAccessor
- Overrides:
getPropertyValue
in class AbstractMemberPropertyAccessor
setPropertyValue
public void setPropertyValue(String propertyPath,
Object value)
- Description copied from class:
AbstractMemberPropertyAccessor
-
- Specified by:
setPropertyValue
in interface PropertyAccessor
- Overrides:
setPropertyValue
in class AbstractMemberPropertyAccessor
getBasePropertyName
protected String getBasePropertyName(String propertyPath)
getChildPropertyPath
protected String getChildPropertyPath(String propertyPath)
getChildPropertyAccessor
protected PropertyAccessor getChildPropertyAccessor(String propertyName)
createChildPropertyAccessor
protected abstract AbstractNestedMemberPropertyAccessor createChildPropertyAccessor(String propertyName)
clearChildPropertyAccessorCache
protected void clearChildPropertyAccessorCache()
Copyright © 2004-2008 The Spring Framework. All Rights Reserved.