org.hibernate.property
Class BasicPropertyAccessor
java.lang.Object
org.hibernate.property.BasicPropertyAccessor
- All Implemented Interfaces:
- PropertyAccessor
public class BasicPropertyAccessor
- extends Object
- implements PropertyAccessor
Accesses property values via a get/set pair, which may be nonpublic.
The default (and recommended strategy).
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicPropertyAccessor
public BasicPropertyAccessor()
getSetter
public Setter getSetter(Class theClass,
String propertyName)
throws PropertyNotFoundException
- Description copied from interface:
PropertyAccessor
- Create a "setter" for the named attribute
- Specified by:
getSetter
in interface PropertyAccessor
- Throws:
PropertyNotFoundException
getGetter
public Getter getGetter(Class theClass,
String propertyName)
throws PropertyNotFoundException
- Description copied from interface:
PropertyAccessor
- Create a "getter" for the named attribute
- Specified by:
getGetter
in interface PropertyAccessor
- Throws:
PropertyNotFoundException
createGetter
public static Getter createGetter(Class theClass,
String propertyName)
throws PropertyNotFoundException
- Throws:
PropertyNotFoundException