Class SetterFieldImpl

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

@Internal public class SetterFieldImpl extends Object implements Setter
Field-based implementation of Setter
See Also:
  • Constructor Details

    • SetterFieldImpl

      public SetterFieldImpl(Class<?> containerClass, String propertyName, Field field)
  • Method Details

    • getContainerClass

      public Class<?> getContainerClass()
    • getPropertyName

      public String getPropertyName()
    • getField

      public Field getField()
    • set

      public void set(Object target, @Nullable Object value)
      Specified by:
      set in interface Setter
    • getMethodName

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

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