org.objectweb.speedo.query.jdo
Class JDOQueryResultUnique
java.lang.Object
org.objectweb.speedo.query.jdo.JDOQueryResultCommon
org.objectweb.speedo.query.jdo.JDOQueryResultUnique
public class JDOQueryResultUnique
- extends JDOQueryResultCommon
Manages the query result which has to be unique.
- Author:
- S.Chassande-Barrioz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
getResult
public java.lang.Object getResult()
throws SpeedoException
- Throws:
SpeedoException