org.nakedobjects.plugins.hibernate.objectstore.persistence.hibspi.accessor
Class NakedPropertyAccessorAbstract
java.lang.Object
org.nakedobjects.plugins.hibernate.objectstore.persistence.hibspi.accessor.NakedPropertyAccessorAbstract
- All Implemented Interfaces:
- org.hibernate.property.PropertyAccessor
- Direct Known Subclasses:
- NakedPropertyAccessor, NakedPropertyNotNullAccessor
public abstract class NakedPropertyAccessorAbstract
- extends java.lang.Object
- implements org.hibernate.property.PropertyAccessor
Access properties of an object in a NakedObjects system, where that property is a BusinessValueHolder or
some other object which cannot be mapped using the standard Hibernate property accessors.
|
Method Summary |
protected PropertyConverter |
getConverter(java.lang.reflect.Method getValueHolder)
|
org.hibernate.property.Getter |
getGetter(java.lang.Class<?> theClass,
java.lang.String propertyName,
boolean isNullable)
|
org.hibernate.property.Setter |
getSetter(java.lang.Class theClass,
java.lang.String propertyName)
|
protected java.lang.reflect.Method |
getValueHolderMethod(java.lang.Class<?> theClass,
java.lang.String propertyName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.hibernate.property.PropertyAccessor |
getGetter |
NakedPropertyAccessorAbstract
public NakedPropertyAccessorAbstract()
getValueHolderMethod
protected java.lang.reflect.Method getValueHolderMethod(java.lang.Class<?> theClass,
java.lang.String propertyName)
throws org.hibernate.PropertyNotFoundException
- Throws:
org.hibernate.PropertyNotFoundException
getConverter
protected PropertyConverter getConverter(java.lang.reflect.Method getValueHolder)
getSetter
public org.hibernate.property.Setter getSetter(java.lang.Class theClass,
java.lang.String propertyName)
throws org.hibernate.PropertyNotFoundException
- Specified by:
getSetter in interface org.hibernate.property.PropertyAccessor
- Throws:
org.hibernate.PropertyNotFoundException
getGetter
public org.hibernate.property.Getter getGetter(java.lang.Class<?> theClass,
java.lang.String propertyName,
boolean isNullable)
throws org.hibernate.PropertyNotFoundException
- Throws:
org.hibernate.PropertyNotFoundException
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.