Interface PropertyAccessStrategy
-
- All Known Implementing Classes:
PropertyAccessStrategyBackRefImpl
,PropertyAccessStrategyBasicImpl
,PropertyAccessStrategyChainedImpl
,PropertyAccessStrategyCompositeUserTypeImpl
,PropertyAccessStrategyEmbeddedImpl
,PropertyAccessStrategyEnhancedImpl
,PropertyAccessStrategyFieldImpl
,PropertyAccessStrategyIndexBackRefImpl
,PropertyAccessStrategyMapImpl
,PropertyAccessStrategyMixedImpl
,PropertyAccessStrategyNoopImpl
public interface PropertyAccessStrategy
Describes a strategy for persistent property access (field, JavaBean-style property, etc). Acts as a factory forPropertyAccess
instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PropertyAccess
buildPropertyAccess(Class<?> containerJavaType, String propertyName, boolean setterRequired)
Build a PropertyAccess for the indicated property
-
-
-
Method Detail
-
buildPropertyAccess
PropertyAccess buildPropertyAccess(Class<?> containerJavaType, String propertyName, boolean setterRequired)
Build a PropertyAccess for the indicated property- Parameters:
containerJavaType
- The Java type that contains the property; may benull
for 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
-
-