Skip to main content
summaryrefslogtreecommitdiffstats
blob: 4acc2d6df3305a402cf540906a6af06b63069681 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*******************************************************************************
 * Copyright (c) 2007 Oracle Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Oracle - initial API and implementation
 *    
 ********************************************************************************/
package org.eclipse.jst.jsf.common.metadata.internal.provisional.query;

import java.util.List;


/**
 * Results from a metadata query.
 * 
 * Not intended to be implemented directly by clients.  Developers may extend {@link AbstractResultSet} instead.
 */
public interface IResultSet/*<T>*/{
	
	/**
	 * @return List of results.  May NOT be null.  Implementer must return Collections.EMPTY_LIST instead.
	 */
	public List/*<T>*/ getResults();
	
	/**
	 * Signal that the query results are no longer required allowing for any cleanup that may be required
     * API: event to signal that result set is no longer valid?
	 */
	public void close();
}

Back to the top