org.omnaest.utils.beans.adapter
Class PropertynameMapToTypeAdapter.Configuration
java.lang.Object
org.omnaest.utils.beans.adapter.SourcePropertyAccessorToTypeAdapter.Configuration
org.omnaest.utils.beans.adapter.PropertynameMapToTypeAdapter.Configuration
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- PropertynameMapToTypeAdapter<T>
public static class PropertynameMapToTypeAdapter.Configuration
- extends SourcePropertyAccessorToTypeAdapter.Configuration
The PropertynameMapToTypeAdapter.Configuration of a PropertynameMapToTypeAdapter includes following settings:
From the SourcePropertyAccessorToTypeAdapter.Configuration there are several more
settings available, too.
If setUnderlyingMapAware(boolean) is set to true, the created proxy will also implement the
UnderlyingMapAware interface. Which allows to cast proxies to that type and access the underlying Map
content.
If setSimulatingToString(boolean) is set to true, the proxy will simulate the Object.toString() method by
rendering the underlying Map.
- Author:
- Omnaest
- See Also:
PropertynameMapToTypeAdapter,
SourcePropertyAccessorToTypeAdapter.Configuration,
Serialized Form
| Methods inherited from class org.omnaest.utils.beans.adapter.SourcePropertyAccessorToTypeAdapter.Configuration |
addInterface, addMethodInvocationHandlerDecorator, addSourcePropertyAccessorDecorator, getInterfaces, getMethodInvocationHandlerDecorators, getPropertyAccessOption, getRegardedAnnotationScope, getSourcePropertyAccessorDecorators, isRegardingAdapterAnnotation, isRegardingDefaultValueAnnotation, isRegardingPropertyNameTemplateAnnotation, setInterfaces, setMethodInvocationHandlerDecorators, setPropertyAccessOption, setRegardedAnnotationScope, setRegardingAdapterAnnotation, setRegardingDefaultValueAnnotation, setRegardingPropertyNameTemplate, setSourcePropertyAccessorDecorators |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertynameMapToTypeAdapter.Configuration
public PropertynameMapToTypeAdapter.Configuration()
- See Also:
PropertynameMapToTypeAdapter.Configuration
PropertynameMapToTypeAdapter.Configuration
public PropertynameMapToTypeAdapter.Configuration(PropertyAccessOption propertyAccessOption,
boolean isRegardingAdapterAnnotation,
boolean isRegardingPropertyNameTemplateAnnotation,
boolean isRegardingDefaultValueAnnotation,
boolean underlyingMapAware,
boolean simulatingToString)
- Parameters:
propertyAccessOption - isRegardingAdapterAnnotation - isRegardingPropertyNameTemplateAnnotation - isRegardingDefaultValueAnnotation - underlyingMapAware - simulatingToString - - See Also:
PropertynameMapToTypeAdapter.Configuration
PropertynameMapToTypeAdapter.Configuration
public PropertynameMapToTypeAdapter.Configuration(boolean underlyingMapAware,
boolean simulatingToString)
- Parameters:
underlyingMapAware - simulatingToString -
PropertynameMapToTypeAdapter.Configuration
public PropertynameMapToTypeAdapter.Configuration(MethodInvocationHandlerDecorator[] methodInvocationHandlerDecorators,
SourcePropertyAccessorDecorator[] sourcePropertyAccessorDecorators)
- Parameters:
methodInvocationHandlerDecorators - sourcePropertyAccessorDecorators -
PropertynameMapToTypeAdapter.Configuration
public PropertynameMapToTypeAdapter.Configuration(Class<?>[] interfaces)
- Parameters:
interfaces -
isUnderlyingMapAware
public boolean isUnderlyingMapAware()
- Returns:
- See Also:
UnderlyingMapAware
setUnderlyingMapAware
public void setUnderlyingMapAware(boolean underlyingMapAware)
- Parameters:
underlyingMapAware - - See Also:
UnderlyingMapAware
isSimulatingToString
public boolean isSimulatingToString()
- Returns:
setSimulatingToString
public void setSimulatingToString(boolean simulatingToString)
- Parameters:
simulatingToString -
Copyright © 2013. All Rights Reserved.