com.github.smokestack.jpa
Class MockQLQuery

java.lang.Object
  extended by com.github.smokestack.jpa.MockBaseQuery
      extended by com.github.smokestack.jpa.MockQLQuery
All Implemented Interfaces:
Query

public class MockQLQuery
extends MockBaseQuery


Field Summary
protected  Map<String,Object> parameters
           
protected  String qlString
           
 
Fields inherited from class com.github.smokestack.jpa.MockBaseQuery
flushMode, hints, maxResult, startPosition
 
Constructor Summary
MockQLQuery(String qlString)
          Constructor
 
Method Summary
 Query _setParameter(String name, Object value)
           
 Map<String,Object> getMockParameters()
           
protected  void parseParameters()
          Parse named parameters
 Query setParameter(String name, Object value)
           
 
Methods inherited from class com.github.smokestack.jpa.MockBaseQuery
_executeUpdate, _getResultList, _getSingleResult, _getTemporalType, _setFirstResult, _setFlushMode, _setHint, _setMaxResults, _setParameter, _setParameter, _setParameter, executeUpdate, getResultList, getSingleResult, getTemporalType, getTemporalType, setFirstResult, setFlushMode, setHint, setMaxResults, setParameter, setParameter, setParameter, setParameter, setParameter, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

qlString

protected String qlString

parameters

protected Map<String,Object> parameters
Constructor Detail

MockQLQuery

public MockQLQuery(String qlString)
Constructor

Parameters:
qlString - JQL query
Method Detail

parseParameters

protected void parseParameters()
Parse named parameters


setParameter

public Query setParameter(String name,
                          Object value)
Specified by:
setParameter in interface Query
Overrides:
setParameter in class MockBaseQuery

_setParameter

public Query _setParameter(String name,
                           Object value)
Overrides:
_setParameter in class MockBaseQuery

getMockParameters

public Map<String,Object> getMockParameters()


Copyright © 2009-2010 Smokestack. All Rights Reserved.