Liferay 6.1.2-ce-ga3

com.liferay.portal.dao.orm.hibernate
Class CamelCasePropertyAccessor

java.lang.Object
  extended by org.hibernate.property.BasicPropertyAccessor
      extended by com.liferay.portal.dao.orm.hibernate.CamelCasePropertyAccessor
All Implemented Interfaces:
org.hibernate.property.PropertyAccessor

public class CamelCasePropertyAccessor
extends org.hibernate.property.BasicPropertyAccessor


Nested Class Summary
 
Nested classes/interfaces inherited from class org.hibernate.property.BasicPropertyAccessor
org.hibernate.property.BasicPropertyAccessor.BasicGetter, org.hibernate.property.BasicPropertyAccessor.BasicSetter
 
Constructor Summary
CamelCasePropertyAccessor()
           
 
Method Summary
protected  String fixPropertyName(String propertyName)
           
 org.hibernate.property.Getter getGetter(Class clazz, String propertyName)
           
 org.hibernate.property.Setter getSetter(Class clazz, 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
 

Constructor Detail

CamelCasePropertyAccessor

public CamelCasePropertyAccessor()
Method Detail

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)

Liferay 6.1.2-ce-ga3