Class QueryGenUtil.QueryAndClass

  • Enclosing class:
    QueryGenUtil

    protected static class QueryGenUtil.QueryAndClass
    extends java.lang.Object
    Class to allow returning of two arguments from a method. It sucks, but that's how it is.
    Author:
    Matthew Wakeling
    • Constructor Summary

      Constructors 
      Constructor Description
      QueryAndClass​(Query query, java.lang.Class<?> clazz)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<?> getClazz()
      Returns the class.
      Query getQuery()
      Returns the query.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • QueryAndClass

        public QueryAndClass​(Query query,
                             java.lang.Class<?> clazz)
        Constructor.
        Parameters:
        query - a Query
        clazz - a Class
    • Method Detail

      • getQuery

        public Query getQuery()
        Returns the query.
        Returns:
        a Query
      • getClazz

        public java.lang.Class<?> getClazz()
        Returns the class.
        Returns:
        a Class