public class DirectPropertyAccessStrategy extends PropertyAccessStrategy
Constructor and Description |
---|
DirectPropertyAccessStrategy() |
Modifier and Type | Method and Description |
---|---|
protected int |
getPriority()
The priority of this strategy.
|
protected <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, getProperty, register, unregister
protected int getPriority()
PropertyAccessStrategy
getPriority
in class PropertyAccessStrategy
Integer.MAX_VALUE
being evaluated firstprotected <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–2024. All rights reserved.