org.hibernate.property
Interface Setter

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

public interface Setter
extends Serializable

Sets values to a particular property.

Author:
Gavin King

Method Summary
 Method getMethod()
          Optional operation (return null)
 String getMethodName()
          Optional operation (return null)
 void set(Object target, Object value, SessionFactoryImplementor factory)
          Set the property value from the given instance
 

Method Detail

set

public 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

public String getMethodName()
Optional operation (return null)


getMethod

public Method getMethod()
Optional operation (return null)