Class PropertyAccessEnhancedImpl
- java.lang.Object
-
- org.hibernate.property.access.internal.PropertyAccessEnhancedImpl
-
- All Implemented Interfaces:
PropertyAccess
public class PropertyAccessEnhancedImpl extends Object implements PropertyAccess
APropertyAccess
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
Constructors Constructor Description PropertyAccessEnhancedImpl(PropertyAccessStrategy strategy, Class<?> containerJavaType, String propertyName, @Nullable AccessType getterAccessType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Getter
getGetter()
Obtain the delegate for getting values of the persistent attribute.PropertyAccessStrategy
getPropertyAccessStrategy()
Access to thePropertyAccessStrategy
that created this instance.Setter
getSetter()
Obtain the delegate for setting values of the persistent attribute.
-
-
-
Constructor Detail
-
PropertyAccessEnhancedImpl
public PropertyAccessEnhancedImpl(PropertyAccessStrategy strategy, Class<?> containerJavaType, String propertyName, @Nullable AccessType getterAccessType)
-
-
Method Detail
-
getPropertyAccessStrategy
public PropertyAccessStrategy getPropertyAccessStrategy()
Description copied from interface:PropertyAccess
Access to thePropertyAccessStrategy
that created this instance.- Specified by:
getPropertyAccessStrategy
in interfacePropertyAccess
- Returns:
- The
PropertyAccessStrategy
-
getGetter
public Getter getGetter()
Description copied from interface:PropertyAccess
Obtain the delegate for getting values of the persistent attribute.- Specified by:
getGetter
in interfacePropertyAccess
- Returns:
- The property getter
-
getSetter
public Setter getSetter()
Description copied from interface:PropertyAccess
Obtain the delegate for setting values of the persistent attribute.- Specified by:
getSetter
in interfacePropertyAccess
- Returns:
- The property setter
-
-