org.springframework.richclient.beans
Class DefaultMemberPropertyAccessor
java.lang.Object
org.springframework.beans.PropertyEditorRegistrySupport
org.springframework.beans.AbstractPropertyAccessor
org.springframework.richclient.beans.AbstractMemberPropertyAccessor
org.springframework.richclient.beans.AbstractNestedMemberPropertyAccessor
org.springframework.richclient.beans.DefaultMemberPropertyAccessor
- All Implemented Interfaces:
- ConfigurablePropertyAccessor, PropertyAccessor, PropertyEditorRegistry, TypeConverter
public class DefaultMemberPropertyAccessor
- extends AbstractNestedMemberPropertyAccessor
This class implements actual access to properties for
AbstractNestedMemberPropertyAccessor.
- Author:
- Arne Limburg
Methods inherited from class org.springframework.richclient.beans.AbstractNestedMemberPropertyAccessor |
clearChildPropertyAccessorCache, getBasePropertyName, getBasePropertyName, getChildPropertyAccessor, getChildPropertyPath, getParentPropertyAccessor, getPropertyType, getPropertyValue, getTargetClass, isReadableProperty, isStrictNullHandlingEnabled, isWritableProperty, setPropertyValue |
Methods inherited from class org.springframework.richclient.beans.AbstractMemberPropertyAccessor |
checkKeyTypes, createNotReadablePropertyException, getIndexedPropertyKeyType, getIndices, getParentPropertyName, getPropertyAccessor, getPropertyName, getReadPropertyAccessor, getRootPropertyName, getWritePropertyAccessor, isFieldAccessEnabled, setAssemblageValue, 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 |
DefaultMemberPropertyAccessor
public DefaultMemberPropertyAccessor(Class targetClass)
DefaultMemberPropertyAccessor
public DefaultMemberPropertyAccessor(Object target)
DefaultMemberPropertyAccessor
public DefaultMemberPropertyAccessor(Object target,
boolean fieldAccessEnabled,
boolean strictNullHandlingEnabled)
DefaultMemberPropertyAccessor
public DefaultMemberPropertyAccessor(Class targetClass,
Object target,
boolean fieldAccessEnabled,
boolean strictNullHandlingEnabled)
DefaultMemberPropertyAccessor
protected DefaultMemberPropertyAccessor(AbstractNestedMemberPropertyAccessor parent,
String baseProperty)
getTarget
public Object getTarget()
- Overrides:
getTarget
in class AbstractNestedMemberPropertyAccessor
setTarget
public void setTarget(Object target)
getIndexedPropertyValue
public Object getIndexedPropertyValue(String propertyName)
throws BeansException
- Description copied from class:
AbstractMemberPropertyAccessor
- Retrieve the value of an indexed property.
- Specified by:
getIndexedPropertyValue
in class AbstractMemberPropertyAccessor
- Parameters:
propertyName
- name of the property.
- Returns:
- value of the property.
- Throws:
BeansException
getSimplePropertyValue
public Object getSimplePropertyValue(String propertyName)
throws BeansException
- Description copied from class:
AbstractMemberPropertyAccessor
- Retrieve the value of a simple property (non-indexed).
- Specified by:
getSimplePropertyValue
in class AbstractMemberPropertyAccessor
- Parameters:
propertyName
- name of the property.
- Returns:
- value of the property.
- Throws:
BeansException
setIndexedPropertyValue
public void setIndexedPropertyValue(String propertyName,
Object value)
throws BeansException
- Description copied from class:
AbstractMemberPropertyAccessor
- Set the value of an indexed property.
- Specified by:
setIndexedPropertyValue
in class AbstractMemberPropertyAccessor
- Parameters:
propertyName
- name of the property.value
- new value for the property.
- Throws:
BeansException
setSimplePropertyValue
public void setSimplePropertyValue(String propertyName,
Object value)
throws BeansException
- Description copied from class:
AbstractMemberPropertyAccessor
- Set the value of a simple property (non-indexed).
- Specified by:
setSimplePropertyValue
in class AbstractMemberPropertyAccessor
- Parameters:
propertyName
- name of the property.value
- new value for the property.
- Throws:
BeansException
createChildPropertyAccessor
protected AbstractNestedMemberPropertyAccessor createChildPropertyAccessor(String propertyName)
- Specified by:
createChildPropertyAccessor
in class AbstractNestedMemberPropertyAccessor
convertIfNecessary
public Object convertIfNecessary(Object value,
Class requiredType,
MethodParameter methodParam)
throws TypeMismatchException
- Throws:
TypeMismatchException
Copyright © 2004-2009 The Spring Framework. All Rights Reserved.