com.github.smokestack.jpa
Class MockQLQuery
java.lang.Object
com.github.smokestack.jpa.MockBaseQuery
com.github.smokestack.jpa.MockQLQuery
- All Implemented Interfaces:
- Query
public class MockQLQuery
- extends MockBaseQuery
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 |
qlString
protected String qlString
parameters
protected Map<String,Object> parameters
MockQLQuery
public MockQLQuery(String qlString)
- Constructor
- Parameters:
qlString
- JQL query
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.