Top Description Fields Constructors Methods
org.hibernate.property.access.internal

public Class PropertyAccessBasicImpl

extends Object
implements PropertyAccess
Class Inheritance
All Implemented Interfaces
org.hibernate.property.access.spi.PropertyAccess
Imports
java.lang.reflect.Method, org.hibernate.internal.util.ReflectHelper, org.hibernate.property.access.spi.Getter, .GetterMethodImpl, .PropertyAccess, .PropertyAccessStrategy, .Setter, .SetterMethodImpl, org.jboss.logging.Logger, org.checkerframework.checker.nullness.qual.Nullable

PropertyAccess for accessing the wrapped property via get/set pair, which may be nonpublic.
Author
Steve Ebersole
See Also
PropertyAccessStrategyBasicImpl

Field Summary

Modifier and TypeField and Description
private final GetterMethodImpl
private static final Logger
private final @Nullable SetterMethodImpl
private final PropertyAccessStrategyBasicImpl

Constructor Summary

AccessConstructor and Description
public
PropertyAccessBasicImpl(PropertyAccessStrategyBasicImpl strategy, Class<?> containerJavaType, final String propertyName, boolean setterRequired)

Method Summary

Modifier and TypeMethod and Description
public Getter
getGetter()

Implements org.hibernate.property.access.spi.PropertyAccess.getGetter.

Obtain the delegate for getting values of the persistent attribute.
public PropertyAccessStrategy
public @Nullable Setter
getSetter()

Implements org.hibernate.property.access.spi.PropertyAccess.getSetter.

Obtain the delegate for setting values of the persistent attribute.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

getterback to summary
private final GetterMethodImpl getter
logback to summary
private static final Logger log
setterback to summary
private final @Nullable SetterMethodImpl setter
strategyback to summary
private final PropertyAccessStrategyBasicImpl strategy

Constructor Detail

PropertyAccessBasicImplback to summary
public PropertyAccessBasicImpl(PropertyAccessStrategyBasicImpl strategy, Class<?> containerJavaType, final String propertyName, boolean setterRequired)

Method Detail

getGetterback to summary
public Getter getGetter()

Implements org.hibernate.property.access.spi.PropertyAccess.getGetter.

Doc from org.hibernate.property.access.spi.PropertyAccess.getGetter.

Obtain the delegate for getting values of the persistent attribute.

Returns:Getter

The property getter

Annotations
@Override
getPropertyAccessStrategyback to summary
public PropertyAccessStrategy getPropertyAccessStrategy()

Implements org.hibernate.property.access.spi.PropertyAccess.getPropertyAccessStrategy.

Doc from org.hibernate.property.access.spi.PropertyAccess.getPropertyAccessStrategy.

Access to the PropertyAccessStrategy that created this instance.

Returns:PropertyAccessStrategy

The PropertyAccessStrategy

Annotations
@Override
getSetterback to summary
public @Nullable Setter getSetter()

Implements org.hibernate.property.access.spi.PropertyAccess.getSetter.

Doc from org.hibernate.property.access.spi.PropertyAccess.getSetter.

Obtain the delegate for setting values of the persistent attribute.

Returns:@Nullable Setter

The property setter

Annotations
@Override