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
Class AbstractResultSet

java.lang.Object
  extended by 
org.eclipse.jst.jsf.common.metadata.query.AbstractResultSet
All Implemented Interfaces:
IResultSet

public abstract class AbstractResultSet
extends java.lang.Object
implements IResultSet

Abstract implementation of IResultSet that developers may subclass. Users should assume that the results are only valid at the time of the query. This may change in the future.

Provisional API - subject to change


Constructor Summary
AbstractResultSet ()
           
 
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 ()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractResultSet

public AbstractResultSet()
Method Detail

getResults

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

close

public final void close()
                 throws 
MetaDataException
Description copied from interface: IResultSet
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.

Specified by:
close in interface IResultSet
Throws:
MetaDataException

isClosed

public final boolean isClosed()
Specified by:
isClosed in interface IResultSet
Returns:
true if this resultset has been closed.



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