Class SetterMethodImpl

  • All Implemented Interfaces:
    java.io.Serializable, Setter

    public class SetterMethodImpl
    extends java.lang.Object
    implements Setter
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SetterMethodImpl​(java.lang.Class containerClass, java.lang.String propertyName, java.lang.reflect.Method setterMethod)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.reflect.Method getMethod()
      Optional operation (may return null)
      java.lang.String getMethodName()
      Optional operation (may return null)
      void set​(java.lang.Object target, java.lang.Object value, SessionFactoryImplementor factory)
      Set the property value from the given instance
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SetterMethodImpl

        public SetterMethodImpl​(java.lang.Class containerClass,
                                java.lang.String propertyName,
                                java.lang.reflect.Method setterMethod)
    • Method Detail

      • set

        public void set​(java.lang.Object target,
                        java.lang.Object value,
                        SessionFactoryImplementor factory)
        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.
      • getMethodName

        public java.lang.String getMethodName()
        Description copied from interface: Setter
        Optional operation (may return null)
        Specified by:
        getMethodName in interface Setter
      • getMethod

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