All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.icymint.libra.jdbc.query.Transfer Maven / Gradle / Ivy

package me.icymint.libra.jdbc.query;

import me.icymint.libra.jdbc.JdbcAccessException;

/**
 * 抽象映射。
 * 

* 必须满足条件 * *

 * query(reverse(object))==object;
 * reverse(query(object))==object;
 * 
* * @author Daniel Yu * @since 2013-3-7 * * @param * 初值。 * @param * 返回值。 */ public interface Transfer { T query(V v) throws JdbcAccessException; /** * 逆向查询,根据值返回参数。 * * @param t * @throws JdbcAccessException */ V reverse(T t) throws JdbcAccessException; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy