Class PropertyAccessBasicImpl
- java.lang.Object
-
- org.hibernate.property.access.internal.PropertyAccessBasicImpl
-
- All Implemented Interfaces:
PropertyAccess
public class PropertyAccessBasicImpl extends Object implements PropertyAccess
PropertyAccess
for accessing the wrapped property via get/set pair, which may be nonpublic.- See Also:
PropertyAccessStrategyBasicImpl
-
-
Constructor Summary
Constructors Constructor Description PropertyAccessBasicImpl(PropertyAccessStrategyBasicImpl strategy, Class<?> containerJavaType, String propertyName, boolean setterRequired)
-
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.@Nullable Setter
getSetter()
Obtain the delegate for setting values of the persistent attribute.
-
-
-
Constructor Detail
-
PropertyAccessBasicImpl
public PropertyAccessBasicImpl(PropertyAccessStrategyBasicImpl strategy, Class<?> containerJavaType, String propertyName, boolean setterRequired)
-
-
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 @Nullable 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
-
-