Interface Setter

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    EnhancedSetterImpl, SetterFieldImpl, SetterMethodImpl

    public interface Setter
    extends java.io.Serializable
    The contract for setting a persistent property value into its container/owner
    • Method Detail

      • set

        void set​(java.lang.Object target,
                 java.lang.Object value,
                 SessionFactoryImplementor factory)
        Set the property value from the given instance
        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
      • getMethodName

        java.lang.String getMethodName()
        Optional operation (may return null)
      • getMethod

        java.lang.reflect.Method getMethod()
        Optional operation (may return null)