org.omnaest.utils.beans.adapter
Class PropertynameMapToTypeAdapter.SourePropertyAccessorForMap
java.lang.Object
org.omnaest.utils.beans.adapter.PropertynameMapToTypeAdapter.SourePropertyAccessorForMap
- All Implemented Interfaces:
- Serializable, SourcePropertyAccessor
- Enclosing class:
- PropertynameMapToTypeAdapter<T>
protected static class PropertynameMapToTypeAdapter.SourePropertyAccessorForMap
- extends Object
- implements SourcePropertyAccessor
- Author:
- Omnaest
- See Also:
SourcePropertyAccessor,
Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertynameMapToTypeAdapter.SourePropertyAccessorForMap
public PropertynameMapToTypeAdapter.SourePropertyAccessorForMap(Map<String,Object> map)
- Parameters:
map - Map- See Also:
PropertynameMapToTypeAdapter.SourePropertyAccessorForMap
setValue
public void setValue(String propertyName,
Object value,
Class<?> parameterType,
SourcePropertyAccessor.PropertyMetaInformation propertyMetaInformation)
- Description copied from interface:
SourcePropertyAccessor
- Sets the given value for the given property name.
- Specified by:
setValue in interface SourcePropertyAccessor
parameterType - : type of the first parameter of the property setter method, or type of the return type of the getter method- See Also:
SourcePropertyAccessor.PropertyMetaInformation
getValue
public Object getValue(String propertyName,
Class<?> returnType,
SourcePropertyAccessor.PropertyMetaInformation propertyMetaInformation)
- Description copied from interface:
SourcePropertyAccessor
- Returns the value related to the given property name.
- Specified by:
getValue in interface SourcePropertyAccessor
- Returns:
- See Also:
SourcePropertyAccessor.PropertyMetaInformation
getMap
public Map<String,Object> getMap()
setMap
public void setMap(Map<String,Object> map)
Copyright © 2013. All Rights Reserved.