org.exolab.castor.jdo.engine

Class OQLQueryImpl.OQLEnumeration

Enclosing Class:
OQLQueryImpl
Implemented Interfaces:
Enumeration, QueryResults

(package private) class OQLQueryImpl.OQLEnumeration
extends java.lang.Object
implements QueryResults, Enumeration

Constructor Summary

OQLEnumeration(QueryResults results)
OQLEnumeration(QueryResults results, Vector pathInfo, JDOClassDescriptor clsDesc)

Method Summary

boolean
absolute(int row)
void
close()
boolean
hasMore()
boolean
hasMore(boolean skipError)
boolean
hasMoreElements()
Object
next()
Object
nextElement()
int
size()

Constructor Details

OQLEnumeration

(package private)  OQLEnumeration(QueryResults results)

OQLEnumeration

(package private)  OQLEnumeration(QueryResults results,
                                  Vector pathInfo,
                                  JDOClassDescriptor clsDesc)

Method Details

absolute

public boolean absolute(int row)
            throws PersistenceException
Specified by:
absolute in interface QueryResults

close

public void close()
Specified by:
close in interface QueryResults

hasMore

public boolean hasMore()
            throws PersistenceException
Specified by:
hasMore in interface QueryResults

hasMore

public boolean hasMore(boolean skipError)
            throws PersistenceException

hasMoreElements

public boolean hasMoreElements()

next

public Object next()
            throws PersistenceException,
                   NoSuchElementException
Specified by:
next in interface QueryResults

nextElement

public Object nextElement()
            throws NoSuchElementException

size

public int size()
            throws PersistenceException
Specified by:
size in interface QueryResults

Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com