package ws.prova.kernel;

/*
 * Copyright (C) 1999-2005 <a href="mailto:mandarax@jbdietrich.com">Jens Dietrich</a>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

import java.util.Iterator;

import org.mandarax.kernel.Result;
import org.mandarax.kernel.ResultSet;

/**
 * Implementation of a result set for ResolutionInferenceEngine2. Could be an inner class, the only
 * reason to have it as a separate class is that tool support (e.g. debugging) for separate classes is better.
 *
 * @author <A HREF="mailto:a.kozlenkov@city.ac.uk">Alex Kozlenkov</A>
 * @version 2.0 <25 March 2007>
 */

public interface ProvaResultSet extends ResultSet {
	void add(Result res);

	public int numberOfResults();

	public Exception getException();

	void setException(Exception ex);
	
	Iterator iterator();
}
