public class DynamicMappedPropertyGetter extends DynamicPropertyGetterBase
Constructor and Description |
---|
DynamicMappedPropertyGetter(java.lang.String fieldName,
java.lang.String key,
EventAdapterService eventAdapterService)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
call(DynamicPropertyDescriptor descriptor,
java.lang.Object underlying)
Call the getter to obtains the return result object, or null if no such method exists.
|
java.lang.reflect.Method |
determineMethod(java.lang.Class clazz)
To be implemented to return the method required, or null to indicate an appropriate method could not be found.
|
cacheAndCall, cacheAndExists, eventBeanExistsCodegen, eventBeanFragmentCodegen, eventBeanGetCodegen, get, getBeanProp, getBeanPropType, getFragment, getTargetType, isBeanExistsProperty, isExistsProperty, underlyingExistsCodegen, underlyingFragmentCodegen, underlyingGetCodegen
public DynamicMappedPropertyGetter(java.lang.String fieldName, java.lang.String key, EventAdapterService eventAdapterService)
fieldName
- property namekey
- mapped access keyeventAdapterService
- factory for event beans and event typespublic java.lang.reflect.Method determineMethod(java.lang.Class clazz) throws PropertyAccessException
DynamicPropertyGetterBase
determineMethod
in class DynamicPropertyGetterBase
clazz
- to search for a matching methodPropertyAccessException
protected java.lang.Object call(DynamicPropertyDescriptor descriptor, java.lang.Object underlying)
DynamicPropertyGetterBase
call
in class DynamicPropertyGetterBase
descriptor
- provides method information for the classunderlying
- is the underlying object to ask for the property value