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

com.jpattern.orm.generator.wrapper.IWrapper Maven / Gradle / Ivy

There is a newer version: 3.5.1
Show newest version
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