org.objectweb.speedo.query.jdo
Class JDOQueryResultUnique

java.lang.Object
  extended by org.objectweb.speedo.query.jdo.JDOQueryResultCommon
      extended by org.objectweb.speedo.query.jdo.JDOQueryResultUnique

public class JDOQueryResultUnique
extends JDOQueryResultCommon

Manages the query result which has to be unique.

Author:
S.Chassande-Barrioz

Field Summary
 
Fields inherited from class org.objectweb.speedo.query.jdo.JDOQueryResultCommon
conns, debug, logger, pm, tc
 
Constructor Summary
JDOQueryResultUnique(TupleCollection _tc, PersistenceManager _pm, java.lang.Object[] _conns, java.lang.Class _resultClazz, java.lang.Class[] _selectedFieldTypes, boolean staticFirstElementIndex, boolean returnIdentifierOnly, org.objectweb.util.monolog.api.Logger _logger)
          Builds a QueryResultList.
 
Method Summary
 java.lang.Object getResult()
           
 
Methods inherited from class org.objectweb.speedo.query.jdo.JDOQueryResultCommon
close, closeConnection, getValue, pname2Object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDOQueryResultUnique

public JDOQueryResultUnique(TupleCollection _tc,
                            PersistenceManager _pm,
                            java.lang.Object[] _conns,
                            java.lang.Class _resultClazz,
                            java.lang.Class[] _selectedFieldTypes,
                            boolean staticFirstElementIndex,
                            boolean returnIdentifierOnly,
                            org.objectweb.util.monolog.api.Logger _logger)
                     throws MedorException,
                            SpeedoException
Builds a QueryResultList.

Parameters:
_tc - the tuple collection representing the query result
_pm - is the peristence manager linked to the query
_conns - is the connection to the underlying support to close in same time than the query.
_resultClazz - is the class encapsulated the result
Throws:
MedorException
SpeedoException
Method Detail

getResult

public java.lang.Object getResult()
                           throws SpeedoException
Throws:
SpeedoException