org.ujoframework.hibernateSupport
Class UjoPropertySetter

java.lang.Object
  extended by org.ujoframework.hibernateSupport.UjoPropertySetter
All Implemented Interfaces:
java.io.Serializable, org.hibernate.property.Setter

public final class UjoPropertySetter
extends java.lang.Object
implements org.hibernate.property.Setter

A support for the Hibernate framework. See the description for more information.

Author:
hampl
See Also:
Serialized Form

Constructor Summary
UjoPropertySetter(java.lang.String propertyName)
           
 
Method Summary
 java.lang.reflect.Method getMethod()
          inspired from BackrefPropertyAccessor
 java.lang.String getMethodName()
          inspired from BackrefPropertyAccessor
 void set(java.lang.Object target, java.lang.Object value, org.hibernate.engine.SessionFactoryImplementor factory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UjoPropertySetter

public UjoPropertySetter(java.lang.String propertyName)
Method Detail

set

public final void set(java.lang.Object target,
                      java.lang.Object value,
                      org.hibernate.engine.SessionFactoryImplementor factory)
               throws org.hibernate.HibernateException
Specified by:
set in interface org.hibernate.property.Setter
Parameters:
target - Value must by type of Ujo
Throws:
org.hibernate.HibernateException

getMethodName

public java.lang.String getMethodName()
inspired from BackrefPropertyAccessor

Specified by:
getMethodName in interface org.hibernate.property.Setter

getMethod

public java.lang.reflect.Method getMethod()
inspired from BackrefPropertyAccessor

Specified by:
getMethod in interface org.hibernate.property.Setter


Copyright © 2010. All Rights Reserved.