cn.org.atool.fluent.mybatis.base.entity.IRich Maven / Gradle / Ivy
package cn.org.atool.fluent.mybatis.base.entity;
import cn.org.atool.fluent.mybatis.base.RichEntity;
import cn.org.atool.fluent.mybatis.utility.RefKit;
/**
* IRich: Entity类@RefMethod方法实现定义
*
* @author wudarui
*/
public interface IRich {
/**
* Entity rich @RefMethod method方法定义接口
*
* 具体实现 {@link RichEntity#invoke(String, boolean)}
* 对应调用 {@link RefKit#invoke(Class, String, Object[])}
*
* @param method rich method方法名称
* @param cache 结果是否缓存
* @param ignore
* @return ignore
*/
T invoke(String method, boolean cache);
}