org.omnaest.utils.beans.adapter.source
Class SourcePropertyAccessorDecoratorPropertyAccessOption
java.lang.Object
org.omnaest.utils.beans.adapter.source.SourcePropertyAccessorDecorator
org.omnaest.utils.beans.adapter.source.SourcePropertyAccessorDecoratorPropertyAccessOption
- All Implemented Interfaces:
- Serializable, SourcePropertyAccessor
public class SourcePropertyAccessorDecoratorPropertyAccessOption
- extends SourcePropertyAccessorDecorator
SourcePropertyAccessorDecorator which will convert incoming keys based on a PropertyAccessOption
- Author:
- Omnaest
- See Also:
PropertyAccessOption,
SourcePropertyAccessor,
Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
propertyAccessOption
protected PropertyAccessOption propertyAccessOption
SourcePropertyAccessorDecoratorPropertyAccessOption
public SourcePropertyAccessorDecoratorPropertyAccessOption(SourcePropertyAccessor sourcePropertyAccessor,
PropertyAccessOption propertyAccessOption)
- Parameters:
sourcePropertyAccessor - propertyAccessOption -
SourcePropertyAccessorDecoratorPropertyAccessOption
public SourcePropertyAccessorDecoratorPropertyAccessOption(PropertyAccessOption propertyAccessOption)
- Parameters:
propertyAccessOption -
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.
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.
- Returns:
- See Also:
SourcePropertyAccessor.PropertyMetaInformation
processPropertyNameWithTemplate
protected String processPropertyNameWithTemplate(String propertyName)
Copyright © 2013. All Rights Reserved.