Interface PropertyAccessStrategy
Creates PropertyAccess instances for persistent attributes using field,
JavaBeans-style property, or another access mechanism.
Implement a strategy to provide a custom access mechanism and select it
with AttributeAccessor.strategy().
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuildPropertyAccess(PropertyAccessorService propertyAccessorService, Class<?> containerJavaType, String propertyName, boolean setterRequired) Build aPropertyAccessfor the indicated property
-
Method Details
-
buildPropertyAccess
PropertyAccess buildPropertyAccess(PropertyAccessorService propertyAccessorService, Class<?> containerJavaType, String propertyName, boolean setterRequired) Build aPropertyAccessfor the indicated property- Parameters:
propertyAccessorService- The property accessor servicecontainerJavaType- 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
-