站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

Setter (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


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)