FileDocCategorySizeDatePackage
ResultTransformer.javaAPI DocHibernate 3.2.5562Sat Feb 12 00:19:50 GMT 2005org.hibernate.transform

ResultTransformer.java

//$Id: ResultTransformer.java 5685 2005-02-12 07:19:50Z steveebersole $
package org.hibernate.transform;

import java.io.Serializable;
import java.util.List;

/**
 * Implementors define a strategy for transforming criteria query
 * results into the actual application-visible query result list.
 * @see org.hibernate.Criteria#setResultTransformer(ResultTransformer)
 * @author Gavin King
 */
public interface ResultTransformer extends Serializable {
	public Object transformTuple(Object[] tuple, String[] aliases);
	public List transformList(List collection);
}