Class PropertyAccessMixedImpl
- java.lang.Object
-
- org.hibernate.property.access.internal.PropertyAccessMixedImpl
-
- All Implemented Interfaces:
PropertyAccess
- Direct Known Subclasses:
PropertyAccessEnhancedImpl
public class PropertyAccessMixedImpl extends Object implements PropertyAccess
A PropertyAccess based on mix of getter/setter method and/or field.
-
-
Constructor Summary
Constructors Constructor Description PropertyAccessMixedImpl(PropertyAccessStrategy strategy, Class<?> containerJavaType, String propertyName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GetterfieldGetter(Class<?> containerJavaType, String propertyName, Field field)protected static FieldfieldOrNull(Class<?> containerJavaType, String propertyName)protected SetterfieldSetter(Class<?> containerJavaType, String propertyName, Field field)protected static jakarta.persistence.AccessTypegetAccessType(Class<?> containerJavaType, String propertyName)GettergetGetter()Obtain the delegate for getting values for the described persistent propertyPropertyAccessStrategygetPropertyAccessStrategy()Access to the PropertyAccessStrategy that created this PropertyAccessSettergetSetter()Obtain the delegate for setting values for the described persistent propertyprotected GetterpropertyGetter(Class<?> containerJavaType, String propertyName, Method method)protected SetterpropertySetter(Class<?> containerJavaType, String propertyName, Method method)
-
-
-
Constructor Detail
-
PropertyAccessMixedImpl
public PropertyAccessMixedImpl(PropertyAccessStrategy strategy, Class<?> containerJavaType, String propertyName)
-
-
Method Detail
-
getAccessType
protected static jakarta.persistence.AccessType getAccessType(Class<?> containerJavaType, String propertyName)
-
fieldGetter
protected Getter fieldGetter(Class<?> containerJavaType, String propertyName, Field field)
-
fieldSetter
protected Setter fieldSetter(Class<?> containerJavaType, String propertyName, Field field)
-
propertyGetter
protected Getter propertyGetter(Class<?> containerJavaType, String propertyName, Method method)
-
propertySetter
protected Setter propertySetter(Class<?> containerJavaType, String propertyName, Method method)
-
getPropertyAccessStrategy
public PropertyAccessStrategy getPropertyAccessStrategy()
Description copied from interface:PropertyAccessAccess to the PropertyAccessStrategy that created this PropertyAccess- Specified by:
getPropertyAccessStrategyin interfacePropertyAccess- Returns:
- The PropertyAccessStrategy that created this PropertyAccess
-
getGetter
public Getter getGetter()
Description copied from interface:PropertyAccessObtain the delegate for getting values for the described persistent property- Specified by:
getGetterin interfacePropertyAccess- Returns:
- The property getter
-
getSetter
public Setter getSetter()
Description copied from interface:PropertyAccessObtain the delegate for setting values for the described persistent property- Specified by:
getSetterin interfacePropertyAccess- Returns:
- The property setter
-
-