Class DefaultSortQueryData

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getQuery()
      Get the sort query to be applied.
      java.lang.String getSortCode()
      Get the sort code associated to the sort query to be applied.
      java.lang.Class<? extends Dao> getTypeClass()
      Get the typeClass identifying the SortQueryData
      boolean isDefault()
      Determines if the sort query data is the default one or not.
      void setDefault​(boolean isDefault)  
      void setQuery​(java.lang.String query)  
      void setSortCode​(java.lang.String sortCode)  
      void setTypeClass​(java.lang.Class<? extends Dao> typeClass)  
      • Methods inherited from class java.lang.Object

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

      • DefaultSortQueryData

        public DefaultSortQueryData()
    • Method Detail

      • getTypeClass

        public java.lang.Class<? extends Dao> getTypeClass()
        Description copied from interface: SortQueryData
        Get the typeClass identifying the SortQueryData
        Specified by:
        getTypeClass in interface SortQueryData
      • getSortCode

        public java.lang.String getSortCode()
        Description copied from interface: SortQueryData
        Get the sort code associated to the sort query to be applied.
        Specified by:
        getSortCode in interface SortQueryData
      • getQuery

        public java.lang.String getQuery()
        Description copied from interface: SortQueryData
        Get the sort query to be applied.
        Specified by:
        getQuery in interface SortQueryData
      • isDefault

        public boolean isDefault()
        Description copied from interface: SortQueryData
        Determines if the sort query data is the default one or not.
        Specified by:
        isDefault in interface SortQueryData
      • setTypeClass

        public void setTypeClass​(java.lang.Class<? extends Dao> typeClass)
      • setSortCode

        public void setSortCode​(java.lang.String sortCode)
      • setQuery

        public void setQuery​(java.lang.String query)
      • setDefault

        public void setDefault​(boolean isDefault)