org.hibernate.property

Class ChainedPropertyAccessor

Implemented Interfaces:
PropertyAccessor

public class ChainedPropertyAccessor
extends java.lang.Object
implements PropertyAccessor

Author:
max

Constructor Summary

ChainedPropertyAccessor(PropertyAccessor[] chain)

Method Summary

Getter
getGetter(Class theClass, String propertyName)
Create a "getter" for the named attribute
Setter
getSetter(Class theClass, String propertyName)
Create a "setter" for the named attribute

Constructor Details

ChainedPropertyAccessor

public ChainedPropertyAccessor(PropertyAccessor[] chain)

Method Details

getGetter

public Getter getGetter(Class theClass,
                        String propertyName)
            throws PropertyNotFoundException
Create a "getter" for the named attribute
Specified by:
getGetter in interface PropertyAccessor

getSetter

public Setter getSetter(Class theClass,
                        String propertyName)
            throws PropertyNotFoundException
Create a "setter" for the named attribute
Specified by:
getSetter in interface PropertyAccessor