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

public Class PropertyAccessStrategyChainedImpl

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

Authors
Max Andersen, Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final PropertyAccessStrategy[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public PropertyAccess
buildPropertyAccess(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

chainback to summary
private final PropertyAccessStrategy[] chain

Constructor Detail

PropertyAccessStrategyChainedImplback to summary
public PropertyAccessStrategyChainedImpl(PropertyAccessStrategy... chain)

Method Detail

buildPropertyAccessback to summary
public PropertyAccess buildPropertyAccess(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: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