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

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


org.hibernate.bytecode.javassist
Interface FieldFilter


public interface FieldFilter

Contract for deciding whether fields should be read and/or write intercepted.

Author:
Muga Nishizawa

Method Summary
 boolean handleRead(String desc, String name)
          Should the given field be read intercepted?
 boolean handleWrite(String desc, String name)
          Should the given field be write intercepted?
 

Method Detail

handleRead

public boolean handleRead(String desc,
                          String name)
Should the given field be read intercepted?

Parameters:
desc -
name -
Returns:
true if the given field should be read intercepted; otherwise false.

handleWrite

public boolean handleWrite(String desc,
                           String name)
Should the given field be write intercepted?

Parameters:
desc -
name -
Returns:
true if the given field should be write intercepted; otherwise false.