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

public Class PropertyAccessStrategyBasicImpl

extends Object
implements PropertyAccessStrategy
Class Inheritance
All Implemented Interfaces
org.hibernate.property.access.spi.PropertyAccessStrategy
Imports
org.hibernate.property.access.spi.PropertyAccess, .PropertyAccessStrategy

Defines a strategy for accessing property values via a get/set pair, which may be nonpublic. This is the default (and recommended) strategy.
Authors
Steve Ebersole, Gavin King

Field Summary

Modifier and TypeField and Description
public static final PropertyAccessStrategyBasicImpl
INSTANCE

Singleton access

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public PropertyAccess
buildPropertyAccess(Class<T>
The Java type that contains the property; may be null for non-pojo cases.
containerJavaType
,
final String
The property name
propertyName
)

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 PropertyAccessStrategyBasicImpl INSTANCE

Singleton access

Constructor Detail

PropertyAccessStrategyBasicImplback to summary
public PropertyAccessStrategyBasicImpl()

Method Detail

buildPropertyAccessback to summary
public PropertyAccess buildPropertyAccess(Class<T> containerJavaType, final String propertyName)

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:Class<T>

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

propertyName:String

The property name

Returns:PropertyAccess

The appropriate PropertyAccess

Annotations
@Override