FileDocCategorySizeDatePackage
ReturnMetadata.javaAPI DocHibernate 3.2.5577Fri Nov 04 14:28:50 GMT 2005org.hibernate.engine.query

ReturnMetadata.java

package org.hibernate.engine.query;

import org.hibernate.type.Type;

import java.io.Serializable;

/**
 * @author <a href="mailto:steve@hibernate.org">Steve Ebersole </a>
 */
public class ReturnMetadata implements Serializable {
	private final String[] returnAliases;
	private final Type[] returnTypes;

	public ReturnMetadata(String[] returnAliases, Type[] returnTypes) {
		this.returnAliases = returnAliases;
		this.returnTypes = returnTypes;
	}

	public String[] getReturnAliases() {
		return returnAliases;
	}

	public Type[] getReturnTypes() {
		return returnTypes;
	}
}