|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.speedo.query.lib.QueryResultCollection
is the result of a JDO query. The result is exported as a java.util.Collection of persistent instances. This implementation supports to have a single Iterator.
Constructor Summary | |
QueryResultCollection(TupleCollection tc,
PersistenceManager pm,
java.lang.Object[] conns,
boolean fixablePNIndex,
Logger logger)
|
Method Summary | |
boolean |
add(java.lang.Object o)
Ensures that this collection contains the specified element (optional operation). |
boolean |
addAll(java.util.Collection c)
Adds all of the elements in the specified collection to this collection (optional operation). |
void |
clear()
Removes all of the elements from this collection (optional operation). |
void |
close()
Close the connection to the data store. |
boolean |
contains(java.lang.Object o)
Returns true if this collection contains the specified element. |
boolean |
containsAll(java.util.Collection c)
Returns true if this collection contains all of the elements in the specified collection. |
boolean |
equals(java.lang.Object o)
Compares the specified object with this collection for equality. |
int |
hashCode()
Returns the hash code value for this collection. |
boolean |
isEmpty()
Returns true if this collection contains no elements. |
java.util.Iterator |
iterator()
Returns an iterator over the elements in this collection. |
boolean |
remove(java.lang.Object o)
Removes a single instance of the specified element from this collection, if it is present (optional operation). |
boolean |
removeAll(java.util.Collection c)
Removes all this collection's elements that are also contained in the specified collection (optional operation). |
boolean |
retainAll(java.util.Collection c)
Retains only the elements in this collection that are contained in the specified collection (optional operation). |
int |
size()
Returns the number of elements in this collection. |
java.lang.Object[] |
toArray()
Returns an array containing all of the elements in this collection. |
java.lang.Object[] |
toArray(java.lang.Object[] a)
Returns an array containing all of the elements in this collection whose runtime type is that of the specified array. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QueryResultCollection(TupleCollection tc, PersistenceManager pm, java.lang.Object[] conns, boolean fixablePNIndex, Logger logger) throws MedorException
Method Detail |
public void close()
public boolean add(java.lang.Object o)
add
in interface java.util.Collection
public boolean addAll(java.util.Collection c)
addAll
in interface java.util.Collection
public void clear()
clear
in interface java.util.Collection
public boolean contains(java.lang.Object o)
contains
in interface java.util.Collection
public boolean containsAll(java.util.Collection c)
containsAll
in interface java.util.Collection
public boolean equals(java.lang.Object o)
equals
in interface java.util.Collection
public int hashCode()
hashCode
in interface java.util.Collection
public boolean isEmpty()
isEmpty
in interface java.util.Collection
public java.util.Iterator iterator()
iterator
in interface java.util.Collection
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection
public boolean removeAll(java.util.Collection c)
removeAll
in interface java.util.Collection
public boolean retainAll(java.util.Collection c)
retainAll
in interface java.util.Collection
public int size()
size
in interface java.util.Collection
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection
public java.lang.Object[] toArray(java.lang.Object[] a)
toArray
in interface java.util.Collection
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |