org.objectweb.speedo.query.lib
Class QueryResultUnique
java.lang.Object
org.objectweb.speedo.query.lib.QueryResultCommon
org.objectweb.speedo.query.lib.QueryResultUnique
- public class QueryResultUnique
- extends QueryResultCommon
Manages the query result which has to be unique.
- Author:
- S.Chassande-Barrioz
Constructor Summary |
QueryResultUnique(org.objectweb.medor.tuple.api.TupleCollection _tc,
javax.jdo.PersistenceManager _pm,
java.lang.Object[] _conns,
java.lang.Class _resultClazz,
java.lang.Class[] _selectedFieldTypes,
boolean staticFirstElementIndex,
org.objectweb.util.monolog.api.Logger _logger)
Builds a QueryResultList. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryResultUnique
public QueryResultUnique(org.objectweb.medor.tuple.api.TupleCollection _tc,
javax.jdo.PersistenceManager _pm,
java.lang.Object[] _conns,
java.lang.Class _resultClazz,
java.lang.Class[] _selectedFieldTypes,
boolean staticFirstElementIndex,
org.objectweb.util.monolog.api.Logger _logger)
throws org.objectweb.medor.api.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
getResult
public java.lang.Object getResult()
throws SpeedoException
- Throws:
SpeedoException