public abstract class AbstractMethodPropertyAccessStrategy extends PropertyAccessStrategy
Constructor and Description |
---|
AbstractMethodPropertyAccessStrategy() |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getterName(String property)
Returns the name of the method that is used to access the property.
|
<T> Property<T> |
propertyFor(Class<? extends T> targetClass,
String property)
Returns a Property instance for the given
property , defined in given
targetClass , or null if no such property is found on the class. |
compareTo, getPriority, getProperty, register, unregister
public AbstractMethodPropertyAccessStrategy()
public <T> Property<T> propertyFor(Class<? extends T> targetClass, String property)
PropertyAccessStrategy
property
, defined in given
targetClass
, or null
if no such property is found on the class.propertyFor
in class PropertyAccessStrategy
T
- The type of class on which to find the propertytargetClass
- The class on which to find the propertyproperty
- The name of the property to findnull
if property could not
be found.Copyright © 2010–2023. All rights reserved.