Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 



org.eclipse.jst.jsf.common.metadata.query
Interface IResultSet

All Known Implementing Classes:
AbstractResultSet, EmptyResultSet

public interface IResultSet

Results from a metadata query. The resultset should be considered valid only at the time that the query is performed. Once "closed", the resultset should not be accessed again.

Not intended to be implemented directly by clients. Developers should extend AbstractResultSet instead.

Provisional API - subject to change


Method Summary
 void close ()
          Signal that the query results are no longer required allowing for any cleanup that may be required Once a resultset is closed, a MetaDataException should be thrown if the next() or hasNext() is called.
 java.util.List getResults ()
           
 boolean isClosed ()
           
 

Method Detail

getResults

java.util.List getResults()
                          throws 
MetaDataException
Returns:
unmodifiable List of results. May NOT be null. Implementer must return Collections.EMPTY_LIST instead.
Throws:
MetaDataException

close

void close()
           throws 
MetaDataException
Signal that the query results are no longer required allowing for any cleanup that may be required Once a resultset is closed, a MetaDataException should be thrown if the next() or hasNext() is called. Clients can check isClosed() first.

Throws:
MetaDataException

isClosed

boolean isClosed()
Returns:
true if this resultset has been closed.



 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire