com.liferay.portal.dao.orm.hibernate
Class CamelCasePropertyAccessor
java.lang.Object
org.hibernate.property.BasicPropertyAccessor
com.liferay.portal.dao.orm.hibernate.CamelCasePropertyAccessor
- All Implemented Interfaces:
- org.hibernate.property.PropertyAccessor
public class CamelCasePropertyAccessor
- extends org.hibernate.property.BasicPropertyAccessor
Nested classes/interfaces inherited from class org.hibernate.property.BasicPropertyAccessor |
org.hibernate.property.BasicPropertyAccessor.BasicGetter, org.hibernate.property.BasicPropertyAccessor.BasicSetter |
Methods inherited from class org.hibernate.property.BasicPropertyAccessor |
createGetter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CamelCasePropertyAccessor
public CamelCasePropertyAccessor()
getGetter
public org.hibernate.property.Getter getGetter(Class clazz,
String propertyName)
throws org.hibernate.PropertyNotFoundException
- Specified by:
getGetter
in interface org.hibernate.property.PropertyAccessor
- Overrides:
getGetter
in class org.hibernate.property.BasicPropertyAccessor
- Throws:
org.hibernate.PropertyNotFoundException
getSetter
public org.hibernate.property.Setter getSetter(Class clazz,
String propertyName)
throws org.hibernate.PropertyNotFoundException
- Specified by:
getSetter
in interface org.hibernate.property.PropertyAccessor
- Overrides:
getSetter
in class org.hibernate.property.BasicPropertyAccessor
- Throws:
org.hibernate.PropertyNotFoundException
fixPropertyName
protected String fixPropertyName(String propertyName)