com.jpattern.orm.generator.wrapper.IWrapper Maven / Gradle / Ivy
package com.jpattern.orm.generator.wrapper;
/**
*
* A wrapper to a specific type. This is needed to convert a value returned by the ResultSet
* to a desired type.
* T is the class of the desired type.
* R is the class of the object returned by the result set.
*
* @author Francesco Cina'
*
* Mar 27, 2012
*/
public interface IWrapper {
Class resultSetTypeToUse();
T wrap(R value);
R unWrap(T value);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy