org.hibernate.property
Class DirectPropertyAccessor.DirectSetter

java.lang.Object
  extended by org.hibernate.property.DirectPropertyAccessor.DirectSetter
All Implemented Interfaces:
java.io.Serializable, Setter
Enclosing class:
DirectPropertyAccessor

public static final class DirectPropertyAccessor.DirectSetter
extends java.lang.Object
implements Setter

See Also:
Serialized Form

Method Summary
 java.lang.reflect.Method getMethod()
          Optional operation (return null)
 java.lang.String getMethodName()
          Optional operation (return null)
 void set(java.lang.Object target, java.lang.Object value, SessionFactoryImplementor factory)
          Set the property value from the given instance
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getMethod

public java.lang.reflect.Method getMethod()
Description copied from interface: Setter
Optional operation (return null)

Specified by:
getMethod in interface Setter

getMethodName

public java.lang.String getMethodName()
Description copied from interface: Setter
Optional operation (return null)

Specified by:
getMethodName in interface Setter

set

public void set(java.lang.Object target,
                java.lang.Object value,
                SessionFactoryImplementor factory)
         throws HibernateException
Description copied from interface: Setter
Set the property value from the given instance

Specified by:
set in interface Setter
Parameters:
target - The instance upon which to set the given value.
value - The value to be set on the target.
factory - The session factory from which this request originated.
Throws:
HibernateException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008 Hibernate.org. All Rights Reserved.