Class SetterMethodImpl

java.lang.Object
org.hibernate.property.access.spi.SetterMethodImpl
All Implemented Interfaces:
Serializable, Setter
Direct Known Subclasses:
EnhancedSetterMethodImpl

@Internal public class SetterMethodImpl extends Object implements Setter
See Also:
  • Constructor Details

    • SetterMethodImpl

      public SetterMethodImpl(Class<?> containerClass, String propertyName, Method setterMethod)
  • Method Details

    • set

      public void set(Object target, @Nullable Object value)
      Description copied from interface: Setter
      Set the property value on the given target instance.
      Specified by:
      set in interface Setter
      Parameters:
      target - The instance containing the property value to be set.
      value - The value to be set.
    • getContainerClass

      public Class<?> getContainerClass()
    • getMethodName

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

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