Interface PropertyAccessStrategy
public interface PropertyAccessStrategy
Describes a strategy for accessing a persistent attribute,
for example: field, JavaBean-style property, or whatever.
Acts as a factory for PropertyAccess instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuildPropertyAccess(Class<?> containerJavaType, String propertyName, boolean setterRequired) Deprecated, for removal: This API element is subject to removal in a future version.Will be removed in 8.0
-
Method Details
-
buildPropertyAccess
@Deprecated(since="7.4", forRemoval=true) PropertyAccess buildPropertyAccess(Class<?> containerJavaType, String propertyName, boolean setterRequired) Deprecated, for removal: This API element is subject to removal in a future version.Will be removed in 8.0Build aPropertyAccessfor the indicated property- Parameters:
containerJavaType- The Java type that contains the property; may benullfor non-pojo cases.propertyName- The property namesetterRequired- Whether it is an error if we are unable to find a corresponding setter- Returns:
- The appropriate PropertyAccess
-