org.hibernate.property
Interface PropertyAccessor

All Known Implementing Classes:
BackrefPropertyAccessor, BasicPropertyAccessor, ChainedPropertyAccessor, DirectPropertyAccessor, Dom4jAccessor, EmbeddedPropertyAccessor, IndexPropertyAccessor, MapAccessor, NoopAccessor

public interface PropertyAccessor

Abstracts the notion of a "property". Defines a strategy for accessing the value of an attribute.

Author:
Gavin King

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

Method Detail

getGetter

Getter getGetter(java.lang.Class theClass,
                 java.lang.String propertyName)
                 throws PropertyNotFoundException
Create a "getter" for the named attribute

Throws:
PropertyNotFoundException

getSetter

Setter getSetter(java.lang.Class theClass,
                 java.lang.String propertyName)
                 throws PropertyNotFoundException
Create a "setter" for the named attribute

Throws:
PropertyNotFoundException


Copyright © 2008 Hibernate.org. All Rights Reserved.