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

public Class PropertyAccessStrategyMapImpl

extends Object
implements PropertyAccessStrategy
Class Inheritance
All Implemented Interfaces
org.hibernate.property.access.spi.PropertyAccessStrategy
Imports
java.util.Map, org.hibernate.property.access.spi.PropertyAccess, .PropertyAccessStrategy, org.checkerframework.checker.nullness.qual.Nullable

Authors
Steve Ebersole, Gavin King

Field Summary

Modifier and TypeField and Description
public static final PropertyAccessStrategyMapImpl
INSTANCE

Singleton access

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public PropertyAccess
buildPropertyAccess(@Nullable Class<?>
The Java type that contains the property; may be null for non-pojo cases.
containerJavaType
,
String
The property name
propertyName
,
boolean
Whether it is an error if we are unable to find a corresponding setter
setterRequired
)

Implements org.hibernate.property.access.spi.PropertyAccessStrategy.buildPropertyAccess.

Build a PropertyAccess for the indicated property
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final PropertyAccessStrategyMapImpl INSTANCE

Singleton access

Constructor Detail

PropertyAccessStrategyMapImplback to summary
public PropertyAccessStrategyMapImpl()

Method Detail

buildPropertyAccessback to summary
public PropertyAccess buildPropertyAccess(@Nullable Class<?> containerJavaType, String propertyName, boolean setterRequired)

Implements org.hibernate.property.access.spi.PropertyAccessStrategy.buildPropertyAccess.

Doc from org.hibernate.property.access.spi.PropertyAccessStrategy.buildPropertyAccess.

Build a PropertyAccess for the indicated property

Parameters
containerJavaType:@Nullable Class<?>

The Java type that contains the property; may be null for non-pojo cases.

propertyName:String

The property name

setterRequired:boolean

Whether it is an error if we are unable to find a corresponding setter

Returns:PropertyAccess

The appropriate PropertyAccess

Annotations
@Override