站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

PropertyAccessor (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.property
Interface PropertyAccessor

All Known Implementing Classes:
BasicPropertyAccessor, DirectPropertyAccessor

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(Class theClass, String propertyName)
          Create a "getter" for the named attribute
 Setter getSetter(Class theClass, String propertyName)
          Create a "setter" for the named attribute
 

Method Detail

getGetter

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

Throws:
PropertyNotFoundException

getSetter

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

Throws:
PropertyNotFoundException