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
- Author:
- Brian Wing Shun Chan
| Nested classes/interfaces inherited from class org.hibernate.property.BasicPropertyAccessor |
org.hibernate.property.BasicPropertyAccessor.BasicGetter, org.hibernate.property.BasicPropertyAccessor.BasicSetter |
|
Method Summary |
protected java.lang.String |
fixPropertyName(java.lang.String propertyName)
|
org.hibernate.property.Getter |
getGetter(java.lang.Class clazz,
java.lang.String propertyName)
|
org.hibernate.property.Setter |
getSetter(java.lang.Class clazz,
java.lang.String propertyName)
|
| 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(java.lang.Class clazz,
java.lang.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(java.lang.Class clazz,
java.lang.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 java.lang.String fixPropertyName(java.lang.String propertyName)