Interface Setter

All Superinterfaces:
Serializable
All Known Implementing Classes:
BackrefPropertyAccessor.BackrefSetter, BasicPropertyAccessor.BasicSetter, DirectPropertyAccessor.DirectSetter, Dom4jAccessor.AttributeSetter, Dom4jAccessor.Dom4jSetter, Dom4jAccessor.ElementAttributeSetter, Dom4jAccessor.ElementSetter, Dom4jAccessor.TextSetter, EmbeddedPropertyAccessor.EmbeddedSetter, IndexPropertyAccessor.IndexSetter, MapAccessor.MapSetter

public interface Setter extends Serializable
Sets values to a particular property.
  • Method Details

    • set

      void set(Object target, Object value, SessionFactoryImplementor factory) throws HibernateException
      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

      String getMethodName()
      Optional operation (return null)
    • getMethod

      Method getMethod()
      Optional operation (return null)