Top Fields Constructors Methods
org.hibernate.property

public Class ChainedPropertyAccessor

extends Object
implements PropertyAccessor
Class Inheritance
All Implemented Interfaces
org.hibernate.property.PropertyAccessor
Imports
org.hibernate.PropertyNotFoundException

Author
max

Field Summary

Modifier and TypeField and Description
pack-priv final PropertyAccessor[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Getter
getGetter(Class<T>
The class on which the property is defined.
theClass
,
String
The name of the property.
propertyName
)

Implements org.hibernate.property.PropertyAccessor.getGetter.

Create a "getter" for the named attribute
public Setter
getSetter(Class<T>
The class on which the property is defined.
theClass
,
String
The name of the property.
propertyName
)

Implements org.hibernate.property.PropertyAccessor.getSetter.

Create a "setter" for the named attribute
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

chainback to summary
pack-priv final PropertyAccessor[] chain

Constructor Detail

ChainedPropertyAccessorback to summary
public ChainedPropertyAccessor(PropertyAccessor[] chain)

Method Detail

getGetterback to summary
public Getter getGetter(Class<T> theClass, String propertyName) throws PropertyNotFoundException

Implements org.hibernate.property.PropertyAccessor.getGetter.

Doc from org.hibernate.property.PropertyAccessor.getGetter.

Create a "getter" for the named attribute

Parameters
theClass:Class<T>

The class on which the property is defined.

propertyName:String

The name of the property.

Returns:Getter

An appropriate getter.

Exceptions
PropertyNotFoundException:
Indicates a problem interpretting the propertyName
getSetterback to summary
public Setter getSetter(Class<T> theClass, String propertyName) throws PropertyNotFoundException

Implements org.hibernate.property.PropertyAccessor.getSetter.

Doc from org.hibernate.property.PropertyAccessor.getSetter.

Create a "setter" for the named attribute

Parameters
theClass:Class<T>

The class on which the property is defined.

propertyName:String

The name of the property.

Returns:Setter

An appropriate setter

Exceptions
PropertyNotFoundException:
Indicates a problem interpretting the propertyName