Class PropertyAccessStrategyEnhancedImpl
java.lang.Object
org.hibernate.property.access.internal.PropertyAccessStrategyEnhancedImpl
- All Implemented Interfaces:
PropertyAccessStrategy
Defines a strategy for accessing property values via a get/set pair, which may be nonpublic. This
is the default (and recommended) strategy.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic PropertyAccessStrategystatic PropertyAccessStrategystatic PropertyAccessStrategy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildPropertyAccess(Class<?> containerJavaType, String propertyName, boolean setterRequired) Build aPropertyAccessfor the indicated propertystatic PropertyAccessStrategywith(AccessType getterAccessType)
-
Field Details
-
STANDARD
-
FIELD
-
PROPERTY
-
-
Constructor Details
-
PropertyAccessStrategyEnhancedImpl
-
-
Method Details
-
with
-
buildPropertyAccess
public PropertyAccess buildPropertyAccess(Class<?> containerJavaType, String propertyName, boolean setterRequired) Description copied from interface:PropertyAccessStrategyBuild aPropertyAccessfor the indicated property- Specified by:
buildPropertyAccessin interfacePropertyAccessStrategy- 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
-