Class PropertyAccessEnhancedImpl
java.lang.Object
org.hibernate.property.access.internal.PropertyAccessEnhancedImpl
- All Implemented Interfaces:
PropertyAccess
A
PropertyAccess for byte code enhanced entities. Enhanced setter methods ( if available ) are used for
property writes. Regular getter methods/fields are used for property access. Based upon PropertyAccessMixedImpl.-
Constructor Summary
ConstructorsConstructorDescriptionPropertyAccessEnhancedImpl(PropertyAccessStrategy strategy, Class<?> containerJavaType, String propertyName, @Nullable AccessType classAccessType) -
Method Summary
Modifier and TypeMethodDescriptionObtain the delegate for getting values of the persistent attribute.Access to thePropertyAccessStrategythat created this instance.Obtain the delegate for setting values of the persistent attribute.
-
Constructor Details
-
PropertyAccessEnhancedImpl
public PropertyAccessEnhancedImpl(PropertyAccessStrategy strategy, Class<?> containerJavaType, String propertyName, @Nullable AccessType classAccessType)
-
-
Method Details
-
getPropertyAccessStrategy
Description copied from interface:PropertyAccessAccess to thePropertyAccessStrategythat created this instance.- Specified by:
getPropertyAccessStrategyin interfacePropertyAccess- Returns:
- The
PropertyAccessStrategy
-
getGetter
Description copied from interface:PropertyAccessObtain the delegate for getting values of the persistent attribute.- Specified by:
getGetterin interfacePropertyAccess- Returns:
- The property getter
-
getSetter
Description copied from interface:PropertyAccessObtain the delegate for setting values of the persistent attribute.- Specified by:
getSetterin interfacePropertyAccess- Returns:
- The property setter
-