|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jorm.lib.MultiplePNameIterator
is an implementation of the PNameIterator interface over several PClassMapping instances.
Constructor Summary | |
MultiplePNameIterator(PClassMapping[] pcms,
java.util.Iterator currentIt,
java.lang.Object connection,
boolean prefetching,
java.lang.Object txctx)
Builds a PNameIterator over an iterator and a set of PClassMapping instances. |
|
MultiplePNameIterator(PClassMapping[] pcms,
java.lang.Object connection,
boolean prefetching,
java.lang.Object txctx)
Builds a PNameIterator over a set of PClassMapping instances |
Method Summary | |
void |
close()
Close the PNameIterator is the prefetch is not activated. |
boolean |
hasNext()
|
java.lang.Object |
next()
|
void |
remove()
The remove operation is not supported |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MultiplePNameIterator(PClassMapping[] pcms, java.lang.Object connection, boolean prefetching, java.lang.Object txctx) throws PException
pcms
- is the PClassMapping listconnection
- is the connection to the data supportprefetching
- indicates if prefetching is activated
PException
- if it is not possible to fetch the first element.public MultiplePNameIterator(PClassMapping[] pcms, java.util.Iterator currentIt, java.lang.Object connection, boolean prefetching, java.lang.Object txctx) throws PException
pcms
- is the PClassMapping listcurrentIt
- is the first iterator to use which has not been obtained
through a PClassMapping given in parameter.connection
- is the connection to the data supportprefetching
- indicates if prefetching is activated
PException
- if it is not possible to fetch the first element.Method Detail |
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
public void close() throws PException
close
in interface PNameIterator
PException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |